~/vimma $ cat keys.md

page 3/5 · keys

Keys

Vimma's default keymap, 152 actions. It comes from the same table as Vimma's own ctrl+b ? overlay (docs/bindings.md at 1050bcc), so the two agree. These are only defaults: every key is yours.

every key is yours

Every binding below can be remapped, and so can the ctrl+b prefix and the space leader (leader under [modal]). Put the action's name and your keys in ~/.config/vimma/config.toml; Vimma picks the file up within two seconds of a save.

# ~/.config/vimma/config.toml
[keys]
prefix = "ctrl+a"         # the prefix, as tmux users often remap it
new_tab = ["prefix+t"]    # any action, any keys

More in the config.toml docs.

Help (3)

ActionKeysName
Show all bindings (filter with /)ctrl+b ?show_keybinds
Close the bindings overlayeschelpqhelphelp_close
Filter the bindings overlay/helphelp_filter

Tabs (14)

ActionKeysName
New tabctrl+b ctnew_tab
Next tab (with a count: go to tab N)ctrl+b ngtnext_tab
Previous tabctrl+b pgTprevious_tab
Jump to tab 1 in this workspacectrl+b 1select_tab_1
Jump to tab 2 in this workspacectrl+b 2select_tab_2
Jump to tab 3 in this workspacectrl+b 3select_tab_3
Jump to tab 4 in this workspacectrl+b 4select_tab_4
Jump to tab 5 in this workspacectrl+b 5select_tab_5
Jump to tab 6 in this workspacectrl+b 6select_tab_6
Jump to tab 7 in this workspacectrl+b 7select_tab_7
Jump to tab 8 in this workspacectrl+b 8select_tab_8
Jump to tab 9 in this workspacectrl+b 9select_tab_9
Rename tabctrl+b shift+trename_tab
Close tabctrl+b shift+xxclose_tab

Panes (27)

ActionKeysName
Split rightctrl+b vsplit_vertical
Split downctrl+b -split_horizontal
Focus pane to the leftctrl+b hctrl+w hfocus_pane_left
Focus pane belowctrl+b jctrl+w jfocus_pane_down
Focus pane abovectrl+b kctrl+w kfocus_pane_up
Focus pane to the rightctrl+b lctrl+w lfocus_pane_right
Swap with pane to the leftctrl+b shift+hctrl+w Hswap_pane_left
Swap with pane belowctrl+b shift+jctrl+w Jswap_pane_down
Swap with pane abovectrl+b shift+kctrl+w Kswap_pane_up
Swap with pane to the rightctrl+b shift+lctrl+w Lswap_pane_right
Zoom panectrl+b zctrl+w ozoom
Close pane; the last pane closes the tabctrl+b xclose_pane
Resize modectrl+b rresize_mode
Leave resize modeescresizeenterresizeqresizeresize_exit
Make pane narrowerctrl+w <hresizeleftresize<resizeresize_narrower
Make pane widerctrl+w >lresizerightresize>resizeresize_wider
Make pane tallerctrl+w +jresizedownresize+resizeresize_taller
Make pane shorterctrl+w -kresizeupresize-resizeresize_shorter
New pane, along the longer sidectrl+b enternew_pane
Next layoutctrl+b spacenext_layout
Apply a layout preset by name (:layout name)no default keyselect_layout
Layout: all side by sideno default keylayout_even_horizontal
Layout: all stackedno default keylayout_even_vertical
Layout: main pane left, rest stackedno default keylayout_main_vertical
Layout: main pane on top, rest belowno default keylayout_main_horizontal
Layout: a gridno default keylayout_tiled
Layout: a spiral (dwindle)no default keylayout_dwindle

Workspaces (10)

ActionKeysName
Next workspacectrl+b )]wnext_workspace
Previous workspacectrl+b ([wprevious_workspace
Previous workspace you were in; again toggles back (Vim's ctrl+^)ctrl+b ^ctrl+b ctrl+6ctrl+^ctrl+6last_workspace
Switch to a workspace by name or numberno default keyswitch_workspace
Workspace pickerctrl+b wworkspace_picker
New workspacectrl+b shift+nnew_workspace
Rename workspacectrl+b shift+wrename_workspace
Close workspacectrl+b shift+dclose_workspace
Move the tab to another workspace (reopens it there)no default keymove_to_workspace
Routing rules: list them; :route add [workspace], :route moveno default keyroute_rules

Navigation (17)

ActionKeysName
Goto picker: every tab in every workspacectrl+b gbgoto_picker
Open / close the side panelctrl+b btoggle_sidebar
Scroll downjctrl+escroll_down
Scroll upkctrl+yscroll_up
Scroll lefthscroll_left
Scroll rightlscroll_right
Scroll half a page downdctrl+dscroll_half_down
Scroll half a page upuctrl+uscroll_half_up
Scroll to topggscroll_top
Scroll to bottomGscroll_bottom
Go backHctrl+ohistory_back
Go forwardLctrl+ihistory_forward
Reload pagerreload
Open a URL or search in this tabno default keyopen_url
Go up a level in the URL pathguurl_up
Go to the site's rootgUurl_root
Focus the address bar (as ctrl+l)IIvisualIpanelfocus_urlbar

Page (5)

ActionKeysName
Copy the page's URLyyyank_url
Open the clipboard's URL or search in this tabpopen_clipboard
Open the clipboard's URL or search in a new tabPopen_clipboard_tab
Focus the first text field (with a count: the Nth)gifocus_input
View the page's source in a new tabgfview_source

Hints (3)

ActionKeysName
Follow linkffollow_link
Follow link in new tabFfollow_link_new_tab
Leave hint modeeschinthint_cancel

Find (4)

ActionKeysName
Search in page/find_forward
Search backwards in page?find_backward
Next matchnfind_next
Previous matchNfind_previous

Modes (5)

ActionKeysName
Back to normal modeescinsertescvisualnormal_mode
Insert mode: focus the first inputiinsert_mode
Copy mode (caret browsing + selection)ctrl+b [vcopy_mode
Command line:command_line
Close the command lineesccommandcommand_cancel

Copy mode (31)

ActionKeysName
Move caret lefthvisualcaret_left
Move caret downjvisualcaret_down
Move caret upkvisualcaret_up
Move caret rightlvisualcaret_right
Move caret a word forwardwvisualcaret_word_forward
Move caret a word backbvisualcaret_word_backward
Move caret to the start of the line0visualcaret_line_start
Move caret to the end of the line$visualcaret_line_end
Move caret to the top of the pageggvisualcaret_top
Move caret to the bottom of the pageGvisualcaret_bottom
Move caret to the end of the wordevisualcaret_word_end
Move caret to the previous word's endgevisualcaret_prev_word_end
Move caret to the next WORD (by spaces)Wvisualcaret_bigword_next
Move caret to the WORD's startBvisualcaret_bigword_back
Move caret to the end of the WORDEvisualcaret_bigword_end
Move caret to the line's first non-blank^visualcaret_first_char
Move caret to the paragraph's start{visualcaret_para_back
Move caret to the paragraph's end}visualcaret_para_next
Find a character forward on the linefvisualcaret_find_forward
Find a character backward on the lineFvisualcaret_find_backward
Till a character forward on the linetvisualcaret_till_forward
Till a character backward on the lineTvisualcaret_till_backward
Repeat the last f, F, t or T;visualcaret_find_repeat
Repeat the last find, reversed,visualcaret_find_reverse
Start or drop a selection at the caretvvisualtoggle_selection
Start or drop a line-wise selectionVvisualline_selection
Swap the selection's endsovisualswap_selection_ends
Select the word at the caretiwvisualselect_inner_word
Select the word at the caret and its spacesawvisualselect_a_word
Copy selection and leave copy modeyvisualyank_selection
Copy the selection's whole lines and leaveYvisualyank_lines

Side panel (15)

ActionKeysName
Select row 11panelpanel_select_1
Select row 22panelpanel_select_2
Select row 33panelpanel_select_3
Select row 44panelpanel_select_4
Select row 55panelpanel_select_5
Select row 66panelpanel_select_6
Select row 77panelpanel_select_7
Select row 88panelpanel_select_8
Select row 99panelpanel_select_9
Next rowjpanelpanel_down
Previous rowkpanelpanel_up
Open the selected rowenterpanelpanel_open
Close the side panelescpanelpanel_close
Close the selected tab; the panel stays openxpanelpanel_close_tab
Reopen the last closed tab (Firefox's ctrl+shift+t)ctrl+shift+tpanelrestore_tab

Bookmarks (14)

ActionKeysName
Open / close the bookmarks panelctrl+b shift+btoggle_bookmarks
Bookmark this page (folders/title files it in folders)ctrl+b aadd_bookmark
Bookmarks: close the folder, or go to its parenthpanelbookmarks_collapse
Bookmarks: open the folder or the bookmarklpanelbookmarks_expand
Bookmarks: open in a new background tabtpanelbookmarks_open_tab
Bookmarks: open in a split rightspanelbookmarks_vsplit
Bookmarks: open in a split belowSpanelbookmarks_hsplit
Bookmarks: add this page here (a/b/ makes folders)apanelbookmarks_add
Bookmarks: add a folder hereApanelbookmarks_folder
Bookmarks: renamerpanelbookmarks_rename
Bookmarks: move to a foldermpanelbookmarks_move
Bookmarks: delete (asks y/N)dpanelbookmarks_delete
Bookmarks: copy the URLypanelbookmarks_yank
Bookmarks: filter/panelbookmarks_filter

Config (2)

ActionKeysName
Reload configno default keyreload_config
Open config.toml in a tabno default keyedit_config

Add-ons (2)

ActionKeysName
Add-on picker: popup, options, on/off, remove, updatectrl+b eaddon_picker
Open an add-on's popup by name (:addon name)no default keyaddon_popup

Keys on this site

Keyboard shortcuts for this website
j kscroll down, up
d uhalf a page down, up
gg Gtop, bottom
/search the docs, or filter the keys
] [next, previous docs page
g hgo home
g dgo to the docs
g kgo to keys
g igo to install
g ago to about
?this help; Esc closes it

In Vimma, ctrl+b ? lists every binding.