Skip to content

Instantly share code, notes, and snippets.

@robinsk
Created September 4, 2014 06:43
Show Gist options
  • Save robinsk/011b07246509c61646ab to your computer and use it in GitHub Desktop.
Save robinsk/011b07246509c61646ab to your computer and use it in GitHub Desktop.
# mapping... something to something
"\e1": "©"
"\e2": "@"
"\e3": "£"
"\e4": "$"
"\e5": "âž"
"\e6": "§"
"\e7": "|"
"\e8": "["
"\e9": "]"
"\e0": "âˆ"
"\e/": "\\"
"\e(": "{"
"\e)": "}"
# Shows all files instead of beep when tab-completing
set show-all-if-ambiguous on
# # Ignore case when completing, very nice!
set completion-ignore-case on
"\e[1~": beginning-of-line # Home key
"\e[4~": end-of-line # End key
"\e[3~": delete-char # Delete key
"\e[5C": forward-word # Ctrl+right
"\e[5D": backward-word # Ctrl+left
"\e\e[C": forward-word # Alt+right
"\e\e[D": backward-word # Alt+left
"\C-K": unix-line-discard # Ctrl+K
"\e\"": "@{}\e[D" # Insert @{} move cursor into braces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment