dotfiles

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

commit db68d38a004320a8fc0594975cba2d19d856f3e6 (patch)
parent e278f4c62c2d677580dda72252bffd1848056302
Author: Alex Karle <alex@alexkarle.com>
Date:   Mon, 22 Feb 2021 23:24:08 -0500

vi: Remove tab expansion / auto wrapping

While my original use case for vi(1) on OpenBSD was commit messages
(and I still do use it for that), I've grown to use it for quick
code-edits too; and in these cases, having the tab expand and lines
wrap have been a real hassle.

The config file is still useful -- having the ruler is helpful for
writing text that should be wrapped (i.e. mailing list posts, commit
message) -- but it's now way less intrusive.

Diffstat:
M.exrc | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/.exrc b/.exrc @@ -5,9 +5,5 @@ set ruler set autoindent set searchincr set showmode -set expandtab -set shiftwidth=4 -set tabstop=4 -set wraplen=72 map gg 1G