Add mapping for term mode
This commit is contained in:
parent
7d4044a6a7
commit
bcc063da86
2 changed files with 3 additions and 1 deletions
2
init.vim
2
init.vim
|
@ -86,9 +86,9 @@ set pastetoggle=<F2>
|
|||
au FocusLost * :wa
|
||||
|
||||
" make sure to set TERM to xterm-256color in terminal program or app
|
||||
colorscheme breezy
|
||||
set background=light
|
||||
set termguicolors
|
||||
colorscheme breezy
|
||||
|
||||
" ensure autoread works, to detect file changes outside the editor
|
||||
set autoread
|
||||
|
|
|
@ -9,3 +9,5 @@ nmap <F9> :TagbarToggle<CR>
|
|||
nmap <F8> :NERDTreeToggle<CR>
|
||||
" open tree to current buffer
|
||||
nmap <S-F8> :NERDTreeFind<CR>
|
||||
" use same key, esc, to exit terminal mode
|
||||
tnoremap <Esc> <C-\><C-n>
|
||||
|
|
Loading…
Reference in a new issue