nvchad/neovim_vimscriptonly/nvim/confs/keybinds.vim
2021-03-09 12:59:50 +05:30

20 lines
342 B
VimL

" new tab and switching between em
nnoremap <c-e> : tabnew<CR>
nnoremap <c-w> : tabp <CR>
nnoremap <c-u> : tabn <CR>
"nnoremap <silent> <C-m> :%!astyle<CR>
nnoremap <silent> <C-a> :%y+<CR>
map <C-k> <C-w>k
map <C-j> <C-w>j
map <C-l> <C-w>l
map <C-h> <C-w>h
nnoremap ,<space> :Neoformat <CR>
nnoremap .<space> :w <CR>
inoremap kk <ESC>