Skip to content

Instantly share code, notes, and snippets.

View hoanghuynh's full-sized avatar

Hoang Huynh hoanghuynh

View GitHub Profile
@hoanghuynh
hoanghuynh / cVim config
Last active August 29, 2015 14:15
cVim Chrome Extension
map D scrollPageUp
let blacklists = ["https://mail.google.com/*","https://www.facebook.com/*"]
$tablet-width: 768px;
$phone-width: 320px;
$desktop-width: 1024px;
$widescreen-width: 1400px;
@mixin tablet {
@media (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {
@content;
}
[
{ "keys": ["ctrl+shift+up"], "command": "swap_line_up" },
{ "keys": ["ctrl+shift+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }
]
[user]
name = Hoang Huynh
email =
[branch]
autosetupmerge = true
[core]
editor = vim
excludesfile = /Users/hoang/.gitignore
[color]
ui = always
# alias
alias l='ls -ClA'
alias 'grep=grep --color=auto'
alias rsync='rsync -rvzpP --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r'
alias rsyncr='rsync -rvzpP --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "ssh -p 31415"'
alias sshrsub='ssh -R 52698:localhost:52698'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias cls='printf "\033c"'