summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@vgfr65cs1.internal.synopsys.com>2016-07-13 22:46:45 +0200
committerJohannes Stolp <jstolp@vgfr65cs1.internal.synopsys.com>2016-07-13 22:46:45 +0200
commit88db1685aded1d4787ce5b81fe82658a6be9274d (patch)
treeffb1a79c845ecb7c1ab762d16722d1d711b46ad6 /.vimrc
parentc6d1aab0a4f24a9f9b18b55ee452fe98b5c91ab3 (diff)
downloaddotfiles-88db1685aded1d4787ce5b81fe82658a6be9274d.tar.gz
dotfiles-88db1685aded1d4787ce5b81fe82658a6be9274d.zip
enabled foldmethod \'marker\' for vim
added Ctrl-f functions in vim to create fold blocks
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 100c241..70c087c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -43,6 +43,9 @@ set shiftwidth=4 " but an indent level is 2 spaces wide.
set softtabstop=4 " <BS> over an autoindent deletes both spaces.
set shiftround " rounds indent to a multiple of shiftwidth
set backspace=2
+set formatoptions-=cro " disable auto-comment
+
+set foldmethod=marker " set fold method
set hidden " do not unload abandoned buffers
set nowrap " don't wrap text