vim: Move after/ftplugin to ftplugin

There is no reason why the plugins should be in after/.
This commit is contained in:
2020-12-24 02:26:36 +01:00
parent 5b45049070
commit 69e2e43fc7
6 changed files with 0 additions and 0 deletions

View File

@@ -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

View File

@@ -1 +0,0 @@
setlocal nospell

View File

@@ -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

View File

@@ -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

View File

@@ -1,2 +0,0 @@
" Update resource database automatically.
autocmd BufWritePost * !xrdb %

View File

@@ -1,2 +0,0 @@
" zshOption is a huge regex that leads to massive lags when scrolling
syntax clear zshOption