From e1a2bde5643a15253b2b0c841e2f88aaed1666c8 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Sun, 21 Aug 2022 17:11:07 +0300 Subject: [PATCH] [vim] vim configfile styleguide --- vim/ftplugin/vim.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 vim/ftplugin/vim.vim diff --git a/vim/ftplugin/vim.vim b/vim/ftplugin/vim.vim new file mode 100644 index 0000000..3bd84e2 --- /dev/null +++ b/vim/ftplugin/vim.vim @@ -0,0 +1,7 @@ + +" show existing tab with 2 spaces width +set tabstop=2 +" when indenting with '>', use 2 spaces width +set shiftwidth=2 +" On pressing tab, insert 2 spaces +set expandtab