Skip to content

This is a extension that lets you use vim keybindings to navigate through a webpage.

Notifications You must be signed in to change notification settings

mayur858/vimplugextension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Navigation Extension

A browser extension that allows you to navigate webpages using Vim-like keybindings.

Features

  • Navigate pages with Vim-style keyboard shortcuts
  • Automatically disables when typing in input fields, textareas, or contentEditable elements
  • Adjustable scroll speed
  • Enable/disable toggle

Key Mappings

Key Action
j Scroll down
k Scroll up
h Scroll left
l Scroll right
g Go to top of page
G Go to bottom of page
d Scroll half page down
u Scroll half page up
f Scroll full page down
b Scroll full page up
0 Scroll to left edge
$ Scroll to right edge

Installation

Development Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Build the extension:
    npm run build
    
  4. Load the extension in your browser:
    • Chrome/Edge: Go to chrome://extensions/, enable "Developer mode", click "Load unpacked", and select the dist folder
    • Firefox: Go to about:debugging#/runtime/this-firefox, click "Load Temporary Add-on", and select any file in the dist folder

Usage

  1. After installing the extension, you'll see a Vim icon in your browser toolbar
  2. Click the icon to access settings:
    • Toggle the extension on/off
    • Adjust scroll speed
  3. Use the key mappings listed above to navigate webpages

Development

  • Run npm run watch to automatically rebuild the extension when files change
  • The extension uses TypeScript and is built with Webpack

License

ISC

About

This is a extension that lets you use vim keybindings to navigate through a webpage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published