set split behaviour, center on insert autocmd
This commit is contained in:
		
							parent
							
								
									5e27aaedaf
								
							
						
					
					
						commit
						94051bca28
					
				
							
								
								
									
										9
									
								
								init.vim
								
								
								
								
							
							
						
						
									
										9
									
								
								init.vim
								
								
								
								
							| 
						 | 
					@ -216,6 +216,8 @@ set directory=~/.vim/.vimtmp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set viewoptions-=options
 | 
					set viewoptions-=options
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set splitbelow splitright
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set ignorecase
 | 
					set ignorecase
 | 
				
			||||||
set smartcase
 | 
					set smartcase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -433,6 +435,13 @@ iabbrev ct'' content-type: '';
 | 
				
			||||||
"----------------------------------------------------------------------------}}}
 | 
					"----------------------------------------------------------------------------}}}
 | 
				
			||||||
" #autocommands {{{
 | 
					" #autocommands {{{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"   center on insert {{{
 | 
				
			||||||
 | 
					  augroup CenterInsert
 | 
				
			||||||
 | 
					    autocmd!
 | 
				
			||||||
 | 
					    autocmd InsertEnter * norm zt
 | 
				
			||||||
 | 
					  augroup END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"  }}}
 | 
				
			||||||
"   template files {{{
 | 
					"   template files {{{
 | 
				
			||||||
  augroup templates
 | 
					  augroup templates
 | 
				
			||||||
    autocmd!
 | 
					    autocmd!
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue