Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 741 Bytes

File metadata and controls

23 lines (16 loc) · 741 Bytes

pimpl-maker.vim

Vim plugin which helps you make pimpl pattern in c++ code.

Usage

Exanple of .vimrc

let g:pimplmaker_impl_class_name = 'Impl'       " set the class name for pimpl pattern.
let g:pimplmaker_pimpl_instance_name = 'pimpl'  " set the member variable name for pimpl pattern.
nnoremap <C-p> :MakePimpl<CR>                   " make pimpl pattern for the class with the current cursor

Screenshot

One command! (left to right)

Others

This plugin is tested on few environments.

I hope your pull requests.