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:20 +0200
commit74f56dda54cd359735e32758301349d578ab2417 (patch)
treeee74beaba615c99e20cdb59cb4e7c08b88e2462b
parent4ee1c1aebe2b235e06acfb8f410aaa89623840e7 (diff)
downloadembedlog-74f56dda54cd359735e32758301349d578ab2417.tar.gz
embedlog-74f56dda54cd359735e32758301349d578ab2417.tar.bz2
embedlog-74f56dda54cd359735e32758301349d578ab2417.zip
.vimrc: add basic formatting config for vim users0.3.0
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