- Run this command in your terminal:
curl -fsSL https://raw.githubusercontent.com/kenyonj/dotfiles/main/script/remote_install | bashHere is a sampling. For a complete list of features, please review the source.
git configuration:
g:gitamend:git commit --amendamendne:git commit --amend --no-editga:git addgs:git status -sgall:git add -Agap:git add -pgb:git branchgba:git branch -agbrn:git branch -mgc:git commitgcl:git clonehc:hub clonegcm:git commit -mgco:git checkoutgcp:git cherry-pickgd:git diffgf:git fetchgl:git log -10 --pretty=coloredgm:git mergegnb:git checkout -bgp:git push -ugpf!:git push --force-with-leasegpr:hub pull-requestgr:git rebasegra!:git rebase --abortgrc!:git rebase --continuegri:git rebase -igs:git status -sstandup:git standupgcb!:git branch -d `git branch --merged | grep -v "^*" | grep -v "main" | tr -d "\n"`
zsh configuration and aliases:
..: moves up 1 directory, alias ofcd .....: moves up 2 directories, alias ofcd ../..j <part of directory name>: uses fasd to jump to previously visited directories (stored in~/.fasd). For example, if I executej localit willcdinto mydotfiles-localdirectory because it is the most recent directory I visited that matches my argument oflocal.
tmux configuration:
- Uses
CTRL-afor the command key - All of the following command keys need to be preceeded by entering command
mode:
r: reloads the~/.tmux.confconfig file^T: vertical split, 25%^U: horizontal split, 30%c: new window in current session|: splits the current pane horizontally, 50%-: splits the current pane vertically, 50%^A: cycles the cursor through the visable panes+: zooms in and out of current pane^C: clears the buffer in the current pane
neovim configuration:
- Leader key (
space-bar) followed by:e[direction]: open a netrw view in the direction (h,j,k,l) relative to the currently selected window.rc: run the current test file in a tmux panern: run the nearest to cursor test in a tmux panerl: run the last test in a tmux paned: insert a debugging statement (e.g.binding.pry) in a new line below the cursor positionr: toggle betweenRelative Numberand normal line numbering
gc: comment/uncomment the current line or the visual selection- Aliased commands
:W::w:Q::q:Wq::wqjj:ESC