From 74f56dda54cd359735e32758301349d578ab2417 Mon Sep 17 00:00:00 2001 From: Michał Łyszczek Date: Thu, 28 May 2020 15:08:43 +0200 Subject: .vimrc: add basic formatting config for vim users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Łyszczek --- .vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .vimrc 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 is hit +set softtabstop=4 " when is hit, produce 4 spaces -- cgit v1.2.3-8-gadcc