176

GitHub - bitboxer/dotfiles: This is how I configure the machine I work on

 6 years ago
source link: https://github.com/bitboxer/dotfiles
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

My dotfiles

This is my dotfiles repo with all the things I need for my day to day work. I am developing inside of a vagrant box that is provisioned via ansible. Start it via vagrant up && vagrant ssh. From time to time I will do a vagrant destroy to have a clean machine.

There is lot of things configured and installed into that vagrant box. For details you can look into the ansible playbook and the configuration of all the tools inside of the tilde directory.

For my day to day work I am using tmux and neovim together with lots of other tools and programming languages. I write code mostly in Elixir, Ruby and Javascript and have the tooling optimized for that.

I have no developer tools installed on my mac, but added a couple of apps on my mac to make it my ideal working machine. Most of them can be found in this article.

Clipboard

To have a clipboard that is shared with the terminal session in my vagrant box I am using the X11 protocol. Details for this can be found in this blogpost.

Keyboard

I have modified my keyboard a bit for my needs.

  • I am using a custom german keyboard layout with [ ] on the ö and ä keys.
  • A karabiner-elements config that
    • maps Caps Lock to Escape on short presses and Ctrl on long presses
    • maps left Ctrl to a hyper key meaning it functions as a combination of Ctrl+Alt+Cmd. This enables another layer for shortcuts.

Persistant storage

Vagrant boxes can be thrown away. Everything that I don't want to reinstall after I rebuild the box is in another disk image. I am using the vagrant-persistant-storage plugin for this.

Install it via

$ vagrant plugin install vagrant-persistent-storage

Thanks

Most of this config is copied and/or inspired by others. Some of them are:

… and many more. Thanks to you all for your input and help!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK