VIMperator

From Colettapedia
Jump to navigation Jump to search

Getting Started

  • :set go+=mTB<CR> = put the menubar, the navigation bar and the bookmark bar back.
  • :set go=<CR> = reverse above action

Getting help

  • :help :help<CR> = help on help
  • :help '{option_name}'

Scrolling

  • j/k = down, up one line
  • h/l = scroll left/right
  • <space> / ctrl-b = scroll down/up one page
  • ctrl-d/ctrl-u = scroll down/up 1/2 page
  • ctrl-o = go back in this tab's history
  • ctrl-i = go forward in this tab's history
  • gt/ctrl-n = go to the next tab
  • gT/ctrl-p = go to the previous tab
  • g0/g$ = go to the first/last tab
  • d = close this tab
  • u = undo closing the tab
  • :open my.webmail.com<CR> = omy.webmail.com<CR>
  • :tabopen vimperator.org<CR> = tvimperator.org<CR>

Navigating

QuickHint mode

  • hit f to open the link in the current tab
  • hit F to open the link in a new tab
  • ctrl-o/d to get back, respectively

Extended Hint mode

  • ;y <the number> = yank the selected link's url
  • ;w <the number> = open a new window

Quitting

  • :xall / ZZ - command to quit and save the current browsing session for next time; the default.
  • :qall / ZQ - command to quit without saving the session

Buffer

  • gf = view source
  • ]] = follow link labelled 'next' or '>'
  • [[ = follow link labelled 'prev', 'previous', or '<'
  • zi = TEXT zoom in
  • zo = TEXT zoom out;
  • zz[optional percentage] = set zoom to percentage specified, defaults to 100%
  • y = copy the current URL to clipboard
  • i = enter CARET mode, which throws a cursor on the screen you can use to highlight text
  • Y = copy selected text to clipboard
  • Ctrl-v Ctrl-v = paste clipboard (using pass through)
  • Ctrl-v Ctrl-z = undo what you just typed (using pass through)
  • Ctrl-z = temporarily ignore all key bindings

Options

  • :set fs/:set nofs = change to full screen, normal

Bookmarks

  • a = add bookmark ( option -t="custom title" )

QuickBookmarks

  • go{A-Z a-z 0-9} = go to the quickbookmark that you've defined as that alphanumeric
  • gn{alphanumeric} = go to quickbookmark in a new tab
  • M{alphanumeric} = make a quickbookmark ... CAPITAL M as opposed to lowercase m, which sets marks within the page
  • :qmark = Mark a URL with a letter for quick access. You can also mark whole groups like this: :qmark f http://forum1.com, http://forum2.com, imdb some artist