summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 77ea9fa8..32d3caab 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -14,10 +14,13 @@ set number colorcolumn=80,100
 set list listchars=tab:»·,trail:·
 
 nmap <leader><leader> :nohlsearch<CR>
+tmap <Esc><Esc> <C-\><C-n>
+tmap <C-w><C-w> <C-\><C-n><C-w><C-w>
 command! W w
 
 colorscheme trivial
 
+autocmd BufEnter term://* startinsert
 autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm
 autocmd FileType sh,zsh,ruby setlocal shiftwidth=2