Update 2026-01-26 20:34 OpenBSD/amd64-dalek
This commit is contained in:
parent
0bd8a43d4f
commit
bf213e469f
14
.vim/vimrc
14
.vim/vimrc
@ -1,7 +1,6 @@
|
|||||||
" VIM CORE
|
" VIM CORE
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
let &titleold="term"
|
let &titleold="term"
|
||||||
set nocompatible " enable advanced features
|
|
||||||
set autochdir " current dir is vim workdir
|
set autochdir " current dir is vim workdir
|
||||||
set title " set xterm title
|
set title " set xterm title
|
||||||
set path+=.,** " expand to dirs under workdir
|
set path+=.,** " expand to dirs under workdir
|
||||||
@ -9,9 +8,7 @@ set mouse=v " don't interract with the mouse
|
|||||||
set laststatus=2 " always show the status line
|
set laststatus=2 " always show the status line
|
||||||
set keywordprg=":help" " show vim help when hitting "K"
|
set keywordprg=":help" " show vim help when hitting "K"
|
||||||
set backspace=indent,eol,start " bkspc behave like expected
|
set backspace=indent,eol,start " bkspc behave like expected
|
||||||
set ttimeout " activate timeout for key combos
|
|
||||||
set ttimeoutlen=50 " set timeout for key combinations
|
set ttimeoutlen=50 " set timeout for key combinations
|
||||||
set ttyfast
|
|
||||||
set number " enable line numbers
|
set number " enable line numbers
|
||||||
set numberwidth=6 " space for more numbers
|
set numberwidth=6 " space for more numbers
|
||||||
set cursorline " highlight line number+cursor line
|
set cursorline " highlight line number+cursor line
|
||||||
@ -21,7 +18,6 @@ endif
|
|||||||
"set cursorcolumn " highlight current cursor column
|
"set cursorcolumn " highlight current cursor column
|
||||||
execute "set colorcolumn=" . join(range(73,80), ',')
|
execute "set colorcolumn=" . join(range(73,80), ',')
|
||||||
set modeline " read vim mode line in files
|
set modeline " read vim mode line in files
|
||||||
set modelines=5 " top/bottom line no. to search
|
|
||||||
set lazyredraw " no scr. update during macros
|
set lazyredraw " no scr. update during macros
|
||||||
set spelllang=de,en " spell check languages
|
set spelllang=de,en " spell check languages
|
||||||
syntax enable " enable syntax plugin (builtin)
|
syntax enable " enable syntax plugin (builtin)
|
||||||
@ -34,10 +30,8 @@ set diffopt=filler,context:20
|
|||||||
set diffopt+=iwhite,iblank
|
set diffopt+=iwhite,iblank
|
||||||
" set diffopt+=algorithm:histogram
|
" set diffopt+=algorithm:histogram
|
||||||
set diffopt+=vertical
|
set diffopt+=vertical
|
||||||
set diffexpr=
|
|
||||||
|
|
||||||
filetype plugin indent on " load plugins based on filetype
|
filetype plugin indent on " load plugins based on filetype
|
||||||
set re=1 " use old regexp engine (faster)
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
" INDENTATION
|
" INDENTATION
|
||||||
@ -119,7 +113,13 @@ set runtimepath^=/home/sdk/.vim/pack/plugins/start/vim-clap
|
|||||||
let g:clap_plugin_experimental = v:true
|
let g:clap_plugin_experimental = v:true
|
||||||
|
|
||||||
" CREATE DIRECTORIES
|
" CREATE DIRECTORIES
|
||||||
silent execute '!mkdir -p ~/.vim/undo ~/.vim/backup ~/.vim/swapfiles'
|
" silent execute '!mkdir -p ~/.vim/undo ~/.vim/backup ~/.vim/swapfiles'
|
||||||
|
for s:dir in ['undo', 'backup', 'swapfiles']
|
||||||
|
if !isdirectory($HOME . '/.vim/' . s:dir)
|
||||||
|
call mkdir($HOME . '/.vim/' . s:dir, 'p')
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
|
||||||
|
|
||||||
" LOOK N FEEL
|
" LOOK N FEEL
|
||||||
set t_Co=256 " for terminal with 256 colors
|
set t_Co=256 " for terminal with 256 colors
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user