aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-12-22 14:37:22 +0800
committerAaron LI <aly@aaronly.me>2018-12-22 14:37:22 +0800
commit9c20907fca15267d5f900f41b145c834a27812c3 (patch)
treeb9fdcc0f37b3d9afd4fcfd03874343ed7656e008
parent8cfdd32cdae8aabf494162ea96a306d86412a5b2 (diff)
downloaddotfiles-9c20907fca15267d5f900f41b145c834a27812c3.tar.bz2
vim: Tweak configurations
Credit: https://github.com/tpope/vim-sensible
-rw-r--r--_vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index d0e2b23..ec139d2 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -88,6 +88,8 @@ set foldcolumn=1
" Highlight the current line
set cursorline
+set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
@@ -146,6 +148,7 @@ set wrap
set linebreak
set formatoptions+=m " Break at multi-byte characters (e.g., CJK)
+set formatoptions+=j " Delete comment character when joining commented lines
""""""""""""""""""""""""""""""