From 26b797a11179ea30fd4cd65dd4676844439e9ced Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Fri, 13 Oct 2023 00:55:11 +0800 Subject: [PATCH] Disable Copilot by default, but set a shortcut to enable it. --- .vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 0ee82ae..f025d66 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -34,6 +34,7 @@ endif " let g:DisableAutoPHPFolding = 1 let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] +let g:copilot_enabled = v:false let g:indent_guides_auto_colors = 0 let g:indent_guides_enable_on_vim_startup = 1 hi IndentGuidesEven ctermbg=8 @@ -42,7 +43,7 @@ hi IndentGuidesOdd ctermbg=236 " mapping cnoremap pumvisible() ? "\" : "\" cnoremap pumvisible() ? "\" : "\" -map q: :q +map :Copilot enable nmap [Z W nmap :TagbarToggle nmap w