From bcc063da86b7851b678f7980b1c7ffc3c8250d2f Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Fri, 23 Nov 2018 09:41:13 -0500 Subject: [PATCH] Add mapping for term mode --- init.vim | 2 +- mapping.vim | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index c4f876d..17bd512 100644 --- a/init.vim +++ b/init.vim @@ -86,9 +86,9 @@ set pastetoggle= 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 diff --git a/mapping.vim b/mapping.vim index 4686338..7aff7db 100644 --- a/mapping.vim +++ b/mapping.vim @@ -9,3 +9,5 @@ nmap :TagbarToggle nmap :NERDTreeToggle " open tree to current buffer nmap :NERDTreeFind +" use same key, esc, to exit terminal mode +tnoremap