Skip to content

sajibsrs/letter-navigator

Repository files navigation

banner

Letter navigator

version   installs   ratings

A vscode extension to replace arrow keys

Navigate with letter keys and perform other essential operations. Almost, replacement for the arrow keys.


It helps to keep your hand in the same place when typing, but it may take some time to get used to it.


Alt key is the Option key on Mac.

Movement

Cursor movement

  • alt+j = Move cursor left
  • alt+l = Move cursor right
  • alt+i = Move cursor up
  • alt+k = Move cursor down

Move cursor by word

  • ctrl+alt+j = Move to left word's beginning
  • ctrl+alt+l = Move to right word's end

Move cursor to line start / end

  • alt+u = Move to beginning of the line
  • alt+o = Move to end of the line

Move line up / down

  • ctrl+alt+i = Move line up
  • crtl+alt+k = Move line down

Selection

Basic selection

  • alt+shift+j = Select cursor left
  • alt+shift+l = Select cursor right
  • alt+shift+i = Select cursor up
  • alt+shift+k = Select cursor down

Select by word

  • ctrl+shift+alt+j = Select to previous word beginning
  • ctrl+shift+alt+l = Select to next word end

Select to start / end of line from cursor

  • ctrl+shift+alt+u = Select to start of line from cursor
  • ctrl+shift+alt+o = Select to end of line from cursor

Workbech

Tab switching

  • ctrl+alt+u = Previous editor tab
  • ctrl+alt+u = Next editor tab

Line scrolling

  • ctrl+alt+shift+i = Scroll line up
  • ctrl+alt+shift+k = Scroll line down

Context based keybindings

Select next / previous suggestion

  • alt+k = Select next suggestion
  • alt+i = Select previous suggestion

You may lose your cursor (lose focus) if you press Alt button single. Press Esc or Alt key to get your cursor back.

Installation

1. Using marketplace

2. Using vscode

  • Press Ctrl+P
  • Copy & paste
ext install sajibsrs.letter-navigator
  • Enter

Notes

  • If you find any issues or have any suggestions make a PR or send a mail at sajibsrs@gmail.com

If you like it, please rate it. Thank you ❤️

About

A vscode keymap extension that enables navigation with letter keys and perform other essential operations. Almost, replacement for the arrow keys.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published