Skip to content

piyoki/karabiner

Repository files navigation

My Karabinar Config

Currently working with HHKB Professional Hybrid Type-S

Right Shift + HHKB Arrows => Arrows

Right Shift + HHKB Arrows maps to the Arrow keys

Capslock & Control

Single Press Left Control to trigger Capslock as normal keyboard

Hold Left Control to trigger the normal Control functionality

Right Command => Alfred

Right Command maps to toggle Alfred

Right Option => Hyper (f19)

Right Option maps to Hyper (f19)

Shift + Esc => ~

Shift + Esc triggers ~ as normal keyboard

Shift => Select Previous Input Method

Double Press Left Shift to trigger the Select Previous Input Method event

Hold Left Shift triggers the normal Shift functionality as normal keyboard

Shortcuts

Command Editing Shortcuts

Shortcut Usage
Ctrl + A Go to the start of the command line
Ctrl + E Go to the end of the command line
Ctrl + D Delete from cursor to the end of the command line
Ctrl + K Cut the text from after the cursor position
Ctrl + F Move forward one character
Ctrl + B Move backward one character
Ctrl + P Move to the beginning of the line above
Ctrl + N Move to the beginning of the line below
Ctrl + D Delete character under the cursor
Ctrl + H Delete character before the cursor

Command Control Shortcuts

Shortcut Usage
Ctrl + L clear the screen
Ctrl + C terminate the command
Ctrl + K Cut the text from after the cursor position
Ctrl + U Cut the text from before the cursor position
Ctrl + W Cut the previous word from the cursor position
Ctrl + Y Paste word or text that was cut using one of the deletion shortcuts
Esc + b Move cursor to the previous word
Esc + f Move cursor to the next word
Cmd + b Move cursor to the previous word (see iTerm configuration below)
Cmd + f Move cursor to the next word (see iTerm configuration below)

iTerm Configuration

Move word-to-word forward and backward

  • Install iTerm2

  • Launch and then go to keys > keybindings

  • Click the + button to add a new keyboard shortcut

  • In the first box type Cmd + Left Arrow

  • In the second box choose send escape sequence

  • In the third box type the letter b

  • Click the + button to add a new keyboard shortcut

  • In the first box type Cmd + Right Arrow

  • In the second box choose send escape sequence

  • In the third box type the letter f

NOTE: the above configuration re-map the key combinations for word-to-word movement. Esc + f moves one word to the right, and Esc + b moves one word to the left,

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published