summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-04 15:40:03 -0400
committerJune McEnroe <june@causal.agency>2017-07-04 15:40:03 -0400
commit20ac45ba6c1cf3da7e4708b972b3fb968940dd6b (patch)
treea2c7bd5b4ae7ad51d6a3ddf70e98fc65558eace2 /home
parentAdd color to xx (diff)
downloadsrc-20ac45ba6c1cf3da7e4708b972b3fb968940dd6b.tar.gz
src-20ac45ba6c1cf3da7e4708b972b3fb968940dd6b.zip
Add nvim terminal mappings
Diffstat (limited to 'home')
-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