Skip to content

Commit b2e7f8f

Browse files
committed
Adds copilot plugins, etc
1 parent b884153 commit b2e7f8f

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

vim/plugins

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ plugins=(
5555
https://github.com/coderifous/textobj-word-column.vim.git
5656
https://github.com/coderifous/working-set.vim.git
5757
https://github.com/majutsushi/tagbar.git
58+
https://github.com/junegunn/fzf.git
5859
https://github.com/junegunn/fzf.vim.git
5960
https://github.com/slim-template/vim-slim.git
6061
https://github.com/elixir-lang/vim-elixir.git
@@ -68,6 +69,9 @@ plugins=(
6869

6970
https://github.com/nanotech/jellybeans.vim.git
7071
https://github.com/nightsense/stellarized.git
72+
73+
https://github.com/github/copilot.vim
74+
https://github.com/gcmt/taboo.vim
7175
)
7276

7377
bundle_dir=$HOME/.vim/bundle

vim/vimrc_mappings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
" Key Mappings
22
" ------------------------------------------------------------
33

4+
imap <C-c> <Esc>
5+
imap <C-g> <Esc>:Copilot<cr>
6+
47
" Eval line of (V)im script
58
nnoremap <Leader>V 0v$hy:<C-r>"<cr>
69

vim/vimrc_plugins

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,9 @@ highlight clear ALEWarningSign
220220
" Because youcompleteme says to do this:
221221
let g:ycm_key_list_select_completion = ['<C-n>', '<C-p>']
222222

223+
" Github Copilot mappings
224+
nmap <Leader>gc :Copilot<CR>
225+
imap <silent><script><expr> <C-]> copilot#Next()
226+
" imap <silent><script><expr> <C-[> copilot#Previous()
227+
228+
let g:copilot_node_command = "~/.nvm/versions/node/v21.6.2/bin/node"

0 commit comments

Comments
 (0)