Compare commits
2 Commits
70df31a6f8
...
a741674a52
Author | SHA1 | Date | |
---|---|---|---|
a741674a52 | |||
2e95d6f84f |
9
vimrc
9
vimrc
@ -44,6 +44,7 @@ au BufRead,BufNewFile .Rprofile setfiletype r
|
||||
au BufRead,BufNewFile .envrc setfiletype sh
|
||||
au BufRead,BufNewFile Dockerfile* setfiletype dockerfile
|
||||
au BufRead,BufNewFile Pipfile setfiletype toml
|
||||
au BufRead,BufNewFile kubectl-edit-status-* setfiletype yaml
|
||||
au BufWritePre *.py execute ':Black'
|
||||
au BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
|
||||
au FileType go nmap <leader>r <Plug>(go-run)
|
||||
@ -96,14 +97,6 @@ let g:vim_markdown_folding_disabled = 1
|
||||
let g:vim_markdown_frontmatter = 1
|
||||
let g:yapf_style = "pep8"
|
||||
|
||||
if has("python3")
|
||||
python3 import sys
|
||||
python3 sys.path.append("/usr/lib/python3/dist-packages")
|
||||
python3 from powerline.vim import setup as powerline_setup
|
||||
python3 powerline_setup()
|
||||
python3 del powerline_setup
|
||||
endif
|
||||
|
||||
packadd! dracula
|
||||
colorscheme dracula
|
||||
|
||||
|
2
zshrc
2
zshrc
@ -108,6 +108,7 @@ if [[ -d ~/.oh-my-zsh/plugins/just/ ]]; then
|
||||
fi
|
||||
|
||||
fpath=(/usr/local/share/zsh/site-functions $fpath)
|
||||
fpath=("${HOMEBREW_PREFIX}/share/zsh/site-functions" $fpath)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
@ -215,6 +216,7 @@ __maybesource ~/google-cloud-sdk/completion.zsh.inc
|
||||
__maybesource /usr/share/nvm/init-nvm.sh silent
|
||||
__maybesource /usr/local/opt/nvm/nvm.sh silent
|
||||
__maybesource "${NVM_DIR}/nvm.sh"
|
||||
__maybesource /home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh
|
||||
__maybesource ~/.kiex/scripts/kiex
|
||||
__maybesource ~/.config/tabtab/__tabtab.zsh
|
||||
__maybesource ~/.sdkman/bin/sdkman-init.sh
|
||||
|
Loading…
Reference in New Issue
Block a user