Browse Source

Use cppman in new tmux pane

master
Schneider 5 years ago
parent
commit
77e439477c
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 3
      vim/ftplugin/cpp.vim

3
vim/ftplugin/cpp.vim

@ -7,4 +7,5 @@ setlocal shiftwidth=2
setlocal tabstop=2
" Documentation inside vim
autocmd FileType cpp set keywordprg=cppman
command! -nargs=+ Cppman silent! call system("tmux split-window cppman " . expand(<q-args>))
autocmd FileType cpp nnoremap <silent><buffer> K <Esc>:Cppman <cword><CR>
Loading…
Cancel
Save