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:39 +0200
commitd98dca32eea8b70c5fd2cacbc403f8b16181495f (patch)
tree701772e739a9466f21311a75905c8911e6092d9a
parentccf162bfee031db448ee042a70e8dc32d3b4cd01 (diff)
downloadembedlog-0.4.tar.gz
embedlog-0.4.tar.bz2
embedlog-0.4.zip
.vimrc: add basic formatting config for vim users0.4
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