mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-25 16:55:43 +00:00
fixes
This commit is contained in:
parent
6ad0219033
commit
a9817ad3dc
3 changed files with 10 additions and 3 deletions
|
@ -52,6 +52,6 @@ symbol = "🅰 "
|
|||
symbol = " "
|
||||
|
||||
[character]
|
||||
symbol = "❯"
|
||||
success_symbol = "❯"
|
||||
vicmd_symbol = "❮"
|
||||
|
||||
|
|
|
@ -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 <silent> <space>d :<C-u>CocList diagnostics<cr>
|
|||
nnoremap <silent> <space>s :<C-u>CocList -I symbols<cr>
|
||||
" Code actions
|
||||
nmap <leader>do <Plug>(coc-codeaction)
|
||||
" Rename current world
|
||||
nmap <leader>rn <Plug>(coc-rename)
|
||||
" Use K to show documentation in preview window.
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
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$'
|
||||
\ }
|
||||
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue