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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -