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:12:48 +0200
commitbc872cc26350c4bfc07d835c4ab5273fca2f1bb4 (patch)
treef073ef2722db65410d159a1d77d305a90c27c29d
parent2be2259bdfc9214f044f85c6543af73ba5b0bc1d (diff)
downloadembedlog-0.5.tar.gz
embedlog-0.5.tar.bz2
embedlog-0.5.zip
.vimrc: add basic formatting config for vim users0.5
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