Skip to content

nagas1226/VSCodeCursorKeyBindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

VSCode Cursor Key Bindings

Overview

This repository is intended for sharing the keybindings.json file, which is the keybinding settings file for Visual Studio Code (VSCode). By using this configuration file, you can streamline cursor movement and edit your code efficiently without having to move your hands away from the home position.

Setup

Follow these steps to apply the keybinding configuration correctly to your VSCode:

  1. Open VSCode.

  2. Press Ctrl + Shift + P to open the command palette.

  3. Type "Preferences: Open Keyboard Shortcuts (JSON)" and select it from the list. This will open the keybindings.json file.

  4. Copy the contents of the keybindings.json file from this repository and paste them into the opened keybindings.json file in VSCode.

  5. Save the changes by pressing Ctrl + S.

By following these steps, you will correctly configure the cursor keybindings in VSCode.

Usage

This keybinding configuration provides shortcut keys for cursor movement from the home position (J, K, L, I, H, ;, U, O keys). Below are the main shortcut keys and their descriptions:

  • Alt + J: Move the cursor to the left.
  • Alt + K: Move the cursor down.
  • Alt + L: Move the cursor to the right.
  • Alt + I: Move the cursor up.
  • Alt + H: Move the cursor to the beginning of the line.
  • Alt + ;: Move the cursor to the end of the line.
  • Alt + U: Scroll the page up while moving the cursor.
  • Alt + O: Scroll the page down while moving the cursor.

You can also select text by holding down the Shift key in conjunction with the above shortcuts:

  • Shift + Alt + J: Move the cursor to the left while selecting.
  • Shift + Alt + K: Move the cursor down while selecting.
  • Shift + Alt + L: Move the cursor to the right while selecting.
  • Shift + Alt + I: Move the cursor up while selecting.
  • Shift + Alt + H: Move the cursor to the beginning of the line while selecting.
  • Shift + Alt + ;: Move the cursor to the end of the line while selecting.
  • Shift + Alt + U: Scroll the page up while selecting.
  • Shift + Alt + O: Scroll the page down while selecting.

By using these shortcuts, you can efficiently edit your code without having to move your hands away from the keyboard's home position.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published