Your Latest Workflow Improvement - Desktop Customization & Workflow
z3bra
(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
Code:
:'<,'>!tr a-z A-Z
My favorite one:
Code:
:'<,'> !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
xcko
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
z3bra
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:

Code:
pgm: pgm.c




Members  |  Stats  |  Night Mode  |  Help