aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2020-05-28 15:08:43 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2020-05-28 15:14:00 +0200
commit9fef8e14d73dd427ef466f10a9aca29eeed8fb14 (patch)
tree9f1abf38c1d884d9bde96f5e68894425802ba51f
parent3bfc80ca0420bdc20ad535c43a5ff459d071dc9d (diff)
downloadembedlog-0.3.tar.gz
embedlog-0.3.tar.bz2
embedlog-0.3.zip
.vimrc: add basic formatting config for vim users0.3
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--.vimrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..d7f6bd2
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,12 @@
+" to enable per-project .vimrc config add this to your .vimrc
+" " allow per-project .vimrc
+" set exrc
+" " but disable autocmd in those files - for security reasons
+" " this is VERY IMPORTANT
+" set secure
+
+set encoding=utf-8 " utf-8 for the win!
+set tabstop=4 " tab character is 4 spaces wide
+set shiftwidth=4 " hitting ">>" will move line by 4 spaces
+set expandtab " produce spaces when <tab> is hit
+set softtabstop=4 " when <tab> is hit, produce 4 spaces