dahu / vim-help

Easier navigation within Vim help files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-help

Easier navigation within Vim help files

Tip
If you like vim-help and want to share the W00t!, I’m grateful for tips or beverages.

vim-help provides several normal-mode maps to ease navigation within help files.

Normal Mode Maps Within Help Files

o / O

Jump to the next/prior option

s / S

Jump to the next/prior link

t / T

Jump to the next/prior anchor

q

Close the current help window

<enter>

Follow link under cursor (equivalent to ctrl-])

<backspace>

Jump back a tag (equivalent to ctrl-t)

<leader>j/k

Jump to next/prior quickfix entry (equivalent to :cnext / :cprev)

<leader>q

Disable all vim-help maps (handy for editing vim help files)

Global Normal Mode Maps

<F1>

Cycles through terms from current line for :help

<shift-F1>

Jump back to prior help location.

Note
Jump to prior help location only works if you have MarkMyWords installed.

:TopicToClipboard

The :TopicToClipboard command sets the @* register with a :help command to jump to the nearest help tag prior to the current cursor position. If that help tag is more than 9 lines away, the help command will include an offset to the current cursor line. If you want the cursor line offset even though the help tag is less than 10 lines away, use :TopicToClipboard! instead.

About

Easier navigation within Vim help files


Languages

Language:Vim Script 100.0%