elementary / elementary/terminal

Add the ability to create shortcuts to commands

Open
#297 0 comments 0 reactions 0 assignees View on GitHub
Needs Design
Dominant language
Vala
Stars
428
Forks
104
Avg merge
1d 54m
Merged PRs (30d)
2

Description

As a user I would like to have the opportunity to add shortcuts to the terminal that would run certain commands.

For instance if you ever used a terminal in macos there is this shortcut to clear the terminal, `cmd + K`. that clears the terminal in a different way than the linux terminal is cleared up with `ctrl + L`, with this shortcut we can still scroll up in the terminal history but with `cmd + K` you cant, is like a new terminal window/tab.

I personally just want to add that shortcut to `super + K` to the command `tput reset`. I think it is better to leave to the user the liberty to set this up however they want. But if you want to just implement the Shortcut that is fine as well, as long as it uses the `Super + K` for mac new comers it may get confusing.

Thanks,
Fernando

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating how terminal key events and user-configurable preferences are handled, then determine whether shortcuts should be fixed or configurable. Done means a shortcut can run a command and preserves the requested terminal-clearing behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.