undo center on insert
This commit is contained in:
		
							parent
							
								
									94051bca28
								
							
						
					
					
						commit
						96bc2b0b98
					
				
							
								
								
									
										6
									
								
								init.vim
								
								
								
								
							
							
						
						
									
										6
									
								
								init.vim
								
								
								
								
							| 
						 | 
				
			
			@ -435,10 +435,10 @@ iabbrev ct'' content-type: '';
 | 
			
		|||
"----------------------------------------------------------------------------}}}
 | 
			
		||||
" #autocommands {{{
 | 
			
		||||
 | 
			
		||||
"   center on insert {{{
 | 
			
		||||
  augroup CenterInsert
 | 
			
		||||
"   template files {{{
 | 
			
		||||
  augroup templates
 | 
			
		||||
    autocmd!
 | 
			
		||||
    autocmd InsertEnter * norm zt
 | 
			
		||||
    autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
 | 
			
		||||
  augroup END
 | 
			
		||||
 | 
			
		||||
"  }}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue