Closed ckeen closed 6 years ago
The P command prints the current file name. It enables a grep like command sequence while searching for code in a big file list. For example:
X/sam/ ,g/sel/ P -. /home/ckeen/src/tools/sam/sam/address.c -. /home/ckeen/src/tools/sam/sam/mesg.c -. /home/ckeen/src/tools/sam/sam/regexp.c +. /home/ckeen/src/tools/sam/sam/xec.c
I first thought of using F as the command name. IDK maybe I am missing something and the functionality can be achieved without extending the language?
Thanks @ckeen!
The P command prints the current file name. It enables a grep like command sequence while searching for code in a big file list. For example:
X/sam/ ,g/sel/ P -. /home/ckeen/src/tools/sam/sam/address.c -. /home/ckeen/src/tools/sam/sam/mesg.c -. /home/ckeen/src/tools/sam/sam/regexp.c +. /home/ckeen/src/tools/sam/sam/xec.c
I first thought of using F as the command name. IDK maybe I am missing something and the functionality can be achieved without extending the language?