Monday, September 21, 2015

I have forgotten what these fns assigned to F keys are for . .

People,

I have these in my .vimrc file:

nnoremap <F9> :let @/=escape(getline('.')[col('.')-1], '.~\\')<cr>
nnoremap <F10> :let @/.=escape(getline('.')[col('.')-1], '.~\\')<cr>

I didn't get very far doing a lot of Googling, but from experimenting
with them I found F9 puts the current character under the cursor into
the "/" register but F10 opens the file menu on my xfce4-term ! What
is:

'.~\\'

supposed to do?

Thanks (I am putting comments into my .vimrc file as I write this . . ),

Phil.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

--
--
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 message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: