Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nnoremap]

The tag has no usage guidance.

0
votes
1answer
394 views

Remap any key to F5 in Vim

I am trying to remap a key (I do not matter which) to F5 key because my physical keyboard hasn't got F1 - F12 keys. How can I do it? I have tried to use nnoremap but I am doing something wrong. I ...
1
vote
1answer
275 views

Mapping from .vimrc does not apply

In my vimrc, I mapped nnoremap <tab> >> and nnoremap <s-tab> <<. The second mapping works fine, the first one however seems to be forgotten. If I map it manually when in Vim, ...
1
vote
1answer
127 views

vim todolist without clear screen

I use TODO word in a comment as todolist item " TODO this is a todolist item and I show the items with nn <silent><leader>tl :grep --exclude=*~ TODO % <CR> :copen <CR> ...
1
vote
1answer
884 views

nnoremap with vnoremap

with vim, I use object indent. and frequently I use this vii:!sort for sort a block with same indent. I try set this nnoremap nn <leader>ss vii:!sort<cr> but don't work, any ...
2
votes
2answers
416 views

vim go to the end of jumplist

in vim, with :jumps I see the jumplist, with G I go to the end of jumplist. How I can go the end of list with a map ? I think in some like this nn <leader>j :jumps<CR>G but this, ...
1
vote
1answer
289 views

<m-down> in vim

In OSX Lion, in vim, I try use this nnoremap. nnoremap <m-Down> :cnext<cr>zvzz nnoremap <m-Up> :cprevious<cr>zvzz vimrc from sjl I added the nnoremap to ~/.vimrc, but when I ...