This is a compilation of my dot files.
Commands:
ln -nfs ~/Developer/dotfiles/xmodmap/.xmodmap ~/.xmodmap #symlinks
Compiling custom key mappings to use across OS and tools.
# Prefer CapsLock to be Escape which is more used than Ctrl and far easier than Ctrl+[
CapsLock : Esc
# To keep usage consistent on different OS, rely on custom shortcuts instead of Ctrl/Cmd
# Note: This does however limit usage of ctrl during INS mode - as of now, still worth it.
Ctrl+Keys : <leader>+customKeys
# Custom Shortucts that are more meaningful to me than the defaults
Modifer + _
H : Home
J : PgDn
K : PgUp
L : End
h : LeftArrow
j : DownArrow
k : UpArrow
l : RightArrow
<leader>d : Open directory view
<leader>f : Search
<leader>w : Window Managment
<leader>j : Jumps
Alternatives
# Run command in Vim to install plugins (Vundle)
:PluginInstall
Use Xmodmap
xmodmap ~/.xmodmap # Apply custom key mappings
xev # Find out keycode of mouse clicks or keyboard keys
Note: Do not confuse ~/.Xmodmap
with ~/.xmodmap
.
Quick Reference Columns
Key
Shift+Key
mode_switch+Key
mode_switch+Shift+Key
AltGr+Key
AltGr+Shift+Key
Sample
keysym h = h H Left
Use HammerSpoon to map keys and perform window management
Dot Files:
- zsh/.zshrc
- zsh/.oh-my-zsh
References: Shell Install ZSH Install OMZ OMZ Alias PowerLevel9k Theme