Skip to content

hansrajdas/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all## dotfiles

  • vimrc: VIM settings
  • bashrc: Bashrc file
  • setup.sh: Setup file for installation and backup of current configs

MacOS system settings

  • Install iterm2 on MacOS
brew install --cask iterm2
  • Iterm2 settings

    • Iterm2 > Preferences > Profiles > Select profile name > Colors > [In basic colors]
      • Foreground: R = 0, G = 200, B = 0
      • Background: R = 0, G = 0, B = 0
      • Cursor colors > Cursor: R = 0, G = 200, B = 0
    • Uncheck this option: Prefs > Profiles > Terminal > Save lines to scrollback in alternate screen mode
      • This is done to avoid showing VIM buffer content in terminal. Reference
    • Iterm2 > Preferences > Profiles > Select profile name > Keys
      • In Left option key, select Esc+. This gives alternative of ALT + b or f using left-option b or f
      • Note: With this commit, vi is enabled for command line also so this step will help if we go into some other prompt like gdb, delve, ...
  • Fasten key repeat settings: Go to System preferences > keyboard

    • Key Repeat should be fastest
    • Delay Until Repeat should be one less than shortest
  • Upgrade bash and make it default shell: https://www.shell-tips.com/mac/upgrade-bash/

  • Execute ~/.bashrc on startup

    • In MacOS ~/.bashrc is not executed on startup so create ~/.bash_profile and source ~/.bashrc into it. See this for details