some chagnes

This commit is contained in:
Jie Feng 2017-03-21 11:49:16 +08:00
parent d2599fa18a
commit e3086e95db
6 changed files with 6 additions and 6 deletions

View File

@ -19,6 +19,6 @@ augroup filetype_python
autocmd FileType python nnoremap <buffer> <localleader>c I#cesc>
autocmd FileType python :iabbrev <buffer> iff if:<left>
autocmd FileType python highlight Excess ctermbg=DarkGrey guibg=Black
autocmd FileType python match Excess /\%80v.*/
autocmd FileType python match Excess /\%120v.*/
autocmd FileType python set nowrap
augroup END

View File

@ -220,6 +220,7 @@ alias emacs="env LC_CTYPE=zh_CN.UTF-8 emacs"
git config --global alias.df "diff HEAD^ HEAD"
git config --global alias.caa "commit -a --amend"
alias dc=docker-compose
alias dw='docker-compose exec web'
alias start_dropbox='~/.dropbox-dist/dropboxd'
alias unzip_CN="unzip -O GB18030"
alias cnpm="npm --registry=https://registry.npm.taobao.org \

View File

@ -15,3 +15,4 @@ alias d='fasd -d' # directory
alias f='fasd -f' # file
alias z='fasd_cd -d' # cd, same functionality as j in autojump
alias zz='fasd_cd -d -i' # interactive directory jump
alias v='f -e vim'

View File

@ -82,8 +82,7 @@ function test_proxy() {
curl www.google.com
}
function set_proxy() {
export http_proxy=http://127.0.0.1:8118/
export https_proxy=http://127.0.0.1:8118/
export all_proxy=http://127.0.0.1:8118/
# export https_proxy=socks5://127.0.0.1:1080/
# export http_proxy=socks5://127.0.0.1:1080/
}
@ -92,8 +91,7 @@ function set_ss_proxy() {
export http_proxy=socks5://127.0.0.1:1080/
}
function unset_proxy() {
unset https_proxy
unset http_proxy
unset all_proxy
}
function install_jsctags {
npm install jsctags -g

View File

@ -2,3 +2,4 @@
__git_files () {
_wanted files expl 'local files' _files
}
alias gfR='gf origin master; gwR origin/master'

View File

@ -15,7 +15,6 @@ bindkey -M viins '^n' down-line-or-history
bindkey -M viins '^y' yank
bindkey -M viins '^w' backward-kill-word
bindkey -M viins '^u' backward-kill-line
bindkey -M viins '^h' backward-delete-char
bindkey -M viins '^?' backward-delete-char
bindkey -M viins '^_' undo
bindkey -M viins '^x^r' redisplay