1.0.1 • Published 9 years ago
hyperterm-fish-complete v1.0.1
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-completeto your plugins array in~/.hyperterm.js. - Add an
acceptentry insidehotkeysin theconfigobject 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+ACommandOrControl+Shift+Z
Available modifiers
Command(orCmdfor short)Control(orCtrlfor short)CommandOrControl(orCmdOrCtrlfor short)AltOptionAltGrShiftSuper
Available key codes
0to9AtoZF1toF24- Punctuations like
~,!,@,#,$, etc. PlusSpaceTabBackspaceDeleteInsertReturn(orEnteras alias)Up,Down,LeftandRightHomeandEndPageUpandPageDownEscape(orEscfor short)VolumeUp,VolumeDownandVolumeMuteMediaNextTrack,MediaPreviousTrack,MediaStopandMediaPlayPausePrintScreen