diff options
-rw-r--r-- | projects/aodocs.vim | 6 | ||||
-rw-r--r-- | vimrc | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim index 971d3c8..0d9c2e3 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -45,6 +45,12 @@ augroup AODocs autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION/*.js \ setlocal path+=$VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION_MODULE + " Turn on context.vim + autocmd BufRead,BufEnter + \ $VIM_PROJECT_PATH_AODOCS_GO/* + \,$VIM_PROJECT_PATH_AODOCS/* + \ ContextEnable + autocmd BufRead,BufEnter *.todo \ nnoremap <buffer> <Leader>yy :call <SID>TodoCopyLast()<CR> augroup END @@ -491,6 +491,7 @@ " " 2022.06.01: " * Add `yp` mapping to paste from the "0 register. +" * Disable context.vim by default. " @@ -742,6 +743,11 @@ nnoremap gS :call argwrap#toggle() <Bar> silent! call repeat#set('gS')<cr> command! -bar -bang -range -nargs=* T <line1>,<line2>TComment<bang> <args> +" Context +" Disable Context by default. +let g:context_enabled = 0 + + " Mappings " ======== |