Re: [code] Change back the selection background color to normal after copying the caret line

From: Mitchell <>
Date: Sun, 21 Aug 2016 15:17:15 -0400 (EDT)

Hi Alireza,

On Sun, 21 Aug 2016, Alireza Bashiri wrote:

> I did pretty much every mapping in Vim but I figure out how to use
> set_sel_back or others after copying a line; for example; ['y'] =
> function() buffer.copy; set_selection_color_back end

I'm not sure exactly what you're trying to do, but your Lua syntax is
incorrect. Perhaps you meant something like:

   keys['y'] = function()
     buffer:set_sel_back(true, 0xBBGGRR)


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 21 Aug 2016 - 15:17:15 EDT

This archive was generated by hypermail 2.2.0 : Mon 22 Aug 2016 - 06:49:17 EDT