This commit is contained in:
Tine Jozelj 2021-04-30 11:01:56 +02:00
parent 6ad0219033
commit a9817ad3dc
3 changed files with 10 additions and 3 deletions

View file

@ -52,6 +52,6 @@ symbol = "🅰 "
symbol = " " symbol = " "
[character] [character]
symbol = "" success_symbol = ""
vicmd_symbol = "" vicmd_symbol = ""

View file

@ -37,8 +37,10 @@ Plug 'peitalin/vim-jsx-typescript'
Plug 'styled-components/vim-styled-components', { 'branch': 'main' } Plug 'styled-components/vim-styled-components', { 'branch': 'main' }
Plug 'jparise/vim-graphql' Plug 'jparise/vim-graphql'
Plug 'kevinoid/vim-jsonc' Plug 'kevinoid/vim-jsonc'
" Code helpers
Plug 'jiangmiao/auto-pairs'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end() call plug#end()
""""" """""
@ -64,6 +66,8 @@ nnoremap <silent> <space>d :<C-u>CocList diagnostics<cr>
nnoremap <silent> <space>s :<C-u>CocList -I symbols<cr> nnoremap <silent> <space>s :<C-u>CocList -I symbols<cr>
" Code actions " Code actions
nmap <leader>do <Plug>(coc-codeaction) nmap <leader>do <Plug>(coc-codeaction)
" Rename current world
nmap <leader>rn <Plug>(coc-rename)
" Use K to show documentation in preview window. " Use K to show documentation in preview window.
nnoremap <silent> K :call <SID>show_documentation()<CR> nnoremap <silent> K :call <SID>show_documentation()<CR>
function! s: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_max_depth=40
let g:ctrlp_show_hidden=1 let g:ctrlp_show_hidden=1
let g:ctrlp_custom_ignore = { 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$' \ 'file': '\.so$\|\.dat$|\.DS_Store$'
\ } \ }

View file

@ -36,6 +36,9 @@ bindkey -M vicmd "/" history-incremental-search-forward
# PATH # PATH
export PATH=$PATH:$HOME/.bin:$HOME/go/bin export PATH=$PATH:$HOME/.bin:$HOME/go/bin
# ENV
export EDITOR=vim
# Starship # Starship
export STARSHIP_CONFIG=~/.starship.toml export STARSHIP_CONFIG=~/.starship.toml
eval "$(starship init zsh)" eval "$(starship init zsh)"