Add following config to your .vimrc
file.
command Rt 0r ~/.vim/template/t.cpp
The t.cpp
is the file of the template script. In the vim, use the Rt
command to load the script.
Add following config to your .vimrc
file.
command Rt 0r ~/.vim/template/t.cpp
The t.cpp
is the file of the template script. In the vim, use the Rt
command to load the script.