From 60b6a3b7fd06d06306c62a5bb0b226497ea1d803 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Sat, 28 Mar 2015 17:07:20 +0100 Subject: [PATCH] Added prefs for sh type --- after/ftplugin/sh/prefs.vim | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 after/ftplugin/sh/prefs.vim 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