> In your first attempt, should be . See :help key-notation.
Thank you!
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this
Le mardi 8 novembre 2016 06:03:29 UTC+1, skeept a écrit :
> I tried the following mapping for searching for the current line:
>
> nnoremap gsl /=getline('.')
>
> unfortunately this actually searchs for the string I give it literally.
>
> So I defined instead the mapping
>
> nnoremap gsl
I tried the following mapping for searching for the current line:
nnoremap gsl /=getline('.')
unfortunately this actually searchs for the string I give it literally.
So I defined instead the mapping
nnoremap gsl /^R=getline('.')^M
where ^R is obtained with typing ctrl-v followed by ctrl-r and