added screenshot shortcut and tweaked some keys

main
Simon Kellet 3 years ago
parent 87acbb7f71
commit dd7014a753
  1. 8
      nvim/init.vim

@ -112,11 +112,13 @@ nnoremap <A-l> <C-w>l
nnoremap <A-J> :tabp<CR>
nnoremap <A-K> :tabn<CR>
" Basic cmd commanous
" Basic cmd commands
nnoremap <A-o> :!touch<Space>
nnoremap <A-e> :tabe<Space>
nnoremap <A-d> :!mdkir<Space>
nnoremap <A-m> :!mv<Space>%<Space>
nnoremap <A-v> :vsplit<Space>
" Screenshot command
nnoremap <silent> <leader>s :!bash /home/simon/.scripts/vscrnpaste<CR><CR>
" Indents
vmap < <gv

Loading…
Cancel
Save