python, docker_clean_images, scp
This commit is contained in:
parent
013405a3a6
commit
6867617f8f
@ -7,7 +7,7 @@ let g:pymode_run_bind = "<C-S-e>"
|
|||||||
" Override view python doc key shortcut to Ctrl-Shift-d
|
" Override view python doc key shortcut to Ctrl-Shift-d
|
||||||
let g:pymode_doc_bind = "<C-S-d>"
|
let g:pymode_doc_bind = "<C-S-d>"
|
||||||
let g:pymode_lint_ignore = "W0611"
|
let g:pymode_lint_ignore = "W0611"
|
||||||
let g:pymode_options_max_line_length=120
|
let g:pymode_options_max_line_length=160
|
||||||
|
|
||||||
augroup filetype_python
|
augroup filetype_python
|
||||||
autocmd!
|
autocmd!
|
||||||
@ -18,7 +18,5 @@ augroup filetype_python
|
|||||||
autocmd FileType python setlocal statusline=%f-%y-[%l]/[%L]
|
autocmd FileType python setlocal statusline=%f-%y-[%l]/[%L]
|
||||||
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 match Excess /\%120v.*/
|
|
||||||
autocmd FileType python set nowrap
|
autocmd FileType python set nowrap
|
||||||
augroup END
|
augroup END
|
||||||
|
@ -11,8 +11,8 @@ let g:syntastic_quiet_messages = {'level': 'warnings'}
|
|||||||
" ~/.vimrc.after
|
" ~/.vimrc.after
|
||||||
let g:syntastic_javascript_checkers = ['eslint']
|
let g:syntastic_javascript_checkers = ['eslint']
|
||||||
let g:syntastic_python_checkers = ['flake8']
|
let g:syntastic_python_checkers = ['flake8']
|
||||||
let g:syntastic_python_flake8_args='--ignore=F401,F403,F405,W0401'
|
let g:syntastic_python_flake8_args='--ignore=F401,F403,F405,W0401,E501'
|
||||||
" let g:syntastic_python_pylint_post_args="--max-line-length=120"
|
let g:syntastic_python_pylint_post_args="--max-line-length=160"
|
||||||
|
|
||||||
|
|
||||||
" I have no idea why this is not working, as it used to
|
" I have no idea why this is not working, as it used to
|
||||||
|
2
vimrc
2
vimrc
@ -119,7 +119,7 @@ set smartcase " ...unless we type a capital
|
|||||||
|
|
||||||
|
|
||||||
" ================ Python ===========================
|
" ================ Python ===========================
|
||||||
autocmd FileType python set colorcolumn=120
|
autocmd FileType python set colorcolumn=160
|
||||||
|
|
||||||
" ================ Custom Settings ========================
|
" ================ Custom Settings ========================
|
||||||
so ~/.yadr/vim/settings.vim
|
so ~/.yadr/vim/settings.vim
|
||||||
|
@ -241,10 +241,13 @@ case "$OSTYPE" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
alias ssh_by_password='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
|
alias ssh_by_password='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
|
||||||
alias ssh_copy_id_by_password='ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no'
|
alias ssh_copy_id='ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no'
|
||||||
alias ssh_="ssh -F .ssh/config"
|
alias ssh_="ssh -F ~/Projects/rallets-server/rallets-fabric/.ssh/config"
|
||||||
alias scp_="scp -F .ssh/config"
|
alias scp_="scp -F ~/Projects/rallets-server/rallets-fabric/.ssh/config"
|
||||||
alias chrome_proxy="google-chrome --proxy-server='http://127.0.0.1:8118'"
|
alias chrome_proxy="google-chrome --proxy-server='http://127.0.0.1:8118'"
|
||||||
alias ls_folder_size="du -sch .[!.]* * |sort -h"
|
alias ls_folder_size="du -sch .[!.]* * |sort -h"
|
||||||
alias top_by_memory="top -o %MEM"
|
alias top_by_memory="top -o %MEM"
|
||||||
alias gcaa="gia .; gcF"
|
alias gcaa="gia .; gcF"
|
||||||
|
alias ror_ctags="ctags -R --languages=ruby --exclude=.git --exclude=log . \$(bundle list --paths)"
|
||||||
|
alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user