some chagnes
This commit is contained in:
parent
d2599fa18a
commit
e3086e95db
@ -19,6 +19,6 @@ augroup filetype_python
|
|||||||
autocmd FileType python nnoremap <buffer> <localleader>c I#cesc>
|
autocmd FileType python nnoremap <buffer> <localleader>c I#cesc>
|
||||||
autocmd FileType python :iabbrev <buffer> iff if:<left>
|
autocmd FileType python :iabbrev <buffer> iff if:<left>
|
||||||
autocmd FileType python highlight Excess ctermbg=DarkGrey guibg=Black
|
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
|
autocmd FileType python set nowrap
|
||||||
augroup END
|
augroup END
|
||||||
|
@ -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.df "diff HEAD^ HEAD"
|
||||||
git config --global alias.caa "commit -a --amend"
|
git config --global alias.caa "commit -a --amend"
|
||||||
alias dc=docker-compose
|
alias dc=docker-compose
|
||||||
|
alias dw='docker-compose exec web'
|
||||||
alias start_dropbox='~/.dropbox-dist/dropboxd'
|
alias start_dropbox='~/.dropbox-dist/dropboxd'
|
||||||
alias unzip_CN="unzip -O GB18030"
|
alias unzip_CN="unzip -O GB18030"
|
||||||
alias cnpm="npm --registry=https://registry.npm.taobao.org \
|
alias cnpm="npm --registry=https://registry.npm.taobao.org \
|
||||||
|
@ -15,3 +15,4 @@ alias d='fasd -d' # directory
|
|||||||
alias f='fasd -f' # file
|
alias f='fasd -f' # file
|
||||||
alias z='fasd_cd -d' # cd, same functionality as j in autojump
|
alias z='fasd_cd -d' # cd, same functionality as j in autojump
|
||||||
alias zz='fasd_cd -d -i' # interactive directory jump
|
alias zz='fasd_cd -d -i' # interactive directory jump
|
||||||
|
alias v='f -e vim'
|
||||||
|
@ -82,8 +82,7 @@ function test_proxy() {
|
|||||||
curl www.google.com
|
curl www.google.com
|
||||||
}
|
}
|
||||||
function set_proxy() {
|
function set_proxy() {
|
||||||
export http_proxy=http://127.0.0.1:8118/
|
export all_proxy=http://127.0.0.1:8118/
|
||||||
export https_proxy=http://127.0.0.1:8118/
|
|
||||||
# export https_proxy=socks5://127.0.0.1:1080/
|
# export https_proxy=socks5://127.0.0.1:1080/
|
||||||
# export http_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/
|
export http_proxy=socks5://127.0.0.1:1080/
|
||||||
}
|
}
|
||||||
function unset_proxy() {
|
function unset_proxy() {
|
||||||
unset https_proxy
|
unset all_proxy
|
||||||
unset http_proxy
|
|
||||||
}
|
}
|
||||||
function install_jsctags {
|
function install_jsctags {
|
||||||
npm install jsctags -g
|
npm install jsctags -g
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
__git_files () {
|
__git_files () {
|
||||||
_wanted files expl 'local files' _files
|
_wanted files expl 'local files' _files
|
||||||
}
|
}
|
||||||
|
alias gfR='gf origin master; gwR origin/master'
|
||||||
|
@ -15,7 +15,6 @@ bindkey -M viins '^n' down-line-or-history
|
|||||||
bindkey -M viins '^y' yank
|
bindkey -M viins '^y' yank
|
||||||
bindkey -M viins '^w' backward-kill-word
|
bindkey -M viins '^w' backward-kill-word
|
||||||
bindkey -M viins '^u' backward-kill-line
|
bindkey -M viins '^u' backward-kill-line
|
||||||
bindkey -M viins '^h' backward-delete-char
|
|
||||||
bindkey -M viins '^?' backward-delete-char
|
bindkey -M viins '^?' backward-delete-char
|
||||||
bindkey -M viins '^_' undo
|
bindkey -M viins '^_' undo
|
||||||
bindkey -M viins '^x^r' redisplay
|
bindkey -M viins '^x^r' redisplay
|
||||||
|
Loading…
Reference in New Issue
Block a user