Key Mappings

Jon Staab edited this page May 4, 2018 · 20 revisions

This page lists sets of key mappings to be used in specific contexts, including on non-Latin keyboard layouts. For information on writing your own mappings, see README.md § Custom Key Mappings.

To use any one of these mappings, copy their list of map commands and and paste it to Vimium Options -> Advanced Options -> Custom Key mappings.

Emacs

Contributed by @lorensr.

map <c-n> scrollDown
map <c-p> scrollUp
map <c-b> scrollLeft
map <c-f> scrollRight
map <c-v> scrollFullPageDown
map <a-v> scrollFullPageUp
map <c-w> copyCurrentUrl
map <a-w> copyCurrentUrl
map <c-k> copyCurrentUrl
map <c-s> enterFindMode
map <c-x>o nextTab
map <c-x>0 removeTab

Also these:

map <a-<> scrollToTop
map <a->> scrollToBottom

but this very well might not parse correctly. I didn't test them since they work by default in Chrome on a Mac.


:bulb: See also: full set of Emacs-style key bindings for Vimium by @jaswsinc

Kakoune

Contributed by @staab.

map ge scrollToBottom
map <c-u> scrollPageUp
map <c-d> scrollPageDown
map ga visitPreviousTab
map x enterVisualMode
map X enterVisualLineMode
map d removeTab
map D restoreTab

Russian Language Keyboards

Contributed by @pletinsky. Updated by @tmp6154.

map  , showHelp
map  о scrollDown
map  л scrollUp
map  р scrollLeft
map  д scrollRight
map  пп scrollToTop
map  П scrollToBottom
map  яР scrollToLeft
map  яД scrollToRight
map  <с-у> scrollDown
map  <с-н> scrollUp

map  в scrollPageDown
map  г scrollPageUp
map  к reload
map  пы toggleViewSource

map  ш enterInsertMode

map  Р goBack
map  Д goForward
map  пг goUp
map  пГ goToRoot

map  пш focusInput

map  а LinkHints.activateMode
map  А LinkHints.activateModeToOpenInNewTab
map  <a-а> LinkHints.activateModeWithQueue

map  . enterFindMode
map  т performFind
map  Т performBackwardsFind

map  хх goPrevious
map  ъъ goNext

map  нн copyCurrentUrl
map  на LinkHints.activateModeToCopyLinkUrl

map  з openCopiedUrlInCurrentTab
map  З openCopiedUrlInNewTab

map  Л nextTab
map  О previousTab
map  пе nextTab
map  пЕ previousTab
map  п0 firstTab
map  п; lastTab


map  ц moveTabToNewWindow
map  е createTab
map  не duplicateTab
map  ч removeTab
map  Ч restoreTab

map  щ Vomnibar.activate
map  Щ Vomnibar.activateInNewTab

map  Е Vomnibar.activateTabSelection

map  и Vomnibar.activateBookmarks
map  И Vomnibar.activateBookmarksInNewTab

map  па nextFrame

map  ь Marks.activateCreateMode
map  ё Marks.activateGotoMode

map  <a-з> togglePinTab

map  ББ moveTabLeft
map  ЮЮ moveTabRight

map  м enterVisualMode
map  М enterVisualLineMode

Bulgarian Language Keyboards

Contributed by @chpet.

map  Б showHelp
map  т scrollDown
map  н scrollUp
map  г scrollLeft
map  в scrollRight
map  жж scrollToTop
map  Ж scrollToBottom
map  юГ scrollToLeft
map  юВ scrollToRight
map  <с-е> scrollDown
map  <с-щ> scrollUp

map  а scrollPageDown
map  к scrollPageUp
map  и reload
map  жя toggleViewSource

map  с enterInsertMode

map  Г goBack
map  В goForward
map  жк goUp

map  жс focusInput

map  о     LinkHints.activateMode
map  О     LinkHints.activateModeToOpenInNewTab
map  <ь-о> LinkHints.activateModeWithQueue

map  б enterFindMode
map  х performFind
map  Х performBackwardsFind

map  цц goPrevious
map  ;; goNext

map  щщ copyCurrentUrl
map  що LinkHints.activateModeToCopyLinkUrl

map  з openCopiedUrlInCurrentTab
map  З openCopiedUrlInNewTab

map  Н nextTab
map  Т previousTab
map  жш nextTab
map  жШ previousTab
map  ж0 firstTab
map  ж"; lastTab

map  ш createTab
map  й removeTab
map  Й restoreTab

map  д Vomnibar.activate
map  Д Vomnibar.activateInNewTab

map  Ш Vomnibar.activateTabSelection

map  ф Vomnibar.activateBookmarks
map  Ф Vomnibar.activateBookmarksInNewTab

map  жо nextFrame
map  п  Marks.activateCreateMode
map  `  Marks.activateGotoMode

Hebrew Language Keyboards

Contributed by @david206.

map  ח scrollDown
map  ל scrollUp
map  י scrollLeft
map  ך scrollRight
map  עע scrollToTop
map  זH scrollToLeft
map  זL scrollToRight
map  <с-ק> scrollDown
map  <с-ט> scrollUp

map  ג scrollPageDown
map  ו scrollPageUp
map  ר reload
map  עד toggleViewSource

map  ן enterInsertMode

map  עו goUp
map  עU goToRoot

map  ען focusInput

map  כ LinkHints.activateMode
map  <א-כ> LinkHints.activateModeWithQueue

map  . enterFindMode
map  מ performFind

# goPrevious and goNext are tricky because the Hebrew mapping overriding the English one
#map  ]] goPrevious
#map  [[ goNext

map  טט copyCurrentUrl
map  טכ LinkHints.activateModeToCopyLinkUrl

map  פ openCopiedUrlInCurrentTab

map  עא nextTab
map  עT previousTab
map  ע0 firstTab
map  ע$ lastTab

map  א createTab
map  טא duplicateTab
map  ס removeTab

map  ם Vomnibar.activate
map  עק Vomnibar.activateEditUrl
map  נ Vomnibar.activateBookmarks

map  עכ nextFrame

map  צ Marks.activateCreateMode
map  ; Marks.activateGotoMode

map  <א-פ> togglePinTab

map  ה enterVisualMode

Mongolian Language Keyboards

Contributed by @altantur.

map  , showHelp
map  р scrollDown
map  о scrollUp
map  л scrollLeft
map  х scrollRight
map  аа scrollToTop
map  А scrollToBottom
map  яХ scrollToLeft
map  яЛ scrollToRight
map  <с-н> scrollDown
map  <с-х> scrollUp

map  б scrollPageDown
map  г scrollPageUp
map  ж reload
map  пы toggleViewSource

map  ш enterInsertMode

map  Х goBack
map  Л goForward
map  аг goUp
map  аГ goToRoot

map  аш focusInput

map  ө LinkHints.activateMode
map  Ө LinkHints.activateModeToOpenInNewTab
map  <a-ө> LinkHints.activateModeWithQueue

map  ю enterFindMode
map  и performFind
map  И performBackwardsFind

map  кк goPrevious
map  ъъ goNext

map  нн copyCurrentUrl
map  нө LinkHints.activateModeToCopyLinkUrl

map  з openCopiedUrlInCurrentTab
map  З openCopiedUrlInNewTab

map  О nextTab
map  Р previousTab
map  аЭ nextTab
map  аэ previousTab
map  а0 firstTab
map  а₮ lastTab


map  Ц moveTabToNewWindow
map  э createTab
map  нэ duplicateTab
map  ч removeTab
map  Ч restoreTab

map  ү Vomnibar.activate
map  Ү Vomnibar.activateInNewTab

map  Э Vomnibar.activateTabSelection

map  м Vomnibar.activateBookmarks
map  М Vomnibar.activateBookmarksInNewTab

map  аө nextFrame

map  т Marks.activateCreateMode
map  = Marks.activateGotoMode

map  <a-з> togglePinTab

map  ЬЬ moveTabLeft
map  ВВ moveTabRight

map  с enterVisualMode
map  С enterVisualLineMode

Georgian Language Keyboards

Contributed by @giogziro95.

Georgian (QWERTY) Layout

map   ?     showHelp

map   ჯ     scrollDown
map   კ     scrollUp
map   <c-ე> scrollDown
map   <c-ყ> scrollUp
map   ჰ     scrollLeft
map   ლ     scrollRight
map   გგ    scrollToTop
map   G     scrollToBottom
map   ზH    scrollToLeft
map   ზL    scrollToRight
map   დ     scrollPageDown
map   უ     scrollPageUp

map   H     goBack
map   L     goForward
map   გუ    goUp
map   გU    goToRoot

map   რ     reload

map   ყყ    copyCurrentUrl

map   პ     openCopiedUrlInCurrentTab
map   P     openCopiedUrlInNewTab

map   ი     enterInsertMode
map   ვ     enterVisualMode
map   V     enterVisualLineMode

map   ფ     LinkHints.activateMode
map   F     LinkHints.activateModeToOpenInNewTab
map   <a-ფ> LinkHints.activateModeWithQueue
map   ყფ    LinkHints.activateModeToCopyLinkUrl

map   [[    goPrevious
map   ]]    goNext

map   გფ    nextFrame
map   ფF    mainFrame

map   გი    focusInput

map   მ     Marks.activateCreateMode
map   „     Marks.activateGotoMode

map   /     enterFindMode
map   ნ     performFind
map   N     performBackwardsFind

map   ო     Vomnibar.activate
map   O     Vomnibar.activateInNewTab
map   ბ     Vomnibar.activateBookmarks
map   B     Vomnibar.activateBookmarksInNewTab
map   გე    Vomnibar.activateEditUrl
map   გE    Vomnibar.activateEditUrlInNewTab
map   თ     Vomnibar.activateTabSelection

map   ტ     createTab
map   ხ     removeTab
map   X     restoreTab
map   ყტ    duplicateTab

map   ჟ     previousTab
map   გთ    previousTab
map   K     nextTab
map   გტ    nextTab
map   გ0    firstTab
map   გ$    lastTab
map   ^     visitPreviousTab

map   <a-პ> togglePinTab
map   <a-მ> toggleMuteTab

map   გს    toggleViewSource

map   <<    moveTabLeft
map   >>    moveTabRight
map   ჭ     moveTabToNewWindow

Note: Because Georgian script doesn't have capital letters, some commands won't work with the Georgian (QWERTY) layout included in Windows and macOS by default, and since some Shift+Key combinations give a blank output (do not type anything at all), it's impossible to make them work either. All commands work fine with Georgian (QWERTY) on Linux since it uses a slightly different variant of the layout in which all Shift+Key combinations write a letter, some of which are Latin (instead of typing nothing at all). For more details about the layout, see this.