I want to implement my own custom command to ~/.ideavimrc
file but I could not manage it.
~/.ideavimrc
source ~/.vimrc
~/.vimrc
"Below command provides to quit file with uppercase Wq."
command! Wq wq
"Below command provides design recipe for methods."
command! Fcomments :r ~/Documents/vcommands/FunctionComments.txt
FunctionComments.txt
/**
Data Definition:
Properties:
Purpose:
Example:
Returns:
*/
What I want is when I type Fcomments
to WebStorm as command mode, I want to upload that file to upside of my code. But Wq
works, Fcomments
not working why?
What I get from WebStorm is VIM Not an editor command: r | r ~/...