dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 7f6bd7a76d6f0dc4c7f9c9d7b6e7d6f6f2292db0 (patch)
parent 9ed3230d7f7b88176f4e7fac10782ead2d7c5c93
Author: Alex Karle <alex@karle.co>
Date:   Tue, 30 Apr 2019 23:00:17 -0400

vim: small changes (see log)

1. Bump history to 10k not 1k
2. Detect ctags in .vimtags files (Windows cannot handle TAGS and tags)
3. man pages should wrap at line breaks
4. When writing perlpod, hard wrap at 80

Diffstat:
Avim/ftplugin/man.vim | 3+++
Avim/ftplugin/pod.vim | 1+
Mvim/vimrc | 3++-
3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/vim/ftplugin/man.vim b/vim/ftplugin/man.vim @@ -0,0 +1,3 @@ +" break lines at word boundaries +setlocal wrap +setlocal linebreak diff --git a/vim/ftplugin/pod.vim b/vim/ftplugin/pod.vim @@ -0,0 +1 @@ +setlocal textwidth=80 diff --git a/vim/vimrc b/vim/vimrc @@ -38,9 +38,10 @@ set ttimeoutlen=30 " Low keycode timeout to avoid <ESC> delay " Other set modelines=0 " Disable modelines for security set encoding=utf-8 " Encoding -set history=1000 " Remember last 1000 :commands +set history=10000 " Remember last 1000 :commands set scrolloff=5 " Scroll at 5 rows from top/bot of screen filetype plugin indent on " Enable filetype specific plugins/indent +set tags+=./.vimtags,.vimtags " Look in .vimtags files for ctags " Persistent undo if has('persistent_undo') && isdirectory(s:vimdir . '/undo')