diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-03-31 17:56:58 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-03-31 17:56:58 +0300 |
commit | ec5661417755fd13f9a0d163349c14effbd32a9d (patch) | |
tree | c98008c1a3f33fe0cffd2d0624c294241b0e0e46 /nvim | |
parent | 58d432c95cc35a0781d5b8273d87bc1f8791faeb (diff) | |
download | dotfiles-ec5661417755fd13f9a0d163349c14effbd32a9d.tar.gz |
feat(nvim): add built-in terminal config
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 8f8b8b1..01605fe 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -66,6 +66,10 @@ autocmd BufWritePre * %s/\s\+$//e nnoremap <leader>ev :vs $MYVIMRC<CR> nnoremap <leader>sv :source $MYVIMRC<CR> +" Built-in terminal +autocmd TermOpen * setlocal nonumber | setlocal norelativenumber | startinsert +tnoremap <Esc> <C-\><C-n> + " Load plugins set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath |