30 lines
530 B
VimL
Executable file
30 lines
530 B
VimL
Executable file
set number
|
|
set lbr
|
|
set fdc=0
|
|
set vb
|
|
set expandtab
|
|
set shiftwidth=4
|
|
set tabstop=4
|
|
set softtabstop=4
|
|
set linespace=0
|
|
set autoindent
|
|
set smartindent
|
|
set mouse=a
|
|
set cursorline
|
|
syntax on
|
|
set showcmd
|
|
set encoding=utf-8
|
|
set autowrite
|
|
set noautochdir
|
|
|
|
set hlsearch
|
|
map <silent> <c-k> :nohlsearch<CR>
|
|
|
|
set colorcolumn=72,120
|
|
hi colorcolumn ctermbg=NONE ctermfg=red cterm=bold guibg=NONE guifg=red gui=bold
|
|
|
|
" sudo-write with :w!!
|
|
cnoremap w!! w !sudo tee >/dev/null %
|
|
|
|
au BufRead /tmp/neomutt-* set tw=72
|
|
au BufRead /tmp/mutt-* set tw=72
|