diff --git a/.vimrc b/.vimrc index 3137189..e14f868 100644 --- a/.vimrc +++ b/.vimrc @@ -104,6 +104,7 @@ nn so :so % call plug#begin() " Coc Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'github/copilot.vim' " General Plug 'tpope/vim-commentary' Plug 'machakann/vim-sandwich' @@ -172,6 +173,15 @@ se statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} " Prettier command com! -nargs=0 Prettier :CocCommand prettier.formatFile +" `.../copilot` {{{ + +let g:copilot_node_command = "/home/h/.config/nvm/versions/node/v16.18.0/bin/node" +let g:copilot_no_tab_map = v:true +imap (copilot-next) +imap (copilot-prev) +imap