diff options
Diffstat (limited to 'vim/.vim/vimrc')
| -rwxr-xr-x | vim/.vim/vimrc | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 40f41ba..c6e74a1 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc | |||
| @@ -45,12 +45,7 @@ if has('python') || has('python3') | |||
| 45 | Plug 'ycm-core/YouCompleteMe', {'do': g:ycm_install_command} | 45 | Plug 'ycm-core/YouCompleteMe', {'do': g:ycm_install_command} |
| 46 | endif | 46 | endif |
| 47 | 47 | ||
| 48 | if has('nvim') | 48 | Plug 'rishi-opensource/vim-claude-code' |
| 49 | Plug 'nvim-lua/plenary.nvim' | ||
| 50 | Plug 'greggh/claude-code.nvim' | ||
| 51 | else | ||
| 52 | Plug 'rishi-opensource/vim-claude-code' | ||
| 53 | endif | ||
| 54 | 49 | ||
| 55 | call plug#end() | 50 | call plug#end() |
| 56 | 51 | ||
| @@ -162,20 +157,10 @@ function! AppendModeline() | |||
| 162 | endfunction | 157 | endfunction |
| 163 | nnoremap <silent> <Leader>ml :call AppendModeline()<CR> | 158 | nnoremap <silent> <Leader>ml :call AppendModeline()<CR> |
| 164 | 159 | ||
| 165 | " NeoVIM specifics | 160 | " vim-claude-code settings |
| 166 | if has('nvim') | 161 | let g:claude_code_map_toggle = '<C-,>' |
| 167 | nnoremap <BS> <C-W>h | 162 | let g:claude_code_position = 'right' |
| 168 | " tnoremap <Esc> <C-\><C-n> | 163 | let g:claude_code_split_ratio = 0.3 |
| 169 | augroup nvim_term | ||
| 170 | autocmd! | ||
| 171 | autocmd TermOpen * setlocal nolist | ||
| 172 | augroup END | ||
| 173 | lua require('claude-code').setup({ window = { position = 'vertical botright' } }) | ||
| 174 | else | ||
| 175 | let g:claude_code_map_toggle = '<C-,>' | ||
| 176 | let g:claude_code_position = 'right' | ||
| 177 | let g:claude_code_split_ratio = 0.3 | ||
| 178 | endif | ||
| 179 | 164 | ||
| 180 | """ PLUGIN SPECIFIC SETTINGS | 165 | """ PLUGIN SPECIFIC SETTINGS |
| 181 | if exists("g:plug_home") | 166 | if exists("g:plug_home") |
