iOS Dev Nugget 223 Moving Your Cursor in Terminal


Need to run a code review on your codebase? Hire me

As developers using macOS, we often need to use the Terminal app or an equivalent. Sometimes you want to edit a command that you ran earlier. Most shells let you recall history by pressing the up arrow key. But what happens if you need to edit a long command? Again, depending on your shell, you might be able to use your left/right arrow keys or possibly alt-left/alt-right (for fish shell).

Did you know that you can opt-click in Terminal to move your cursor? It's a major time-saver.

PS: I'm not sure if (arguably non-iOS) tips such as this are of interest to you. If you can hit reply and let me know in a few words if you want more or less of these, it'll be much appreciated!

Your feedback is valuable: Do you want more nuggets like this?   Yes   or   No



Like this and want such iOS dev nuggets to be emailed to you, weekly?

Sign Me Up! or follow @iosdevnuggets on Twitter


View archives of past issues