Last active
September 4, 2021 18:35
-
-
Save iquabius/f1e53159f9bd1665a827b000637f6561 to your computer and use it in GitHub Desktop.
My Vimium C Options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I don't use VIM, I just want my own keybindings | |
unmapAll | |
# Default keybinding | |
map yll LinkHints.activateCopyLinkUrl | |
map ylt LinkHints.activateCopyLinkText | |
# My Emacs keybindings inspired by Ergoemacs | |
map <a-f> LinkHints.activate | |
map j scrollLeft | |
map i scrollUp | |
map l scrollRight | |
map k scrollDown | |
map <a-<> scrollToTop | |
map <a->> scrollToBottom | |
map <a-c-i> scrollFullPageUp | |
map <a-c-k> scrollFullPageDown | |
map <a-w> copyCurrentUrl | |
# Tabs | |
map <a-x> moveTabToNewWindow | |
# These are set in the native shortcut settings | |
# brave://extensions/shortcuts | |
# Search for "Shortkeys" | |
#map <a-u> previousTab | |
#map <a-o> nextTab | |
map <c-\> Vomnibar.activateBookmarks | |
# Navigating History | |
map <a-j> goBack | |
map <a-l> goForward | |
# https://github.com/philc/vimium/wiki/Find-Mode | |
map / enterFindMode | |
map n performFind | |
map p performBackwardsFind | |
# https://askubuntu.com/a/694281 | |
# https://github.com/philc/vimium/wiki/Visual-Mode | |
map v enterVisualMode | |
map V enterVisualLineMode | |
# Customizable movement keys in visual mode | |
# https://github.com/gdh1995/vimium-c/issues/189 | |
mapkey <j:v> h # cursorLeft | |
mapkey <k:v> j # cursorDown | |
mapkey <i:v> k # cursorUp | |
mapkey <u:v> b # cursorWordLeft | |
mapkey <o:v> e # cursorWordRight | |
# See more at | |
# https://github.com/philc/vimium/wiki/Key-Mappings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment