8000 feat(vim): Set textwidth to 72 to wrap long lines · musq/dotfiles@1b7dd82 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 1b7dd82

Browse files
committed
feat(vim): Set textwidth to 72 to wrap long lines
Reference: https://vim.fandom.com/wiki/Working_with_long_lines
1 parent 8d23b6b commit 1b7dd82

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/config/nvim/init.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ set synmaxcol=2500 " Limit syntax highlighting (this
9898
" avoids the very slow redrawing
9999
" when files contain long lines).
100100

101+
set textwidth=72 " Wrap text at column 72
102+
101103
set tabstop=4 "
102104
set softtabstop=4 " │ Set global <TAB> settings.
103105
set shiftwidth=4 "

src/config/vim/vimrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ set synmaxcol=2500 " Limit syntax highlighting (this
9999
" avoids the very slow redrawing
100100
" when files contain long lines).
101101

102+
set textwidth=72 " Wrap text at column 72
103+
102104
set tabstop=4 "
103105
set softtabstop=4 " │ Set global <TAB> settings.
104106
set shiftwidth=4 "

0 commit comments

Comments
 (0)
0