Skip to content

(Work in progress) A simple complete hint plugin for tabby

License

Notifications You must be signed in to change notification settings

OpaqueGlass/tabby-quick-cmds-hint

Repository files navigation

tabby-quick-cmds-hint

中文 | English

This is a simple complete hint (i.e. auto-complete) plugin for Tabby.

Quick Start

Note

  • This plugin is still in development.
  • It may not be compatible with shells other than Bash, or with systems other than Ubuntu. See docs/INIT.md for more info.
  • The console log output may also be quite messy.
    • For bash user:
      • basic function: add the following scripts to ~/.bashrc
        export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]'
      • history: add the following scripts to ~/.bashrc
        function preexec_invoke_exec() {
           printf "\033]2323;Command=%s\007" "$1"
        }
        trap 'preexec_invoke_exec "$BASH_COMMAND"' DEBUG
  1. Download and enable tabby-quick-cmds plugin. Add some commands.
  2. Start annoying hint experience.

TODO

  • The cmds saved in tabby-quick-cmds
  • Use AI to complete cmds (Available only when triggered by a shortcut key)
  • Command arguments
  • History
  • Multilingual support

Reference & Appreciations

Some developers or packages directly used in this plugin are not listed. Please refer to the contributors list or package.json.

About

(Work in progress) A simple complete hint plugin for tabby

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published