Do not enable SingleKeyJump by default

This commit is contained in:
Daisuke Maki 2015-09-29 13:08:11 +09:00
parent 4d706f7374
commit 5d8cc56786
2 changed files with 2 additions and 6 deletions

View file

@ -360,6 +360,7 @@ Some keys just... don't map correctly / too easily for various reasons. Here, we
| peco.ScrollRight | Scrolls the screen to the right |
| peco.ToggleSelection | Selects the current line, and saves it |
| peco.ToggleSelectionAndSelectNext | Selects the current line, saves it, and proceeds to the next line |
| peco.ToggleSingleKeyJump | Enables SingleKeyJump mode a.k.a. "hit-a-hint" |
| peco.SelectNone | Remove all saved selections |
| peco.SelectAll | Selects the all line, and save it |
| peco.SelectVisible | Selects the all visible line, and save it |

View file

@ -118,12 +118,7 @@ func init() {
ActionFunc(doCancelRangeMode).Register("CancelRangeMode")
ActionFunc(doToggleQuery).Register("ToggleQuery", termbox.KeyCtrlT)
ActionFunc(doRefreshScreen).Register("RefreshScreen", termbox.KeyCtrlL)
ActionFunc(doToggleSingleKeyJump).RegisterKeySequence(
"SingleKeyJump",
keyseq.KeyList{
keyseq.Key{Modifier: 0, Key: 0, Ch: '@'},
},
)
ActionFunc(doToggleSingleKeyJump).Register("ToggleSingleKeyJump")
ActionFunc(doKonamiCommand).RegisterKeySequence(
"KonamiCommand",