add vim to config
This commit is contained in:
parent
f579e28af7
commit
b90c2531f4
1
setup.sh
1
setup.sh
@ -10,6 +10,7 @@ configs=(
|
|||||||
git
|
git
|
||||||
i3
|
i3
|
||||||
kitty
|
kitty
|
||||||
|
vim
|
||||||
nvim
|
nvim
|
||||||
fish
|
fish
|
||||||
tmux
|
tmux
|
||||||
|
18
vim/dot-vimrc
Normal file
18
vim/dot-vimrc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
" Do use vim defaults: Syntax hilighting and more
|
||||||
|
unlet! skip_defaults_vim
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
|
||||||
|
set number " Show line numbers.
|
||||||
|
set relativenumber "Show relative line numbers
|
||||||
|
|
||||||
|
set autoindent " keep indent for next line
|
||||||
|
set hlsearch " Enable search highlighting.
|
||||||
|
set ignorecase " Ignore case when searching.
|
||||||
|
set incsearch " Incremental search that shows partial matches.
|
||||||
|
set smartcase " Automatically switch search to case-sensitive when search query contains an uppercase letter.
|
||||||
|
set nowrap " Disable line wrap
|
||||||
|
set laststatus=2 " Always display the status bar.
|
||||||
|
set noerrorbells " Disable beep on errors.
|
||||||
|
set mouse=a " Enable mouse for scrolling and resizing.
|
||||||
|
set background=dark " Use colors that suit a dark background. (I use black terminal background)
|
||||||
|
set history=1000 " Increase the undo limit.
|
Loading…
Reference in New Issue
Block a user