vim: Move after/ftplugin to ftplugin
There is no reason why the plugins should be in after/.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
" Shorter lines. Subject should be max 50 and body max 72
|
||||
setlocal colorcolumn=50,72
|
||||
setlocal textwidth=72
|
||||
" Spell checking always enabled
|
||||
setlocal spell spelllang=en
|
||||
@@ -1 +0,0 @@
|
||||
setlocal nospell
|
||||
@@ -1,8 +0,0 @@
|
||||
" Use 4 spaces for indentation
|
||||
setlocal tabstop=4
|
||||
setlocal shiftwidth=0
|
||||
setlocal expandtab
|
||||
" Delete all 4 spaces when pressing backspace
|
||||
setlocal smarttab
|
||||
" PEP-8 wants 79 as maximum line length
|
||||
setlocal textwidth=79
|
||||
@@ -1,6 +0,0 @@
|
||||
" Source config upon saving vim file.
|
||||
" Group to avoid "exponential" reloading. See:
|
||||
" https://stackoverflow.com/questions/2400264/is-it-possible-to-apply-vim-configurations-without-restarting
|
||||
augroup vimrc_reload
|
||||
autocmd! BufWritePost * source $MYVIMRC | echom "Reloaded" | redraw
|
||||
augroup END
|
||||
@@ -1,2 +0,0 @@
|
||||
" Update resource database automatically.
|
||||
autocmd BufWritePost * !xrdb %
|
||||
@@ -1,2 +0,0 @@
|
||||
" zshOption is a huge regex that leads to massive lags when scrolling
|
||||
syntax clear zshOption
|
||||
Reference in New Issue
Block a user