summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2019-03-11 12:58:55 +0100
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2019-03-11 12:58:55 +0100
commit652634143a78e262f0e26a10f253d2385fb44a41 (patch)
tree35ee484ee06db63538a57b1488a4a58ddbfaa49b /.vimrc
parentChange plugin manager from pathogen to vundle (diff)
downloadvim_sync-652634143a78e262f0e26a10f253d2385fb44a41.tar.xz
Refactor file type configuration to the ftplugin
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc13
1 files changed, 0 insertions, 13 deletions
diff --git a/.vimrc b/.vimrc
index c98899b..a1ca3bc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -116,19 +116,6 @@ colorscheme dorticek
au BufEnter * match RedundantSpaces /\s\+$\| \+\ze\t/
highlight RedundantSpaces ctermbg=red guibg=red
-" =======================
-" autocommand definitions
-" =======================
-au BufRead *COMMIT_EDITMSG set spell spelllang=en textwidth=80
-au BufRead *TAG_EDITMSG set spell spelllang=en textwidth=80
-au BufRead *.c set spell spelllang=en
-au BufRead *.cpp set spell spelllang=en
-au BufRead *.h set spell spelllang=en
-au BufRead *.txt set spell expandtab spelllang=cs
-au BufRead *.yml set expandtab tabstop=2 shiftwidth=2 spell spelllang=en
-au BufRead *.kv set expandtab tabstop=4 shiftwidth=4 spell spelllang=en
-au Filetype python setlocal expandtab tabstop=4 shiftwidth=4 spell spelllang=en
-
" ===========
" key hacking
" ===========