psoxizsh/etc/vimrc.local

53 lines
1.3 KiB
Plaintext

set guifont=Fira\ Code\ 11
set encoding=utf-8
set nocompatible
colorscheme murphy
syntax on
set background=dark
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif
" Uncomment the following to have Vim load indentation rules according to the
" detected filetype. Per default Debian Vim only load filetype specific
" plugins.
if has("autocmd")
filetype indent on
endif
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set smartcase " Do smart case matching
set incsearch " Incremental search
set ww=b,s,<,>,[,]
set sta
set visualbell
set mousemodel=popup_setpos
highlight SpellErrors ctermfg=Red guifg=Red cterm=underline gui=underline term=reverse
let spell_language_list = "americanxlg,american,americanmed+,english"
let spell_insert_mode = 1
let spell_executable = "ispell"
let spell_auto_type = ""
"let spell_auto_type = "tex,mail,text,html,sgml,otl,cvs,none"
" other
set shiftwidth=2
set tabstop=8
set softtabstop=2
set expandtab
filetype plugin indent on
autocmd FileType yaml setl indentkeys-=<:>
autocmd FileType yaml setlocal ts=8 sts=2 sw=2 expandtab
set modeline
set modelines=7
" vim: syntax=vim