mirror of
https://github.com/xlogerais/config-vim
synced 2024-11-10 00:21:41 +01:00
Added prefs for sh type
This commit is contained in:
parent
8f722a8eff
commit
60b6a3b7fd
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
|
Loading…
Reference in New Issue
Block a user