Posts tagged with “osx” and “tips”
June 04, 09
Create a file named
.inputrc in your home directory and paste the following code:
# this makes the "delete" key work rather than # just entering a ~ "\e[3~": delete-char # these allow you to use ctrl+left/right arrow keys # to jump the cursor over words "\e[5C": forward-word "\e[5D": backward-word # these allow you to start typing a command and # use the up/down arrow to auto complete from # commands in your history "\e[B": history-search-forward "\e[A": history-search-backward # this lets you hit tab to auto-complete a file or # directory name ignoring case set completion-ignore-case On # Two escapes clear command line "\e\e": "\C-a\C-k"
It will add a few useful keyboard commands.01:20 PM | notes | 1 Comment | Tags: osx, tips