summary refs log tree commit diff
path: root/curtis/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'curtis/.config/nvim')
-rw-r--r--curtis/.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim
index 77ea9fa8..32d3caab 100644
--- a/curtis/.config/nvim/init.vim
+++ b/curtis/.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