Basics tabstop – amount to indent when using <Tab> shiftwidth – amount to indent when using ‘>’ or ‘<‘ expandtab – always insert spaces at the amount of tabstop set tabstop=4 set shiftwidth=4 set expandtab How to change tab size based on filetype setting it inline make sure there are no spaces between the…
All posts in Uncategorized
Setting up version controlled bash_profile
Sometimes your roommate spills water on your computer for a second time. Why would I upload .bash_profile to github? If you keep your config files uploaded to github, you can avoid having to recreate your dotfiles like .bash_profile every time you need to set up a new computer. For most people, setting up a new computer…
Set up your dotfiles, config files
Sometimes your computer explodes. Sometimes your roommate spills water on it. If you keep your config files uploaded to github/gitlab, you can avoid recreating your dotfiles (.vimrc, .bash_profile, .sh, .zshrc) and reconfiguring every laptop and virtual machine you encounter. * this is assuming you have already version controlled your configs (examples: bash, vim) Step 1: Upload…