From db68d38a004320a8fc0594975cba2d19d856f3e6 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Mon, 22 Feb 2021 23:24:08 -0500 Subject: [PATCH] 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. --- .exrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.exrc b/.exrc index 363212b..9145e73 100644 --- 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 -- libgit2 0.28.4