Browse Source

[nvim] Github Copilot config

master
Fredrik Ekre 2 years ago
parent
commit
c5463da440
No known key found for this signature in database
GPG Key ID: DE82E6D5E364C0A2
  1. 10
      .vimrc

10
.vimrc

@ -50,6 +50,9 @@ call plug#begin('~/.vim/plugged')
" Catppuccin color themes " Catppuccin color themes
Plug 'catppuccin/nvim', { 'as': 'catppuccin' } Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
" Github Copilot
Plug 'github/copilot.vim'
end end
call plug#end() call plug#end()
@ -116,6 +119,13 @@ call plug#end()
:xnoremap <C-c><C-c> <Plug>SlimeRegionSend :xnoremap <C-c><C-c> <Plug>SlimeRegionSend
:xnoremap <S-CR> <Plug>SlimeRegionSend :xnoremap <S-CR> <Plug>SlimeRegionSend
" Configure Copilot and limit to certain filetypes
let g:copilot_filetypes = {
\ '*': v:false,
\ 'julia': v:true,
\ 'markdown': v:true,
\}
" Save folds between sessions " Save folds between sessions
augroup SaveFileView augroup SaveFileView
autocmd! autocmd!

Loading…
Cancel
Save