Browse Source

Added vim global keyboard command.

master
Daniel Sissom 7 months ago
parent
commit
1c2ed2963f
Signed by: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 3 additions and 0 deletions
  1. + 3
    - 0
      vim/vimrc

+ 3
- 0
vim/vimrc

@ -135,6 +135,9 @@ nnoremap :nohlsearch
nnoremap <silent> <C-l> :GitGutter<CR>:nohlsearch<CR><C-l> nnoremap <silent> <C-l> :GitGutter<CR>:nohlsearch<CR><C-l>
nnoremap <silent> <CR> :nohlsearch<CR><CR> nnoremap <silent> <CR> :nohlsearch<CR><CR>
" Yank to global clipboard
noremap Y "+y
" Center page on search (breaks 'search hit bottom...' message) " Center page on search (breaks 'search hit bottom...' message)
"noremap n nzz "noremap n nzz
"noremap N Nzz "noremap N Nzz

Loading…
Cancel
Save