Your Latest Workflow Improvement - Desktop Customization & Workflow
(05-05-2017, 12:42 AM)venam Wrote:
(04-05-2017, 05:39 PM)z3bra Wrote: Then you'll probably love piping your selection into random programs
:'<,'>!tr a-z A-Z
My favorite one:
:'<,'> !fmt

I think vim call fmt internally when pressing 'gq'. But yeah, I use that a lot!

EDIT: mine can be replaced with pressing 'gU' also
I also like using :'a,'bw !lua to check certain code snippits through the interpreter, or :!gcc && ./a.out though my favorite lately has been :!! to rerun the last shell command used in the command prompt
I prefer using ^Z to run external commands though. It is more flexible IMO. Also, I never use gcc by itself, and rather a makefile, be it as simple as:

pgm: pgm.c

Members  |  Stats  |  Night Mode  |  Help