Giter VIP home page Giter VIP logo

dotfiles's Introduction

Kallgren's dotfiles ๐Ÿ™ƒ

Setup

git clone [email protected]:kallgren/dotfiles.git ~

Applications

  1. Install Homebrew
  2. cd ~/dotfiles
  3. brew bundle (Installs applications listed in Brewfile)
  4. Configure BetterTouchTool, Monitor Control and Flux to run at startup

VS Code

  1. ln -s ~/dotfiles/.vscode/settings.json ~/dotfiles/.vscode/keybindings.json ~/Library/Application\ Support/Code/User/
  2. Open up this repository with VS Code and install any relevant recommended extensions

Terminal

  1. Install Oh My ZSH!
  2. ln -s ~/dotfiles/.zshrc ~

BetterTouchTool

  1. Import kallgren.bttpreset
  2. Adjust trackpad rotate gesture settings (for knob-style volume control) (because it is not included in settings export):
    • Rotate block time: 0.01
    • Set needed rotation amount (degree): ~3

The preset includes:

  • App toggle keybindings (on left hand on my keyboard) for commonly used applications, using Hyper (Shift + Ctrl + Option + Command)
  • Window management keybindings (on right hand on my keyboard) using Hyper with logical placements (exploiting symbol combos to extend options, and using num layer for more complex or specific window configurations, see ZMK config)
  • Touch gestures for volume and brightness control
  • Clipboard history on Hyper + v

macOS

  • Setup Alt + Tab to toggle windows within application

Legacy iTerm2 + Tmux + Vim setup

  1. iTerm2
  2. Monaco Nerd Font
  3. brew install vim (Apple's shipped vim version may not have the termguicolors feature enabled)
  4. git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  5. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  6. ln -s ~/dotfiles/.vimrc ~/dotfiles/.tmux.conf ~
  7. mkdir -p ~/.vim/colors && cp ~/dotfiles/colors/kallgren.vim "$_"
  8. Open and configure iTerm2:
    1. Switch to Monaco Nerd Font installed earlier
    2. Create separate profiles for the dark and light theme and import the .itermcolors files
    3. Add custom keybindings to toggle between the profiles! (Ctrl + Cmd + k/l)
  9. Fire up tmux + vim
  10. Install vim plugins by running :PluginInstall inside vim
  11. Install tmux plugins by pressing prefix (Ctrl + Space), I
  12. Done! โœŒ๏ธ Switch between the light and dark color themes in vim, tmux and iterm2 at once from within vim with the single key binding ,bg

Keyboard

dotfiles's People

Contributors

kallgren avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.