Disable Copilot by default, but set a shortcut to enable it.

This commit is contained in:
Gea-Suan Lin
2023-10-13 00:55:11 +08:00
parent 01eb165331
commit 26b797a111

View File

@@ -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 <expr> <Down> pumvisible() ? "\<C-n>" : "\<Down>"
cnoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<Up>"
map q: :q
map <C-c> :Copilot enable<CR>
nmap <Esc>[Z <C-w>W
nmap <F8> :TagbarToggle<CR>
nmap <Tab> <C-w>w