Remove blank lines
This commit is contained in:
parent
8e1eca34f8
commit
d19b35eb23
1 changed files with 1 additions and 14 deletions
|
@ -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
|
||||
|
||||
set nocompatible " disable vi compatibility (emulation of old bugs)
|
||||
|
||||
" UTF-8 ENCODING {{{
|
||||
set enc=utf-8
|
||||
set fenc=utf-8
|
||||
set termencoding=utf-8
|
||||
" }}}
|
||||
|
||||
" LEADER SHORTCUTS {{{
|
||||
let mapleader=","
|
||||
|
||||
|
@ -30,7 +27,6 @@ nnoremap <leader>j :wincmd j<CR>
|
|||
nnoremap <leader>k :wincmd k<CR>
|
||||
nnoremap <leader>l :wincmd l<CR>
|
||||
" }}}
|
||||
|
||||
" VUNDLE {{{
|
||||
filetype off
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
@ -63,7 +59,6 @@ Plugin 'Yggdroot/indentLine' " Display thin vertical lines at each indentation l
|
|||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
" }}}
|
||||
|
||||
" PLUGIN OPTIONS {{{
|
||||
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_fileType = ['html', 'htmldjango']
|
||||
" }}}
|
||||
|
||||
" COLORS {{{
|
||||
colorscheme badwolf
|
||||
let g:airline_theme='badwolf'
|
||||
syntax on
|
||||
let &t_ut='' " Disable BCE (background color erase)
|
||||
" }}}
|
||||
|
||||
" SPACES & TABS {{{
|
||||
set expandtab " expand tabs to spaces
|
||||
set shiftwidth=4
|
||||
set softtabstop=4 " number of spaces in tab when editing
|
||||
" }}}
|
||||
|
||||
" UI CONFIG {{{
|
||||
" 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
|
||||
|
@ -116,7 +108,6 @@ set wildmenu " visual autocomplete for command menu
|
|||
set lazyredraw " redraw only when necessary
|
||||
set showmatch " highlight matching braces
|
||||
" }}}
|
||||
|
||||
" SEARCHING {{{
|
||||
set path+=** " Find files in sub-folders too
|
||||
set incsearch " search as characters are entered
|
||||
|
@ -124,7 +115,6 @@ set hlsearch " highlight matches
|
|||
" turn off search hightlight after search
|
||||
nnoremap <leader><space> :nohlsearch<CR>
|
||||
" }}}
|
||||
|
||||
" FOLDING {{{
|
||||
set foldenable " enable folding
|
||||
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
|
||||
nnoremap <space> za
|
||||
" }}}
|
||||
|
||||
" MOVEMENT {{{
|
||||
" move vertically by visual line (don't jump wrapped lines)
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
" }}}
|
||||
|
||||
" AUTOGROUPS {{{
|
||||
augroup configgroup
|
||||
autocmd!
|
||||
|
@ -171,6 +159,5 @@ augroup configgroup
|
|||
autocmd BufEnter *.sh setlocal shiftwidth=2 tabstop=2 softtabstop=2 foldlevel=0 foldmethod=marker
|
||||
augroup END
|
||||
" }}}
|
||||
|
||||
set modelines=1
|
||||
" vim:foldmethod=marker:foldlevel=0
|
||||
|
|
Loading…
Add table
Reference in a new issue