Fixed a problem with <Esc> and added function for NERDTree
This commit is contained in:
		
							
								
								
									
										3
									
								
								init.vim
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								init.vim
									
									
									
									
									
								
							| @@ -28,6 +28,7 @@ let g:airline#extensions#whitespace#enabled = 0 | ||||
|  | ||||
| " NERDTree | ||||
| let NERDTreeChDirMode = 2 | ||||
| let NERDTreeQuitOnOpen = 1 | ||||
|  | ||||
| " Custom key bindings general | ||||
| nmap <leader>n :NERDTreeToggle <CR> | ||||
| @@ -36,7 +37,7 @@ map <leader>u :MundoToggle <CR> | ||||
| nnoremap <leader>l <C-w>l | ||||
|  | ||||
| tnoremap <Esc> <C-\><C-n> | ||||
| map <Esc> <Esc>:noh <CR>  | ||||
| noremap <Esc> <Esc>:noh <CR>  | ||||
|  | ||||
| nnoremap <F4> :call vimterm#toggle() <CR> | ||||
| tnoremap <F4> <C-\><C-n>:call vimterm#toggle() <CR> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user