Browse Source

Fixed gpla and Vim mappings

- gpla: Pop stashed changes before clearing them.
- Vim mappings: Remove spacing at end because Vim already adds a space
  after mappings.
red-hat-laptop
Kevin Mok 7 years ago
parent
commit
1338b0ece4
  1. 2
      aliases/.bash_aliases
  2. 2
      aliases/.git_aliases
  3. 2
      aliases/.pc_aliases

2
aliases/.bash_aliases

@ -49,5 +49,5 @@ alias rx="redshift -x"
usnp_dir="~/.vim/plugged/vim-snippets/UltiSnips"
alias snp="d $usnp_dir"
vsnp() { vi ~/.vim/plugged/vim-snippets/UltiSnips/"$1".snippets ; }
alias tmsp="vi $usnp_dir/texmath.snippets"
alias tm="vi $usnp_dir/texmath.snippets"
# }}} #

2
aliases/.git_aliases

@ -39,7 +39,7 @@ gunc() { git update-index --assume-unchanged $1 ; }
gpla() {
cmds="lc snp 9r sch"
for cmd in $cmds; do
eval $cmd && gst && gpl && gclear
eval $cmd && gst && gpl && gstp && gclear
done
}
# Functions }}}

2
aliases/.pc_aliases

@ -4,7 +4,7 @@ if [ "$(whoami)" == "kevin" ]; then
alias mt="ok ~/Documents/School/calc-textbook.pdf"
alias clc="gcalccmd"
alias 36t="ok ~/Documents/School/236-textbook.pdf"
alias 6t="ok ~/Documents/School/236-textbook.pdf"
fi
# Both PC/Laptop }}}

Loading…
Cancel
Save