dotfiles/vimrc: show text width at 80 characters
This commit is contained in:
@@ -6,6 +6,8 @@ set expandtab " tabs are spaces
|
|||||||
set backspace=2 " backspace like in a graphical text editor
|
set backspace=2 " backspace like in a graphical text editor
|
||||||
set wildmode=longest,list " change filename autocomplete to be more like bash
|
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 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
|
syntax on
|
||||||
filetype on " enable file type detection
|
filetype on " enable file type detection
|
||||||
filetype plugin on " enable file type plugins
|
filetype plugin on " enable file type plugins
|
||||||
|
Reference in New Issue
Block a user