aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-21 20:04:11 +0800
committerGuangxiong Lin <[email protected]>2022-03-21 20:04:11 +0800
commit51a582ac7d8528cdce0b5e489a5eacaee18472e1 (patch)
tree540e5ee9750bdcf2dfbefbc8b130fd4b0a65de84
parentce2ea7f09d790e69dfb02dbb132386bba7bd2d0a (diff)
downloaddotfiles-51a582ac7d8528cdce0b5e489a5eacaee18472e1.tar.gz
dotfiles-51a582ac7d8528cdce0b5e489a5eacaee18472e1.tar.bz2
dotfiles-51a582ac7d8528cdce0b5e489a5eacaee18472e1.zip
Wrap lines in vim diff
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 8fd04f9..08c8a28 100644
--- a/.vimrc
+++ b/.vimrc
@@ -24,6 +24,8 @@ set hidden
set completeopt=menu,menuone,popup
set completepopup=align:menu,border:off,highlight:WildMenu
+set diffopt+=followwrap
+
" set Vim-specific sequences for RGB colors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"