vim plugin - Using repeat.vim for keymapping -


i'm trying set custom keymapping debug-stepping gdb , pyclewn, this:

nnoremap <leader>ds :cstep<cr> 

now when pressing . i'd repeated, since stepping i'm going often. found repeat.vim , a helpful answer, tried this:

nnoremap <silent> <plug>ccstep :cstep <bar> silent! call repeat#set("\<plug>ccstep", v:count)<cr> nmap <leader>ds <plug>ccstep 

i tried using :cstep<cr>:silent [...] instead of :cstep <bar> silent seperate 2 commands.

both variants don't seem work. either blinking screen (bell) when pressing . or random happens, chars getting deleted.

what doing wrong?


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -