]> Sergey Matveev's repositories - codecomm.git/commitdiff
Trivial CodeCommEdit
authorSergey Matveev <stargrave@stargrave.org>
Wed, 27 May 2020 20:38:11 +0000 (23:38 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 27 May 2020 20:38:11 +0000 (23:38 +0300)
plugin/codecomm.vim

index 2f108853e649de15f9d3a904caa915ada88c3ba0..00efad25d0c739e6296c3ed315137dd817999bd2 100644 (file)
@@ -85,5 +85,6 @@ function! s:CodeCommClear()
 endfunction
 
 command! CodeCommClear call <SID>CodeCommClear()
 endfunction
 
 command! CodeCommClear call <SID>CodeCommClear()
+command! CodeCommEdit :execute "edit " . g:codecomm_file
 command! -range CodeComm <line1>, <line2> call <SID>CodeComm()
 vnoremap <silent><Leader>cc :call <SID>CodeComm()<CR>
 command! -range CodeComm <line1>, <line2> call <SID>CodeComm()
 vnoremap <silent><Leader>cc :call <SID>CodeComm()<CR>