Yeah, creating your own Vim commands is also something really nice :-) Whether or not I do that depends a bit on my personal intuition. E.g. for the git command I would not like to do that, because I prefer to use them in the exact same way as on the command line, this way I don't have to remember two different ways of doing the same thing 🙂
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Running external programs to modify the current buffer is one of the main features I use vim for.
You can also take
:!to the next step by wrapping it in a Vim command.For example, instead of typing
:! echo % | pbcopyevery time, you can wrap it in a command like:Now, you can just run
:CopyFilename.You can also take it another step by binding it to a key map, like:
Yeah, creating your own Vim commands is also something really nice :-) Whether or not I do that depends a bit on my personal intuition. E.g. for the git command I would not like to do that, because I prefer to use them in the exact same way as on the command line, this way I don't have to remember two different ways of doing the same thing 🙂