Make your choice of hotkey (e.g. Shift+Enter) send right arrow and enter to accept the fish shell autosuggestion
- Add
hyperterm-fish-complete
to your plugins array in~/.hyperterm.js
. - Add an
accept
entry insidehotkeys
in theconfig
object and set the value to the shortcut you want to use (see Electron Accelerators for valid shortcuts)
module.exports = {
config: {
hotkeys: {
accept: 'Shift+Return'
}
},
plugins: [
'hyperterm-fish-complete'
]
}
Or
module.exports = {
config: {
acceptShortcut: 'Shift+Return'
},
plugins: [
'hyperterm-fish-complete'
]
}
Valid shortcuts are defined by Electron and are known as Accelerators. Accelerators can contain multiple modifiers and key codes, combined by the + character.
Examples:
CommandOrControl+A
CommandOrControl+Shift+Z
Command
(orCmd
for short)Control
(orCtrl
for short)CommandOrControl
(orCmdOrCtrl
for short)Alt
Option
AltGr
Shift
Super
0
to9
A
toZ
F1
toF24
- Punctuations like
~
,!
,@
,#
,$
, etc. Plus
Space
Tab
Backspace
Delete
Insert
Return
(orEnter
as alias)Up
,Down
,Left
andRight
Home
andEnd
PageUp
andPageDown
Escape
(orEsc
for short)VolumeUp
,VolumeDown
andVolumeMute
MediaNextTrack
,MediaPreviousTrack
,MediaStop
andMediaPlayPause
PrintScreen