From bec5fb208499519a06b7c0347e4816b589ccb054 Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 8 Apr 2026 13:50:05 +0200 Subject: [PATCH] vimrc: Remove smarttab setting --- .vimrc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.vimrc b/.vimrc index 5d48566..1e91ac6 100644 --- a/.vimrc +++ b/.vimrc @@ -15,7 +15,6 @@ set smartcase " Indentation options (yeah let's switch to spaces instead of tabs I guess...) set autoindent set expandtab -set smarttab set shiftwidth=4 set tabstop=4 set softtabstop=4 @@ -27,14 +26,8 @@ filetype plugin on autocmd BufNewFile,BufRead *.gitconfig set syntax=gitconfig autocmd BufNewFile,BufRead *.rasi set syntax=scss -" Indentation for Python (use 4 spaces) -"autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4 -autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab - -" Indentation (don't remove tabs from empty lines) -"inoremap x -"nnoremap o ox -"nnoremap O Ox +" Indentation for YAML (use 2 spaces) +autocmd FileType yml,yaml setlocal sts=2 sw=2 " Mouse settings set mouse=a @@ -142,7 +135,7 @@ inoremap l " Unindent with Shift-Tab inoremap << -" Copy and to X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode) +" Copy to and paste from X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode) vmap "+y imap "+P