VimNav Documentation
Complete guide to vim-style browser navigation with keyboard shortcuts, advanced features, and configuration options.
Quick Reference
Press ? anytime in VimNav to see the help overlay with all keybindings.
🚀 Getting Started
Installation
VimNav is available as a Chrome extension. Follow these steps to get started:
- Install VimNav from the Chrome Web Store
- Pin the extension to your toolbar for easy access
- Visit any webpage and start using vim keybindings immediately
First Steps
Once installed, VimNav is immediately active on all web pages. Try these basic commands:
Basic Usage Patterns
VimNav follows vim's modal philosophy. You're always in one of several modes:
- Normal Mode - Default mode for navigation and commands
- Insert Mode - For typing in form fields (enters automatically)
- Visual Mode - For text selection and manipulation
- Hint Mode - For keyboard-only link clicking
🔄 Mode System
VimNav uses vim's modal system for different types of interaction.
Normal Mode
The default mode for navigation and commands. Most keybindings work in normal mode.
Insert Mode
Automatically activated when you focus input fields, text areas, or contenteditable elements.
Visual Mode
Select and manipulate text elements on the page. See the Visual Mode section for details.
Hint Mode
Click links and interactive elements using keyboard hints. See the Hint Mode section for details.
📝 VimEdit Mode
VimNav includes a powerful VimEdit feature that opens a full vim editor for any input field on web pages. This allows you to edit form fields, text areas, and contenteditable elements using vim's complete editing capabilities.
Entering VimEdit Mode
The VimEdit Interface
Once a field is selected, VimEdit opens with:
- Full vim modal interface with transparent overlay
- Line numbers for multi-line editing
- Color-coded status bar showing current mode and cursor position
- Command line for vim commands (
:w
,:q
, etc.) - Visual mode indicators with distinct colors for different selection types
Vim Modes in VimEdit
Normal Mode (Default)
Standard vim navigation and text manipulation:
Movement
Editing
Mode Transitions
Insert Mode
Standard text insertion with vim keybindings:
Visual Mode
Text selection and manipulation with enhanced visual feedback:
Character Visual Mode (v)
Line Visual Mode (V)
Operations
Command Mode
Vim command-line interface:
Mode Indicators
VimEdit provides visual feedback through color-coded indicators:
Status Bar Mode Colors
Visual Selection Colors
Smart Clipboard System
VimEdit automatically detects whether clipboard content should be pasted as lines or characters:
Line-based Operations
Character-based Operations
Usage Examples
Basic Form Editing
- Navigate to any web form
- Press Ctrl+i to see input field hints
- Type the hint letter (e.g., a) to select first field
- Edit using vim commands:
- i to start typing
- Esc to return to normal mode
- :wq to save and close
Advanced Text Manipulation
- Ctrl+i → b (Select field with hint 'b')
- gg (Go to start)
- dw (Delete first word)
- u (Undo deletion)
- d3w (Delete 3 words)
- Ctrl+r (Redo)
- A (Insert at end of line)
- :wq (Save and exit)
- Use w/e for precise punctuation handling, W/E for speed
- df{char} includes the character, dt{char} excludes it
- Blue highlighting for character selection, orange for line selection
- Ctrl+I toggles maximize mode for distraction-free editing
🔍 Search & Find
Search within page content using vim-style search commands.
Page Search
📑 Tab Management
VimNav provides powerful tab navigation and management inspired by NERDTree.
Opening Tab Navigator
Tab Navigation
When the tabs overlay is open:
Tab Actions
🎯 Hint Mode
Click links, buttons, and interactive elements without using the mouse.
Using Hint Mode
Hint Targets
Hint mode automatically detects and highlights:
- Links (
<a>
elements) - Buttons (
<button>
elements) - Form inputs (input, select, textarea)
- Clickable elements with click handlers
-
Elements with
role="button"
ortabindex
👁️ Visual Mode
Select and manipulate text content on web pages using vim-style text selection.
Entering Visual Mode
Text Selection
Once you've selected an element and entered text selection mode:
Text Operations
📍 Marks System
Create bookmarks within pages to quickly jump to specific locations.
Setting Marks
Jumping to Marks
⌨️ Command Mode
Execute vim-style commands for advanced browser control and navigation.
Entering Command Mode
Available Commands
🕰️ History Search
Search and navigate through your browser history with vim-style controls.
History Navigation
History Search
Use the URL search overlay (o) to search through your browser history:
- Type keywords to search page titles and URLs
- Navigate results with j/k
- Press Enter to navigate to selected history item
⚙️ Extension Configuration
Customize VimNav to match your preferences and workflow.
Accessing Settings
Configuration Options
- Scroll Behavior - Adjust smooth scrolling and scroll distance
- Hint Appearance - Customize hint styling and colors
- Site Exclusions - Disable VimNav on specific websites
- Search Integration - Configure default search engine
🔧 Settings
Detailed settings and customization options for VimNav.
General Settings
- Enable/Disable - Toggle VimNav on/off globally
- Scroll Speed - Adjust scrolling sensitivity
- Smooth Scrolling - Enable/disable smooth scroll animation
Visual Settings
- Hint Colors - Customize hint appearance
- Overlay Themes - Choose overlay styling
- Font Settings - Adjust font size and family for overlays
Advanced Settings
- Debug Mode - Enable debugging features
- Performance - Memory and performance tuning
🛠️ Troubleshooting
Common issues and solutions for VimNav.
Common Issues
VimNav Not Working
- Check that the extension is enabled in Chrome extensions
- Verify the site isn't in your exclusions list
- Try pressing EscEsc to ensure focus
Keybindings Not Responding
- Make sure you're not in an input field (press Esc)
- Check for conflicts with other extensions
- Try refreshing the page
Hints Not Appearing
- Ensure there are clickable elements on the page
- Check if the page has custom styling that hides hints
- Try zooming out if hints are positioned incorrectly
Getting Help
If you continue experiencing issues:
- Visit our feedback page
- Check the console for error messages (F12 → Console)
- Report bugs with specific steps to reproduce