aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-rw-r--r--after/ftplugin/cpp.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/ftplugin/cpp.vim b/after/ftplugin/cpp.vim
index 4dd59bc..135e477 100644
--- a/after/ftplugin/cpp.vim
+++ b/after/ftplugin/cpp.vim
@@ -1,3 +1,5 @@
+set commentstring=//\ %s
+
nnoremap <silent> <buffer> <F9> :call <SID>compile_run_cpp()<CR>
function! s:compile_run_cpp() abort