hyperterm-fish-complete
v1.0.1
Published
enable hotkey (e.g. shift+enter) to accept fish autocomplete suggestion
Downloads
3
Readme
hyperterm-fish-complete
Make your choice of hotkey (e.g. Shift+Enter) send right arrow and enter to accept the fish shell autosuggestion
Install
- 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
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
Available modifiers
Command
(orCmd
for short)Control
(orCtrl
for short)CommandOrControl
(orCmdOrCtrl
for short)Alt
Option
AltGr
Shift
Super
Available key codes
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