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 = " "
|
symbol = " "
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
symbol = "❯"
|
success_symbol = "❯"
|
||||||
vicmd_symbol = "❮"
|
vicmd_symbol = "❮"
|
||||||
|
|
||||||
|
|
|
@ -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$'
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
|
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue