/dotfiles

my ~/.files

Primary LanguageShell

dotfiles

Build a system with software, dotfiles, etc, for productivity using Ansible.

Dependencies

  • git
  • ansible

Usage

To deploy to localhost:

curl https://raw.githubusercontent.com/dolph/dotfiles/master/bootstrap.sh | bash
cd $HOME/dotfiles
source ~/venv/ansible/bin/activate
ansible-playbook --ask-become-pass headless.yml # or desktop.yml

Desktop interface design: i3 + urvxt + tmux + vim

Motions

Each layer has a different modifier key to control motions, but the same motions have the same effect at each layer.

  • i3 modifier: Alt
      • Tab / Shift + Tab: switch workspaces
      • H / J / K / L: switch containers
  • tmux modifier: Ctrl
      • Tab / Shift + Tab: switch windows
      • H / J / K / L: switch panes
  • vim modifier: Ctrl
      • H / J / K / L: switch buffers

tmux and vim seamlessly share the same modifier key.

Clipboard

Copying text at any one layer should make it available to paste at any other layer in the stack.

  • i3:
    • Copy: Ctrl + Shift + C
    • Paste Ctrl + Shift + V
  • urvxt:
    • Copy: Ctrl + Shift + C
    • Paste Ctrl + Shift + V
  • tmux:
    • Copy: Ctrl + a, V, make selection, Y
  • vim:
    • Paste in insert mode: Ctrl + Shift + V
    • Paste in normal mode: "+gP