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
Post a Comment