Remove blank lines

This commit is contained in:
flyingscorpio@arch-desktop 2020-07-08 14:42:16 +02:00
parent 8e1eca34f8
commit d19b35eb23

View file

@ -1,15 +1,12 @@
" VIM Configuration File " flyingscorpio's VIM Configuration File
" most of this comes from https://dougblack.io/words/a-good-vimrc.html " most of this comes from https://dougblack.io/words/a-good-vimrc.html
set nocompatible " disable vi compatibility (emulation of old bugs) set nocompatible " disable vi compatibility (emulation of old bugs)
" UTF-8 ENCODING {{{ " UTF-8 ENCODING {{{
set enc=utf-8 set enc=utf-8
set fenc=utf-8 set fenc=utf-8
set termencoding=utf-8 set termencoding=utf-8
" }}} " }}}
" LEADER SHORTCUTS {{{ " LEADER SHORTCUTS {{{
let mapleader="," let mapleader=","
@ -30,7 +27,6 @@ nnoremap <leader>j :wincmd j<CR>
nnoremap <leader>k :wincmd k<CR> nnoremap <leader>k :wincmd k<CR>
nnoremap <leader>l :wincmd l<CR> nnoremap <leader>l :wincmd l<CR>
" }}} " }}}
" VUNDLE {{{ " VUNDLE {{{
filetype off filetype off
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
@ -63,7 +59,6 @@ Plugin 'Yggdroot/indentLine' " Display thin vertical lines at each indentation l
call vundle#end() call vundle#end()
filetype plugin indent on filetype plugin indent on
" }}} " }}}
" PLUGIN OPTIONS {{{ " PLUGIN OPTIONS {{{
let g:ale_python_mypy_options = '--strict --strict-optional' let g:ale_python_mypy_options = '--strict --strict-optional'
@ -85,20 +80,17 @@ nmap <leader>ne :NERDTree<CR>
" let g:indentLine_char = '▏' " let g:indentLine_char = '▏'
let g:indentLine_fileType = ['html', 'htmldjango'] let g:indentLine_fileType = ['html', 'htmldjango']
" }}} " }}}
" COLORS {{{ " COLORS {{{
colorscheme badwolf colorscheme badwolf
let g:airline_theme='badwolf' let g:airline_theme='badwolf'
syntax on syntax on
let &t_ut='' " Disable BCE (background color erase) let &t_ut='' " Disable BCE (background color erase)
" }}} " }}}
" SPACES & TABS {{{ " SPACES & TABS {{{
set expandtab " expand tabs to spaces set expandtab " expand tabs to spaces
set shiftwidth=4 set shiftwidth=4
set softtabstop=4 " number of spaces in tab when editing set softtabstop=4 " number of spaces in tab when editing
" }}} " }}}
" UI CONFIG {{{ " UI CONFIG {{{
" The default cursor in normal mode is block but this will be overridden by any shell configuration. " The default cursor in normal mode is block but this will be overridden by any shell configuration.
let &t_SI = "\e[5 q" " cursor beam on insert mode let &t_SI = "\e[5 q" " cursor beam on insert mode
@ -116,7 +108,6 @@ set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when necessary set lazyredraw " redraw only when necessary
set showmatch " highlight matching braces set showmatch " highlight matching braces
" }}} " }}}
" SEARCHING {{{ " SEARCHING {{{
set path+=** " Find files in sub-folders too set path+=** " Find files in sub-folders too
set incsearch " search as characters are entered set incsearch " search as characters are entered
@ -124,7 +115,6 @@ set hlsearch " highlight matches
" turn off search hightlight after search " turn off search hightlight after search
nnoremap <leader><space> :nohlsearch<CR> nnoremap <leader><space> :nohlsearch<CR>
" }}} " }}}
" FOLDING {{{ " FOLDING {{{
set foldenable " enable folding set foldenable " enable folding
set foldlevelstart=10 " open most folds by default (0 to 99) set foldlevelstart=10 " open most folds by default (0 to 99)
@ -133,13 +123,11 @@ set foldmethod=syntax " fold based on filetype
" space opens and closes folds " space opens and closes folds
nnoremap <space> za nnoremap <space> za
" }}} " }}}
" MOVEMENT {{{ " MOVEMENT {{{
" move vertically by visual line (don't jump wrapped lines) " move vertically by visual line (don't jump wrapped lines)
nnoremap j gj nnoremap j gj
nnoremap k gk nnoremap k gk
" }}} " }}}
" AUTOGROUPS {{{ " AUTOGROUPS {{{
augroup configgroup augroup configgroup
autocmd! autocmd!
@ -171,6 +159,5 @@ augroup configgroup
autocmd BufEnter *.sh setlocal shiftwidth=2 tabstop=2 softtabstop=2 foldlevel=0 foldmethod=marker autocmd BufEnter *.sh setlocal shiftwidth=2 tabstop=2 softtabstop=2 foldlevel=0 foldmethod=marker
augroup END augroup END
" }}} " }}}
set modelines=1 set modelines=1
" vim:foldmethod=marker:foldlevel=0 " vim:foldmethod=marker:foldlevel=0