Add TODO surround mapping for C/C++

This commit is contained in:
Kenneth Benzie 2016-10-28 10:36:11 +09:00
parent e4a8ba61b1
commit bcd7877df0

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):"