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 {{{
 | 
					" #autocommands {{{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"   center on insert {{{
 | 
					"   template files {{{
 | 
				
			||||||
  augroup CenterInsert
 | 
					  augroup templates
 | 
				
			||||||
    autocmd!
 | 
					    autocmd!
 | 
				
			||||||
    autocmd InsertEnter * norm zt
 | 
					    autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
 | 
				
			||||||
  augroup END
 | 
					  augroup END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"  }}}
 | 
					"  }}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue