Pull in all repos function and changes to Vim

Vim:
- Local mappings to type out math notes.
- Mapping to toggle highlight searches and replace all.
- Increase linespace to display underscores.
This commit is contained in:
2018-02-09 14:43:47 -05:00
parent 4434607e03
commit 768baa4f33
4 changed files with 29 additions and 2 deletions

View File

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

View File

@@ -54,5 +54,7 @@ if [ "$(hostname)" == "X1-Carbon" ]; then
xmodmap -e "keycode 119 = End"
xmodmap -e "keycode 110 = Delete"
xmodmap -e "keycode 115 = BackSpace"
alias thn="thunar ."
fi
# Laptop }}}

View File

@@ -42,7 +42,7 @@ cd_209="d ~/Documents/School/209";
alias 209="$cd_209"
alias 9r="$cd_209/mokkar"
alias l5="$cd_209/mokkar/lab5"
alias a2="$cd_209/mokkar/a2"
alias 9a="$cd_209/mokkar/a2"
# alias cdf="ssh -t mokkar@cdf.utoronto.ca '. ./.bashrc; bash -l'"
alias cdf="echo \". ./.bashrc\"&& ssh mokkar@cdf.utoronto.ca"
mkex() { chmod 700 $1 ; }
@@ -79,3 +79,5 @@ run() {
alias mka="make all; ./bitmap_printer.out dog.bmp"
# }}}
# }}}
alias 6a="$cd_school/236/a1"