Skip to content

Commit

Permalink
feat(vim): update keymaps (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillmorozov authored Apr 19, 2024
1 parent cb550cf commit 6f6d633
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,14 @@ autocmd FileType yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab
map <leader>P "+P
map <leader>p "+p
nmap <leader>/ :grep<Space>
nmap <C-H> <c-w>h
nmap <C-J> <c-w>j
nmap <C-K> <c-w>k
nmap <C-L> <c-w>l
nmap <leader>w <c-w>
nnoremap <leader>b :buffer<Space>
nnoremap <leader>f :find<Space>
nnoremap <leader>h :help<Space>
nnoremap N Nzz
nnoremap n nzz
noremap <C-S> :update<CR>
Expand Down

0 comments on commit 6f6d633

Please sign in to comment.