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
|
" indent, load plugin and detect filetype depending on filetype
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
set autoindent
|
set autoindent
|
||||||
|
|
@ -13,15 +14,15 @@ set splitbelow
|
||||||
|
|
||||||
" colorscheme
|
" colorscheme
|
||||||
if exists('+termguicolors')
|
if exists('+termguicolors')
|
||||||
" enable termguicolors correctly for terminals other than
|
" enable termguicolors correctly for terminals other than
|
||||||
" xterm-256color see https://github.com/vim/vim/issues/993
|
" xterm-256color see https://github.com/vim/vim/issues/993
|
||||||
" also see :h xterm-true-color
|
" also see :h xterm-true-color
|
||||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme space_vim_theme
|
colorscheme space_vim_theme
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" syntax on
|
" syntax on
|
||||||
|
|
@ -105,7 +106,7 @@ endfunction
|
||||||
|
|
||||||
" persistent undo history
|
" persistent undo history
|
||||||
if !isdirectory("/tmp/vim-undo")
|
if !isdirectory("/tmp/vim-undo")
|
||||||
call mkdir("/tmp/vim-undo", "", 0700)
|
call mkdir("/tmp/vim-undo", "", 0700)
|
||||||
endif
|
endif
|
||||||
set undodir=/tmp/vim-undo
|
set undodir=/tmp/vim-undo
|
||||||
set undofile
|
set undofile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue