2019-04-04 16:43:29 +00:00
|
|
|
"colorscheme badwolf
|
|
|
|
" Indent
|
|
|
|
set autoindent
|
|
|
|
set softtabstop=4
|
|
|
|
set tabstop=4
|
|
|
|
set expandtab
|
2019-11-05 09:06:21 +00:00
|
|
|
autocmd FileType make setlocal noexpandtab
|
2019-04-04 16:43:29 +00:00
|
|
|
|
|
|
|
" Search
|
|
|
|
set incsearch
|
|
|
|
set hlsearch
|
|
|
|
set ignorecase
|
|
|
|
|
|
|
|
" Tabs
|
|
|
|
:au BufAdd,BufNewFile,BufRead * nested tab sball
|
2019-04-07 09:22:35 +00:00
|
|
|
set splitbelow
|
|
|
|
set splitright
|
2019-04-04 16:43:29 +00:00
|
|
|
|
|
|
|
set laststatus=2 " Always show a status bar
|
|
|
|
set scrolloff=3 " Keep n lines when scrolling
|
|
|
|
set showcmd " show command in bar
|
|
|
|
set number " show line numbers
|
|
|
|
set wildmenu " visual autocomplete for command menu
|
|
|
|
set tabpagemax=10
|
2019-09-18 09:09:26 +00:00
|
|
|
|
|
|
|
function Xsudo()
|
|
|
|
:w !sudo tee %
|
|
|
|
:q!
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
command Wsudo :w !sudo tee %
|
|
|
|
command Xsudo exec Xsudo()
|