From 652634143a78e262f0e26a10f253d2385fb44a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Mon, 11 Mar 2019 12:58:55 +0100 Subject: Refactor file type configuration to the ftplugin --- .vimrc | 13 ------------- 1 file changed, 13 deletions(-) (limited to '.vimrc') 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 " =========== -- cgit v1.2.3