Added: 2 years ago
From: alanzeino
Views: 3,646
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (20)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • Comment removed

  • Comment removed

  • Comment removed

  • If they were going to add features to the Terminal, I would have liked the following: 

    1. The ability to set word boundary characters so I can double-click to select a URL or file path.

    2. The ability, when entering in stuff on the command line, to skip forwards/backwards a word at a time, instead of one character at a time (which is really frustrating).

    These two features have been available in other Unix Terminal apps for more than 10 years.

  • You can already do #2. ESC b and ESC f jump the cursor by word boundaries.

    I like to tweak Terminal to bind the action to control left and right arrow -->

    Open Terminal's preferences, click on the profile you use, then click on the Keyboard tab.

    Edit control-cursor-left and control-cursor-right, set them to ESC-b and ESC-f, respectively (they'll show up as \033b and \033f). Now when you type control left-arrow and control-right arrow, you'll jump around by words.

  • I can skip words forward/backward with alt+arrows. I don't know if it's because I use ZSH or some thing else I have customized.

  • @HappySpaceInvdr to address #2 you can use Alt+B for back 1 word and Alt+F for forward 1 word. the bash command line uses emacs keyboard shortcuts by default (you can also tell it to use vim keyboard shortcuts).

  • Who knows? Only a passing mention is made on Apple's website and the Terminal help section doesn't mention it at all.

  • I'm struggling to find a practical application for this feature as there's apparently no way to switch between panes.

  • Comment removed

  • I think it is to keep track of different activities.

  • The problem is: when you split the window in two, both STDIN and STDOUT are moved to the new pane. So you can't, for example tail file output or run a code build and then split the screen to get a new prompt with its own IN/OUT while the old screen carries on with the output of the earlier command.

  • If you have an activity that runs for a long time with a lot of output you can use the other pane to look through it.

  • That's the problem: you can't. As soon as you create a new pane, you take all of your i/O with you, leaving the previous pane dangling. There's a thread open in Apple Discussions suggesting that this feature is actually broken in the retail version of Snow Leopard.

  • Hmm, if you have a look at my video it shows what it does on my system, which could be of use, once i split it the output in the original pane stops updating.

  • Tried posting the link but it won't have it!

  • If you look closely at the scroll bar on the top pane you will see that it scrolls up when vim is run (24 seconds into the video).

    In order to see the top being updated, you need to scroll down to the bottom.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more