Skip to content

Tags: sunaku/vim-shortcut

Tags

2.2.2

Toggle 2.2.2's commit message
fix count/range propagation through fallback menu

2.2.1

Toggle 2.2.1's commit message
prevent endless loop in shortcut menu on 2nd+ run

2.2.0

Toggle 2.2.0's commit message
expand <Leader> and <LocalLeader> in shortcut menu

This allows for more reliable fallback behavior, where the user's input
would match shortcuts containing their <Leader> and <LocalLeader> keys.

2.1.0

Toggle 2.1.0's commit message
fzf: prefer user's literal input when tie-breaking

FZF's default tie-breaking configuration prioritized results that had
a different composition of cases than my fully lowercase input ("eg"):

    <Leader>e            go to end of current word in camel/snake case
    <Space>eg            (fzf) go to file in git repository
    <Space>eG            (fzf) go to file in git status
  > <Space>Eg            git revert buffer
    203/367
  > eg

This problem is solved by passing the --tiebreak=begin option to FZF:

    <Leader>e            go to end of current word in camel/snake case
    <Space>eG            (fzf) go to file in git status
    <Space>Eg            git revert buffer
  > <Space>eg            (fzf) go to file in git repository
    203/367
  > eg

Notice how the first match now reflects my fully lowercase input ("eg").

2.0.0

Toggle 2.0.0's commit message
use a decorator to inject typeahead input into FZF

1.1.1

Toggle 1.1.1's commit message
Vim workaround to pass unmatched typeahead to FZF

junegunn/fzf.vim#307

Thanks to Junegunn Choi for sharing this solution.

1.1.0

Toggle 1.1.0's commit message
README: document discovery and fallback shortcuts

1.0.0

Toggle 1.0.0's commit message
README: move screencast out of master to gh-pages