~alexdavid/dotfiles

a3e7cc38d443899ae3934e9f96059d7006a0ae7e — Alex David 7 months ago 3c86a41
Make <leader>q support line-based macro running
1 files changed, 2 insertions(+), 1 deletions(-)

M nvim/shortcuts.vim
M nvim/shortcuts.vim => nvim/shortcuts.vim +2 -1
@@ 119,7 119,8 @@ map <silent> <leader><space> :noh<CR>:match<CR>
nmap <silent> mm mm:execute 'match Search /\%'.line('.').'l/'<CR>

" Run q macro
map <silent> <leader>q @q
nmap <silent> <leader>q @q
vmap <silent> <leader>q :norm! @q<CR>

" Use vim keybindings when running a command
nmap <silent> <leader>; q:i