1
0
Fork 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

26
vim/init.vim Normal file
View file

@ -0,0 +1,26 @@
filetype plugin on
syntax on
set number
set nowrap
set wildmode=longest,list
set colorcolumn=80
:let $NVIM_TUI_ENABLE_TRUE_COLOR=1
set tabpagemax=500
" 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>