From cf0720ba9d1128406f4bd25b2deb1d26bd2a113f Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 2 Sep 2025 20:24:06 +0300 Subject: [PATCH] dotfiles/vimrc: show text width at 80 characters --- dotfiles/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index fd040cd..e03f193 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -6,6 +6,8 @@ set expandtab " tabs are spaces set backspace=2 " backspace like in a graphical text editor set wildmode=longest,list " change filename autocomplete to be more like bash set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg +set textwidth=80 " set textwidth to 80 characters +set colorcolumn=+1 " make it obvious where 80 characters is syntax on filetype on " enable file type detection filetype plugin on " enable file type plugins