mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
Do not enable SingleKeyJump by default
This commit is contained in:
parent
4d706f7374
commit
5d8cc56786
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue