diff options
author | June McEnroe <june@causal.agency> | 2017-07-04 15:40:03 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-07-04 15:40:03 -0400 |
commit | 20ac45ba6c1cf3da7e4708b972b3fb968940dd6b (patch) | |
tree | a2c7bd5b4ae7ad51d6a3ddf70e98fc65558eace2 /home | |
parent | Add color to xx (diff) | |
download | src-20ac45ba6c1cf3da7e4708b972b3fb968940dd6b.tar.gz src-20ac45ba6c1cf3da7e4708b972b3fb968940dd6b.zip |
Add nvim terminal mappings
Diffstat (limited to 'home')
-rw-r--r-- | home/.config/nvim/init.vim | 3 |
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 |