change zshc to use vim
This commit is contained in:
parent
8fc2eb4ba4
commit
37d49b4a8b
@ -80,3 +80,7 @@ export PROMPT_COMMAND='printf "\e]9;9;%s\e\\" "$(wslpath -m "$PWD")"'
|
|||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
|
# tabtab source for packages
|
||||||
|
# uninstall by removing these lines
|
||||||
|
[[ -f ~/.config/tabtab/zsh/__tabtab.zsh ]] && . ~/.config/tabtab/zsh/__tabtab.zsh || true
|
||||||
|
@ -23,10 +23,18 @@ Plug 'preservim/nerdtree'
|
|||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
|
||||||
Plug 'mattn/emmet-vim'
|
Plug 'mattn/emmet-vim'
|
||||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
|
||||||
|
|
||||||
|
" Svelte support
|
||||||
|
Plug 'leafOfTree/vim-svelte-plugin'
|
||||||
|
|
||||||
|
" Multi Cursor select
|
||||||
|
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
|
||||||
|
|
||||||
|
" Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
|
||||||
" List ends here. Plugins become visible to Vim after this call.
|
" List ends here. Plugins become visible to Vim after this call.
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@ -50,6 +58,8 @@ let g:lightline = {
|
|||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
nmap <leader>rn <Plug>(coc-rename)
|
nmap <leader>rn <Plug>(coc-rename)
|
||||||
|
|
||||||
|
"
|
||||||
|
nmap <C-p> :FZF<CR>
|
||||||
|
|
||||||
" COC Configs
|
" COC Configs
|
||||||
set updatetime=300
|
set updatetime=300
|
||||||
@ -77,4 +87,4 @@ function! s:CloseIfOnlyNerdTreeLeft()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:python3_host_prog = expand('~/.pyenv/shims/python3.9')
|
" let g:python3_host_prog = expand('~/.pyenv/shims/python3.9')
|
||||||
|
@ -9,7 +9,7 @@ alias yoink="curl"
|
|||||||
|
|
||||||
alias pls='sudo -E env "PATH=$PATH"'
|
alias pls='sudo -E env "PATH=$PATH"'
|
||||||
|
|
||||||
alias zshc="vim ~/.dotfiles/configs/.zshrc"
|
alias zshc="cd ~/.dotfiles && vim configs/.zshrc"
|
||||||
alias zshu="source ~/.zshrc"
|
alias zshu="source ~/.zshrc"
|
||||||
|
|
||||||
alias nano="nvim"
|
alias nano="nvim"
|
||||||
|
Loading…
Reference in New Issue
Block a user