add term commands

main
Simon Kellet 3 years ago
parent 02b0adedf0
commit c878a09440
  1. 5
      nvim/init.vim

@ -120,6 +120,11 @@ nnoremap <A-v> :vsplit<Space>
" Screenshot command " Screenshot command
nnoremap <silent> <leader>s :!bash /home/simon/.scripts/vscrnpaste<CR><CR> nnoremap <silent> <leader>s :!bash /home/simon/.scripts/vscrnpaste<CR><CR>
" Terminal Maps
tnoremap <Esc> <C-\><C-n>
nnoremap <leader>t :tabedit term://bash<CR>
autocmd BufEnter * silent! lcd %:p:h
" Indents " Indents
vmap < <gv vmap < <gv
vmap > >gv vmap > >gv

Loading…
Cancel
Save