Skip to content

mquinnv/hyperterm-fish-complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

use shift+enter to accept the autocomplete suggestion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published