hyperterm-fish-complete

    1.0.1 • Public • Published

    hyperterm-fish-complete

    Make your choice of hotkey (e.g. Shift+Enter) send right arrow and enter to accept the fish shell autosuggestion

    Install

    1. Add hyperterm-fish-complete to your plugins array in ~/.hyperterm.js.
    2. Add an accept entry inside hotkeys in the config 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 (or Cmd for short)
    • Control (or Ctrl for short)
    • CommandOrControl (or CmdOrCtrl for short)
    • Alt
    • Option
    • AltGr
    • Shift
    • Super

    Available key codes

    • 0 to 9
    • A to Z
    • F1 to F24
    • Punctuations like ~, !, @, #, $, etc.
    • Plus
    • Space
    • Tab
    • Backspace
    • Delete
    • Insert
    • Return (or Enter as alias)
    • Up, Down, Left and Right
    • Home and End
    • PageUp and PageDown
    • Escape (or Esc for short)
    • VolumeUp, VolumeDown and VolumeMute
    • MediaNextTrack, MediaPreviousTrack, MediaStop and MediaPlayPause
    • PrintScreen

    Install

    npm i hyperterm-fish-complete

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • mquinnv