Forked vim-snippets and transferred snippets
I wanted to alter the default snippets so I thought I might as well move all mine into there as well, instead of keeping track of changes in 2 repositories. Also, having become comfortable with Vim folding, I thought it'd be more organized to consolidate similar alias files (i.e. 209 -> school, laptop/my_pc -> pc) and then add folding to the top-level files.
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
# Both PC/Laptop {{{
|
||||
if [ "$(whoami)" == "kevin" ]; then
|
||||
alias vbn="cvlc --loop --alsa-gain 1 ~/Downloads/brown-noise.mp3"
|
||||
|
||||
alias mt="ok ~/Documents/School/calc-textbook.pdf"
|
||||
alias clc="gcalccmd"
|
||||
alias 36t="ok ~/Documents/School/236-textbook.pdf"
|
||||
fi
|
||||
# Both PC/Laptop }}}
|
||||
|
||||
# NZXT {{{
|
||||
if [ "$(hostname)" == "NZXT" ]; then
|
||||
rt() {
|
||||
output="HDMI-0"
|
||||
@@ -33,3 +44,15 @@ if [ "$(hostname)" == "NZXT" ]; then
|
||||
alias rcg="d ~/Documents/coding/random-color-generator"
|
||||
alias dcr="d ~/Documents/coding/dcr-logger"
|
||||
fi
|
||||
# NZXT }}}
|
||||
|
||||
# Laptop {{{
|
||||
if [ "$(hostname)" == "X1-Carbon" ]; then
|
||||
# key swaps
|
||||
xmodmap -e "keycode 9 = Escape"
|
||||
xmodmap -e "keycode 22 = Home"
|
||||
xmodmap -e "keycode 119 = End"
|
||||
xmodmap -e "keycode 110 = Delete"
|
||||
xmodmap -e "keycode 115 = BackSpace"
|
||||
fi
|
||||
# Laptop }}}
|
||||
|
||||
Reference in New Issue
Block a user