From 0908ef3779123d08fb69615a0ae57be953231f41 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 4 Jun 2014 12:40:46 +0600 Subject: [PATCH] =?UTF-8?q?vim:=20fix:=20=D0=BF=D1=80=D0=B8=D0=BD=D1=83?= =?UTF-8?q?=D0=B4=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B0=20=D1=88=D0=B8?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D1=8B=20=D0=BD=D0=B0=D0=B1=D0=B8=D1=80=D0=B0?= =?UTF-8?q?=D0=B5=D0=BC=D0=BE=D0=B3=D0=BE=20=D1=82=D0=B5=D0=BA=D1=81=D1=82?= =?UTF-8?q?=D0=B0=20=D0=BA=D0=B0=D0=BA=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20QQ=20=D0=BD=D0=B0=20=D0=BD=D0=B5=D0=BA=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D1=8B=D1=85=20=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC?= =?UTF-8?q?=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/soft/vim/vim/+ftplugin/vimwiki.vim | 2 ++ etc/soft/vim/vim/ftdetect/detect.vim | 1 + 2 files changed, 3 insertions(+) diff --git a/etc/soft/vim/vim/+ftplugin/vimwiki.vim b/etc/soft/vim/vim/+ftplugin/vimwiki.vim index 1bb6e9a..c26c3b7 100644 --- a/etc/soft/vim/vim/+ftplugin/vimwiki.vim +++ b/etc/soft/vim/vim/+ftplugin/vimwiki.vim @@ -5,3 +5,5 @@ vmap = :normal = vmap - :normal - +set textwidth=80 + diff --git a/etc/soft/vim/vim/ftdetect/detect.vim b/etc/soft/vim/vim/ftdetect/detect.vim index 22d0c59..c720d44 100644 --- a/etc/soft/vim/vim/ftdetect/detect.vim +++ b/etc/soft/vim/vim/ftdetect/detect.vim @@ -2,6 +2,7 @@ au BufNewFile,BufRead *.hs set foldexpr=HaskellFold(v:lnum) au BufNewFile,BufRead *.hs set foldmethod=expr au BufNewFile,BufRead *.test set filetype=tcl +au BufNewFile,BufRead *.txt set textwidth=80 au BufRead,BufNewFile * setfiletype txt au BufRead,BufNewFile *.tex set filetype=tex