Browse Source

Minor additions.

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
6584668aad
  1. 8
      dotfiles/.bash_aliases
  2. 3
      dotfiles/.vimrc

8
dotfiles/.bash_aliases

@ -1,18 +1,19 @@
# system
alias bs="xmodmap -e \"clear Lock\""
xmodmap -e "clear Lock"
alias c="clear"
shopt -s dotglob
alias reb="sudo shutdown -r 0"
alias sd="sudo shutdown 0"
alias slp="systemctl suspend"
source /usr/share/bash-completion/completions/git
# directories
alias cdr="cd ~/../../"
alias cdd="cd ~/Downloads"
alias 221="cd ~/Documents/School/221"
alias 221lt="okular ~/Downloads/Textbook.pdf"
alias mlt="okular ~/Downloads/Textbook.pdf"
alias p1="cd ~/258/258-labs-self/l5/p1"
alias p2="cd ~/258/258-labs-self/l5/p2"
alias l5="cd ~/258/258-labs-self/l5"
alias lab="cd ~/258/258-labs-self"
@ -31,6 +32,7 @@ alias ga="git add *"
alias gai="git add .gitignore"
alias gd="git diff"
alias gdc="git diff --cached"
alias gstore="git config credential.helper store"
gc(){
git commit -m "$1"
}

3
dotfiles/.vimrc

@ -17,3 +17,6 @@ Plug 'whatyouhide/vim-gotham'
call plug#end()
colorscheme gotham
map <Enter> o<ESC>
map <S-Enter> O<ESC>
Loading…
Cancel
Save