diff --git a/after/ftplugin/sh/prefs.vim b/after/ftplugin/sh/prefs.vim new file mode 100644 index 0000000..7601623 --- /dev/null +++ b/after/ftplugin/sh/prefs.vim @@ -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