Watch
1
0
Fork
You've already forked dotfiles
0

Group vim and neovim config files in folder “vim”

This commit is contained in:
coderkun 2018-02-24 19:51:11 +01:00
commit d73f12605f
3 changed files with 16 additions and 19 deletions

25
vim/vimrc Normal file
View file

@ -0,0 +1,25 @@
filetype plugin on
syntax on
set number
set nowrap
set wildmode=longest,list
set colorcolumn=80
colorscheme solarized
" Indentation
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
" Search
set incsearch
set hlsearch
set ignorecase
set smartcase
" Whitespaces
set listchars=tab:>-,trail:·
set list
:nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>