Code Monkey home page Code Monkey logo

mac-terminal-shortcuts's Introduction

Mac terminal shortcuts

2015-09-23

This will make your Mac Os X terminal have cool and intuitive editing shortcuts:

  • ALT-left: move one word backward
  • ALT-right: move one word forward
  • ALT-backspace: kill one word backward
  • ALT-del: kill one word forward
  • ALT-up: set word after cursor to uppercase
  • ALT-down: set word after cursor to lowercase
  • home: move to the beginning of the line
  • end: move to the end of the line
  • CTRL-backspace: Same as ALT-backspace
  • CTRL-del: Same as ALT-del

(Now those are used for tmux resizing)

  • CTRL-up: resize pane to the up
  • CTRL-right: resize pane to the right
  • CTRL-down: resize pane to the down
  • CTRL-left: resize pane to the left

How to use

Simply import the Ling.terminal profile into your terminal.

If you don't know how to do, here are the steps:

  • Download the Ling.terminal file.
  • Open the terminal, go to Preferences > Profile.
  • At the bottom of the left columns (with all the profile), click on the configuration icon and click Import.
  • This will open a dialog, choose the Ling.terminal file.
  • Now it should appear on the left column.
  • Rename it (double click on the textual part "Ling").
  • To make it your default profile click the button on the bottom, next to configuration icon (at the bottom of the profiles column).
  • Now go to the General tab and set your new profile for opening with new window

Technical notes

Those shortcuts are based on the assumption that you are using the emacs command line editing mode, which is the default on Mac Os X, and in bash in general.

If you are using the set -o vim option, those shortcuts should not work (not tested).

mac-terminal-shortcuts's People

Contributors

lingtalfi avatar

Stargazers

Adrian Riepl avatar Declan McKenna avatar Mark Altmann avatar Bradley Xu avatar Gady avatar

Watchers

 avatar James Cloos avatar

Forkers

xigua

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.