Xinqi Bao's Git

vimrc: foldmethod=syntax
authorXinqi Bao <[email protected]>
Sun, 8 Aug 2021 14:47:50 +0000 (22:47 +0800)
committerXinqi Bao <[email protected]>
Sun, 8 Aug 2021 14:47:50 +0000 (22:47 +0800)
.vimrc

diff --git a/.vimrc b/.vimrc
index 6792882..f521fd2 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -51,6 +51,7 @@ set path+=/usr/include,/usr/include/c++/*
 set path+=/usr/local/include
 set path+=~/lib
 
+set foldmethod=syntax
 
 " Writes to the unnamed register also writes to the * and + registers. This
 " makes it easy to interact with the system clipboard