diff --git a/starship/starship.toml b/starship/starship.toml index 242967a..fb20cb8 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -52,6 +52,6 @@ symbol = "🅰 " symbol = " " [character] -symbol = "❯" +success_symbol = "❯" vicmd_symbol = "❮" diff --git a/vim/vimrc b/vim/vimrc index bbeddfb..030524d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -37,8 +37,10 @@ Plug 'peitalin/vim-jsx-typescript' Plug 'styled-components/vim-styled-components', { 'branch': 'main' } Plug 'jparise/vim-graphql' Plug 'kevinoid/vim-jsonc' - +" Code helpers +Plug 'jiangmiao/auto-pairs' Plug 'neoclide/coc.nvim', {'branch': 'release'} + call plug#end() """"" @@ -64,6 +66,8 @@ nnoremap d :CocList diagnostics nnoremap s :CocList -I symbols " Code actions nmap do (coc-codeaction) +" Rename current world +nmap rn (coc-rename) " Use K to show documentation in preview window. nnoremap K :call show_documentation() function! s:show_documentation() @@ -147,7 +151,7 @@ let g:ctrlp_max_files=0 let g:ctrlp_max_depth=40 let g:ctrlp_show_hidden=1 let g:ctrlp_custom_ignore = { - \ 'dir': '\.git$\|\.yardoc\|node_modules\|log\|tmp$', + \ 'dir': '\.git$\|\.yardoc\|node_modules\|log\|tmp$\|dist$', \ 'file': '\.so$\|\.dat$|\.DS_Store$' \ } diff --git a/zsh/zshrc b/zsh/zshrc index b52cfa5..cdf619b 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -36,6 +36,9 @@ bindkey -M vicmd "/" history-incremental-search-forward # PATH export PATH=$PATH:$HOME/.bin:$HOME/go/bin +# ENV +export EDITOR=vim + # Starship export STARSHIP_CONFIG=~/.starship.toml eval "$(starship init zsh)"