The Wayback Machine - https://web.archive.org/web/20200928065937/https://github.com/mirosval/dotfiles
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
zsh
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Dotfiles

A screenshort of the setup

My dotfiles are optimized to use the mouse as little as possible and to make navigating the terminal as pleasant as possible on macOS.

Highlights:

Contents

  • Installation
  • Usage

Installation

There is an install.sh that you should be able to just run, but be sure to go through it and review what you actually want, because it is pretty aggressive and not so well tested.

Usage

Tmux

I use TPM for maintaining plugins, after you start tmux for the first time, you need to press ctrl-a I to install the plugins.

Start with tmux new -s work or tmux attach-session -t work if you have an already running session.

  • ctrl-a c to create a new tab
  • ctrl-a - to split vertically
  • ctrl-a | to split horizontally
  • ctrl-a x to close a panel
  • ctrl-a , to rename a tab
  • ctrl-a C to clear the screen
  • ctrl-k/j/k/l to navigate between panels
  • ctrl-a 1/2/3... to switch to a different tab

NVim

I use LanguageClient for talking to the LSP Servers.

  • ctrl-k/j/k/l to navigate between panels
  • \w save
  • \ew open current directory viewer
  • \es open current directory viewer in vertical split
  • \ev open current directory viewer in horizontal split
  • \; open LanguageClient context menu
  • K LanguageClient Hover
  • gd LanguageClient Go to definition
  • LanguageClient formats on save
  • ctrl-p to trigger fuzzy finder

Hammerspoon

  • caps-lock-w Alacritty
  • caps-lock-q GraphiQL
  • caps-lock-e IntelliJ IDEA Ultimate
  • caps-lock-t TablePlus
  • caps-lock-b Firefox
  • caps-lock-c Visual Studio Code
  • caps-lock-m Messages
  • caps-lock-g Fork
  • caps-lock-s Slack
  • caps-lock-d Spotify
  • caps-lock-h Move window to the left
  • caps-lock-j Move window to the bottom
  • caps-lock-k Move window to the top
  • caps-lock-l Move window to the right
  • caps-lock-f Maximize window, repeat to cycle through sizes
  • caps-lock-y Move window one screen west
  • caps-lock-u Move window one screen south
  • caps-lock-i Move window one screen north
  • caps-lock-o Move window one screen east

Karabiner

  • Remap caps-lock to esc when pressed shortly and to hyper when long-pressed.

Rust utils

I use Rust re-implementations of many standard utilities.

  • bat like cat but prettier
  • exa replacement for ls
  • fd replacement for find
  • procs replacement for ps
  • ripgrep replacement for ag
  • sd replacement for sed
  • tokei for counting lines of code
  • xsv csv manipulation similar to jq
You can’t perform that action at this time.