Re: text editors
On 29.03.19 17:26, Erik Christiansen wrote:
> " Toggle relative line numbering.
> function! NList_toggle()
> if &rnu == 1
> set nornu " For absolute, elide the 'r'.
> set rnu " For absolute, elide the 'r'.
Apologies. There's almost always something omitted when pasting from
elsewhere. Let's include the connection to the F1 key:
noremap <F1> :call NList_toggle()
A more meaningful function name would be better, too.
(but important here is only the connection, and the toggling, for the