Add mapping for term mode

This commit is contained in:
Thomas Gideon 2018-11-23 09:41:13 -05:00
parent 7d4044a6a7
commit bcc063da86
2 changed files with 3 additions and 1 deletions

View file

@ -86,9 +86,9 @@ set pastetoggle=<F2>
au FocusLost * :wa au FocusLost * :wa
" make sure to set TERM to xterm-256color in terminal program or app " make sure to set TERM to xterm-256color in terminal program or app
colorscheme breezy
set background=light set background=light
set termguicolors set termguicolors
colorscheme breezy
" ensure autoread works, to detect file changes outside the editor " ensure autoread works, to detect file changes outside the editor
set autoread set autoread

View file

@ -9,3 +9,5 @@ nmap <F9> :TagbarToggle<CR>
nmap <F8> :NERDTreeToggle<CR> nmap <F8> :NERDTreeToggle<CR>
" open tree to current buffer " open tree to current buffer
nmap <S-F8> :NERDTreeFind<CR> nmap <S-F8> :NERDTreeFind<CR>
" use same key, esc, to exit terminal mode
tnoremap <Esc> <C-\><C-n>