Skip to content

jfeaver/dotfiles

Repository files navigation

Dotfiles

A collection of my config files for ZSH, Oh-My-Zsh, Vim, Tmux, and Powerline. This has been inspired by Dr. Bunsen's Text Triumvirate.

Setup

  1. Clone this repository into your home directory: git clone git@github.com:jfeaver/dotfiles.git ~/dotfiles

  2. (Mac) Install

  • Homebrew
    • Then use brew to install zsh, vim (vim-gtk3 if there are options - see the next step), git, tmux
  • Node (using nvm or instructions on the website)
  1. (Ubuntu) Install ZSH, Node

  2. Install Vim (make sure you install the non-"Tiny version without GUI" such as vim-gtk3), Vundle and run the command to install Vundle plugins: :PluginInstall

  3. Install Oh-My-Zsh because it will create some config files and overwrite the symlinks that we'll create in the next couple of steps (zshrc for me).

  4. Move or remove existing config files (if they exist):

  • ~/.atom/config.cson
  • ~/.zshrc
  • ~/.omzshrc
  • ~/.vimrc
  • ~/.tmux.conf
  • ~/.rvmrc
  • ~/.gemrc
  • ~/.gitconfig
  • ~/.gitignore_global
  • ~/.ssh/config
  • ~/.agignore
  1. Run ./setup.sh (Creates symbolic links from the home directory to the dotfiles directory)

  2. Change the zshrc theme to your own in ~/dotfiles/omzshrc

  3. Install

  • The tmux plugin manager and then use the prefix-I command to install plugins (for copy/paste in tmux).
  • ag for searching files.
  • One of the keyboard mapping tools (see Caps and R-ctrl key remapping)

Software

tmux might need reattach-to-user-namespace which can be installed via Homebrew (it allows us to copy/paste inside tmux sessions in OSX).

Caps and R-ctrl key remapping

Mac: Change Keyboard Modifier Keys, install Karabiner and change left control settings (after granting Karabiner accessibility options in Security preferences) Linux: xcape(see zshrc config) and GNOME Tweaks (sudo apt install gnome-tweaks): Keyboard -> Additional Layout Options -> Caps Lock behavior -> Make Caps Lock an additional Ctrl

Open ~/.config/karabiner/karabiner.json and add/replace with these rules: rules: [ { "manipulators": [ { "description": "Change caps_lock to control.", "from": { "key_code": "caps_lock", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_control" } ], "to_if_alone": [ { "key_code": "escape" } ], "type": "basic" } ] } ]

About

My Dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published