git reset HEAD~1 --soft
git checkout -- (file name)
" My which-key mappings | |
" Define prefix dictionary | |
let g:which_key_map = { | |
\ 'h': [':History', 'History'], | |
\ 'n': [':NERDTreeToggle', 'NERDTree toggle'], | |
\ 'u': [':MundoToggle', 'Undo tree'], | |
\ } | |
let g:which_key_map.b = { |
#!/bin/bash | |
cd ~/blog | |
tmux new -s Blog -d | |
tmux send-keys -t Blog 'git s' C-m | |
tmux rename-window -t Blog Zsh | |
tmux new-window -t Blog | |
tmux send-keys -t Blog 'vim' C-m | |
tmux rename-window -t Blog Vim |