Quick post for future reference.
Just installed Debian or Ubuntu, need Vim back to what you’re used to?
edit /etc/vim/vimrc
uncomment
set background=dark
Code language: JavaScript (javascript)
add
set autoindent
set expandtab
set softtabstop=2
set shiftwidth=2
Code language: JavaScript (javascript)
Tabs are now always two spaces and you can actually see the text.
Don’t forget to add export EDITOR=vim
to .bashrc either.
Leave a Reply