Nick's Blog

Home

❯

Moving the Cursor in OSX's CLI

Moving the Cursor in OSX's CLI

May 16, 20111 min read

Just found this great little article over at superuser.com about how you can use meta-b and meta-f to use backwords and forwards by words in the CLI. Since there is no meta key, you have to use ?-b and ?-f (escape as meta).

Optionally, you can set the option key as meta in Terminal’s settings:

!http://files.classyllama.com/dec8e77a/terminal-settings-meta-key-20110516-205752.jpg!


Recent Notes

  • The Online Blog of Nick Vahalik

    Nov 26, 2025

    • Benchmarks don't tell the whole story

      Nov 21, 2025

      • php
      • laravel
      • phalcon
    • Laravel's ControllerDispatcher: a cleaner solution for custom controllers

      Nov 15, 2025

      • laravel
      • php
    • Running Phalcon within Laravel

      Nov 14, 2025

      • php
      • phalcon
      • laravel
    • Jujutsu: Resources and Notes

      Nov 08, 2025

      • jujutsu
      • vcs
      • git

    Recent Notes

    • The Online Blog of Nick Vahalik

      Nov 26, 2025

      • Benchmarks don't tell the whole story

        Nov 21, 2025

        • php
        • laravel
        • phalcon
      • Laravel's ControllerDispatcher: a cleaner solution for custom controllers

        Nov 15, 2025

        • laravel
        • php
      • Running Phalcon within Laravel

        Nov 14, 2025

        • php
        • phalcon
        • laravel
      • Jujutsu: Resources and Notes

        Nov 08, 2025

        • jujutsu
        • vcs
        • git

      Created with Quartz v4.5.2 © 2025

      • GitHub
      • Discord Community