Update indenting for config file
This commit is contained in:
parent
67a0e07fbd
commit
27c5ae35de
1 changed files with 10 additions and 9 deletions
19
vim/.vimrc
19
vim/.vimrc
|
|
@ -1,3 +1,4 @@
|
|||
" vim:set ts=2 sw=2 et:
|
||||
" indent, load plugin and detect filetype depending on filetype
|
||||
filetype indent plugin on
|
||||
set autoindent
|
||||
|
|
@ -13,15 +14,15 @@ set splitbelow
|
|||
|
||||
" colorscheme
|
||||
if exists('+termguicolors')
|
||||
" enable termguicolors correctly for terminals other than
|
||||
" xterm-256color see https://github.com/vim/vim/issues/993
|
||||
" also see :h xterm-true-color
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
" enable termguicolors correctly for terminals other than
|
||||
" xterm-256color see https://github.com/vim/vim/issues/993
|
||||
" also see :h xterm-true-color
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
|
||||
set background=dark
|
||||
colorscheme space_vim_theme
|
||||
set background=dark
|
||||
colorscheme space_vim_theme
|
||||
endif
|
||||
|
||||
" syntax on
|
||||
|
|
@ -105,7 +106,7 @@ endfunction
|
|||
|
||||
" persistent undo history
|
||||
if !isdirectory("/tmp/vim-undo")
|
||||
call mkdir("/tmp/vim-undo", "", 0700)
|
||||
call mkdir("/tmp/vim-undo", "", 0700)
|
||||
endif
|
||||
set undodir=/tmp/vim-undo
|
||||
set undofile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue