From 1440add26da5d6ace5f5203f23fc5ec0d2bd0ddf Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 10 Dec 2022 18:50:58 -0500 Subject: Update vimrc Some settings were redundant with vim-polyglot, others unused by me. softtabstop is added for better backspacing behavior. --- .vim/vimrc | 12 ++++++++++++ .vimrc | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 .vim/vimrc delete mode 100644 .vimrc diff --git a/.vim/vimrc b/.vim/vimrc new file mode 100644 index 0000000..a8cdec2 --- /dev/null +++ b/.vim/vimrc @@ -0,0 +1,12 @@ +set nocompatible " (Don't) Behave Vi-compatible as much as possible +set tabstop=4 " Number of spaces that characters display +set softtabstop=4 " Number of spaces that uses while editing +set shiftwidth=4 " Number of spaces to use for autoindent +set expandtab " Use spaces when is inserted +set autoindent " Take indent for new line from previous line + +" Readable diffs +highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red +highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red +highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red +highlight DiffText cterm=bold ctermfg=10 ctermbg=88 gui=none guifg=bg guibg=Red diff --git a/.vimrc b/.vimrc deleted file mode 100644 index 0cb6673..0000000 --- a/.vimrc +++ /dev/null @@ -1,12 +0,0 @@ -syntax on -set tabstop=4 -set shiftwidth=4 -set expandtab -set autoindent -filetype plugin indent on -set omnifunc=syntaxcomplete#Complete -syntax enable -highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red -highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red -highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red -highlight DiffText cterm=bold ctermfg=10 ctermbg=88 gui=none guifg=bg guibg=Red -- cgit v1.2.3