Hi there I love Vi and was wondering if there are any tips or tricks out there when working with java and java files.
basically looking for any handy shortcuts and techniques
An idea I was thinking of is being able to write my own shell scripts using sed and awk, these scripts will perform my very own customised edits on files, I would like to be able to invoke these scripts while running in a vi session and have their changes to the file be visible, so basicall in the same way vi presents the :i or :c or an even better example :set number and line numbers apear on the edited file, I would like to have some short cuts which invoke my scripts which will perform some sort of action on the edited file.
any tips to even remotely achiving this.
I guess a second option would be if you know of a shell script which acts as a sort of interactive editor in a similar way to vi, which I could modify and include me tailored scrcipts to have as options for this ineractive editor which is just a script.