add rhubarb and such
This commit is contained in:
parent
c55035e0f2
commit
0bc180e0f3
|
@ -10,8 +10,9 @@
|
||||||
],
|
],
|
||||||
"eslint.autoFixOnSave": true,
|
"eslint.autoFixOnSave": true,
|
||||||
"diagnostic.checkCurrentLine": true,
|
"diagnostic.checkCurrentLine": true,
|
||||||
|
"codeLens.enabled": true,
|
||||||
"solargraph.autoformat": true,
|
"solargraph.autoformat": true,
|
||||||
"solargraph.formatting": true,
|
"solargraph.formatting": true,
|
||||||
"solargraph.hover": true,
|
"solargraph.hover": true,
|
||||||
"solargraph.diagnostics": true,
|
"solargraph.diagnostics": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,7 @@ Plug 'leafgarland/typescript-vim'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'github/copilot.vim'
|
Plug 'github/copilot.vim'
|
||||||
|
Plug 'tpope/vim-rhubarb'
|
||||||
|
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
|
@ -22,6 +22,7 @@ endif
|
||||||
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
|
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
|
||||||
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||||
|
|
||||||
|
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||||
" Use `[g` and `]g` to navigate diagnostics
|
" Use `[g` and `]g` to navigate diagnostics
|
||||||
" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
|
" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
|
||||||
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
||||||
|
@ -110,3 +111,4 @@ let g:coc_global_extensions = [
|
||||||
\'coc-json',
|
\'coc-json',
|
||||||
\'coc-git'
|
\'coc-git'
|
||||||
\]
|
\]
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $# -eq 1 ]]; then
|
||||||
selected=$1
|
selected=$1
|
||||||
else
|
else
|
||||||
selected=$(find ~/ ~/Development -mindepth 1 -maxdepth 1 -type d | fzf)
|
selected=$(find ~/.config ~/Development ~/Development/keeps-next ~/Development/keeps-frontend -mindepth 1 -maxdepth 1 -type d | fzf)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $selected ]]; then
|
if [[ -z $selected ]]; then
|
||||||
|
|
Loading…
Reference in New Issue