summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Linehan <patientulysses@gmail.com>2013-12-23 10:48:12 -0500
committerJason Linehan <patientulysses@gmail.com>2013-12-23 10:48:12 -0500
commit6dd3fe2519091e7df34dab57e01fb5a0c3852aff (patch)
tree46fa1f29a415ce4d4b8ed4ba46d012af11d0ee39
parent37e3ec421cd1b5eac3220d2002e5663011b21990 (diff)
Some changes
-rw-r--r--default.vimrc13
1 files changed, 11 insertions, 2 deletions
diff --git a/default.vimrc b/default.vimrc
index 1296808..cff78fe 100644
--- a/default.vimrc
+++ b/default.vimrc
@@ -50,8 +50,7 @@
" q - Allow formatting of comments with 'gq'
" r - Automatically insert comment leader
" t - Auto-wrap text using textwidth
- autocmd FileType make " When editing a Makefile...
- \setlocal noexpandtab " always insert hard tabs
+ autocmd FileType make setlocal noexpandtab " Hard tabs in a Makefile
" filetype plugin indent on " enable filetype plugins and indentation
" Pattern matching
@@ -65,6 +64,16 @@
" `````````````````````````````````````````````````````````````````````````````
set showmatch " Jump to matching bracket
set matchtime=3 " Duration of matching bracket highlight
+
+" Folding
+" `````````````````````````````````````````````````````````````````````````````
+ set foldmethod=indent " Fold on indentations
+
+" Text wrap and line break
+" `````````````````````````````````````````````````````````````````````````````
+" set tw=80 " Text width is 80 characters
+ " To adjust a visual selection : gq
+ " To adjust the entire document: gqG
" =============================================================================