Added prefs for sh type
This commit is contained in:
		
							
								
								
									
										25
									
								
								after/ftplugin/sh/prefs.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								after/ftplugin/sh/prefs.vim
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
" ----- [ Preferences for sh ] -----
 | 
			
		||||
 | 
			
		||||
" show cursor
 | 
			
		||||
setlocal cursorline cursorcolumn
 | 
			
		||||
hi CursorLine term=none cterm=none
 | 
			
		||||
 | 
			
		||||
" show line numbers
 | 
			
		||||
setlocal number numberwidth=4
 | 
			
		||||
 | 
			
		||||
" show matching parentheses
 | 
			
		||||
setlocal showmatch
 | 
			
		||||
 | 
			
		||||
" indent
 | 
			
		||||
setlocal autoindent cindent smartindent
 | 
			
		||||
 | 
			
		||||
" tabs
 | 
			
		||||
setlocal tabstop=2
 | 
			
		||||
setlocal shiftwidth=2
 | 
			
		||||
 | 
			
		||||
" use space instead of tabs
 | 
			
		||||
setlocal expandtab
 | 
			
		||||
 | 
			
		||||
"set search prefs
 | 
			
		||||
set hlsearch
 | 
			
		||||
set incsearch
 | 
			
		||||
		Reference in New Issue
	
	Block a user