add exit terminal insert mode mapping
This commit is contained in:
		
							parent
							
								
									f9929579bb
								
							
						
					
					
						commit
						487c190bac
					
				
							
								
								
									
										3
									
								
								init.vim
								
								
								
								
							
							
						
						
									
										3
									
								
								init.vim
								
								
								
								
							| 
						 | 
				
			
			@ -321,8 +321,9 @@ nnoremap <silent> <space>rc :so $MYVIMRC<CR>
 | 
			
		|||
nnoremap <silent><expr> <space>nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n"
 | 
			
		||||
" Focus on current fold, close the rest
 | 
			
		||||
nnoremap <silent> <space>zz zMzvzt
 | 
			
		||||
" exit from terminal insert mode with escape
 | 
			
		||||
tnoremap <Esc> <C-\><C-n>
 | 
			
		||||
" open quickfix window of TODOs
 | 
			
		||||
" FIXME i want fixme!!!
 | 
			
		||||
nnoremap <space>td :grep -RE '(TODO\\|FIXME)' .<CR>:botright cwindow<CR>:echo len(getqflist()) 'TODOs'<CR>
 | 
			
		||||
" sync highlighting from start
 | 
			
		||||
nnoremap <silent><space>ss :syntax sync fromstart<CR>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue