Hello, everybody!

Now  for map shortcut for example for :ls in 3 modes I need to add 3
lines to my ~/.vimrc:

" F5 - show buffers
nmap <F5> :ls<cr>:b
imap <F5> <esc>:ls<cr>:b
vmap <F5> <esc>:ls<cr>:b

How can I do this in one line?

"map! <F5> <esc>:ls<cr>:b" is not works in normal mode :(
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to