Add C inline comment surround mapping
This commit is contained in:
parent
13acc08b4f
commit
12755c630b
@ -10,6 +10,8 @@ setlocal textwidth=0
|
|||||||
nnoremap K :YcmCompleter GetDoc<CR>
|
nnoremap K :YcmCompleter GetDoc<CR>
|
||||||
" "ys{motion}t" turns "word" -> "TODO(word):"
|
" "ys{motion}t" turns "word" -> "TODO(word):"
|
||||||
let b:surround_{char2nr("t")} = "TODO(\r):"
|
let b:surround_{char2nr("t")} = "TODO(\r):"
|
||||||
|
" "ys{motion}/" turns "text" into "/*text*/"
|
||||||
|
let b:surround_{char2nr("/")} = "/*\r*/"
|
||||||
" Map K to get YouCompleteMe documentation
|
" Map K to get YouCompleteMe documentation
|
||||||
nnoremap K :YcmCompleter GetDoc<CR>
|
nnoremap K :YcmCompleter GetDoc<CR>
|
||||||
" DoxygenToolkit
|
" DoxygenToolkit
|
||||||
|
@ -1 +1,3 @@
|
|||||||
setlocal commentstring=//%s
|
setlocal commentstring=//%s
|
||||||
|
" "ys{motion}/" turns "text" into "/*text*/"
|
||||||
|
let b:surround_{char2nr("/")} = "/*\r*/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user