If you’d like to see it in action, check out the demo I made below.Īnd that’s a small, yet handy, productivity hack that will help make you loads more efficient when using the command line. However, give it a chance, and I’m pretty sure that you’ll find it’s a decent performance boost.
If you’ve never used it before, it might not seem so, and it may take a bit of getting used to. That’s far more efficient - and less finicky).Ī decent productivity hack for your command-line of choice?
Let’s say that you have the command below open in your command line (with or without the line breaks).Īnd let’s say that you want to remove the trailing -color argument, and change the search string from heartbeat to Microsoft Windows. Why not make use of what you already know? A Small Example However, if you already have stacks of muscle-memory around one, or several, editors, why learn yet another set? Now, I know that there are ways to augment the command-line so that it’s a lot more potent than it is by default. This is because it’s far easier to edit the text in an editor (says the VIM lover) than on the command line.
VIMR FROM COMMAND LINE CODE
This is a keyboard shortcut that I use almost every day, whether I’m maintaining code or technical documentation.
VIMR FROM COMMAND LINE INSTALL
This could be any editor an older one, such as VIM, Emacs, Nano, Pico, or Ed, or a more modern one, such as Gedit or LeafPad.Īnd it’s hard to get much smaller than this. Vim 32-bit Silent Install (EXE) Download the x86 EXE to a folder created at (C:Downloads) Open an Elevated Command Prompt by Right-Clicking on Command Prompt. It takes the existing command that you currently have on your command line and opens it in your shell’s editor (which is defined by the $EDITOR environment variable). In this post, I’m going to show you an existing feature of your Linux/macOS shell, one that has existed for quite some time. However, in this post, I’m not going to show you something that’s super in-depth, ultra-detailed, or talk about an app that you have to install: ctrl+x+e. There are lots of tips, tricks, and ideas around for hacking your command-line productivity to make you more efficient.