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

View file

@ -1,34 +0,0 @@
"filetype plugin on
syntax on
set number
set nowrap
set wildmode=longest,list
set colorcolumn=80
:let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" 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>
" Break lines for tex-files
augroup WrapLineInTeXFile
autocmd!
autocmd FileType tex setlocal wrap
autocmd FileType tex setlocal linebreak
autocmd FileType tex setlocal nonumber
augroup END