Add TODO surround mapping for C/C++

This commit is contained in:
Kenneth Benzie 2016-10-28 10:36:11 +09:00
parent 2111a094fa
commit fb1b3f8c6c

View File

@ -8,3 +8,5 @@ setlocal commentstring=//%s
setlocal textwidth=0
" Map K to get YouCompleteMe documentation
nnoremap K :YcmCompleter GetDoc<CR>
" "ys{motion}t" turns "word" -> "TODO(word):"
let b:surround_{char2nr("t")} = "TODO(\r):"