Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for Commands #70

Open
8 of 21 tasks
wendivoid opened this issue Jul 27, 2018 · 0 comments
Open
8 of 21 tasks

Tracking Issue for Commands #70

wendivoid opened this issue Jul 27, 2018 · 0 comments

Comments

@wendivoid
Copy link
Member

wendivoid commented Jul 27, 2018

#69 is merged we have the ability to run commands from the TUI. So we'll need to start discussing what commands should be implemented, what a command sould look like anyway.

In #69 for Command structure i chose to have 2 forms of each command a 'long' and 'short' version, so for example to save the current buffer you could type 's' or 'save' and they are seen as the same command. But is this really the best way to go?

Here is a list of possible commands that xi-core already does for us(but we dont implement) and what i think there key bindings should be:

  • quit ('q', 'quit')
  • save ('s', 'save')
  • close ('c', 'close')
  • backspace ('b', 'back')
  • delete ('d', 'delete')
  • open file ('o', 'open')
  • next buffer ('bn', 'next-buffer')
  • prev buffer ('bp', 'prev-buffer')
  • search ('?', 'search')
  • page down ('pd', 'page-down')
  • page up ('pu', 'page-up')
  • move left ('ml', 'move-left')
  • move right ('mr', 'move-right')
  • move up ('mu', 'move-up')
  • move down ('md', 'move-down')
  • left select ('sl', 'select-left')
  • right select ('sr', 'select-right')
  • up select ('su', 'select-up')
  • down select ('sd', 'select-down')
  • display themes? ('ts', 'themes')
  • set theme ('t', 'theme')
ktomsic added a commit to ktomsic/xi-term that referenced this issue Oct 19, 2018
It wasn't immediately obvious from the README how to access the
commandline or what commands are supported. This changeset adds a brief
overview of the command system and lists current and future commands
based off the command tracking issue [1] at the time of writing.

[1] xi-frontend#70
ktomsic added a commit to ktomsic/xi-term that referenced this issue Oct 19, 2018
It wasn't immediately obvious from the README how to access the
commandline or what commands are supported. This changeset adds a brief
overview of the command system and lists current and future commands
based off the command tracking issue [1] at the time of writing.

[1] xi-frontend#70
ktomsic added a commit to ktomsic/xi-term that referenced this issue Oct 19, 2018
It wasn't immediately obvious from the README how to access the
commandline or what commands are supported. This changeset adds a brief
overview of the command system and lists current and future commands
based off the command tracking issue [1] at the time of writing.

[1] xi-frontend#70
wendivoid pushed a commit that referenced this issue Oct 19, 2018
It wasn't immediately obvious from the README how to access the
commandline or what commands are supported. This changeset adds a brief
overview of the command system and lists current and future commands
based off the command tracking issue [1] at the time of writing.

[1] #70
JCavallo added a commit to JCavallo/xi-term that referenced this issue Jan 11, 2019
This implements the move_left/right/up/down commands.
The mappings are as suggested in issue xi-frontend#70:
  - `ml` / `move-left`
  - `mr` / `move-right`
  - `mu` / `move-up`
  - `md` / `move-down`
wendivoid pushed a commit that referenced this issue Feb 13, 2019
* Add move-* commands support

This implements the move_left/right/up/down commands.
The mappings are as suggested in issue #70:
  - `ml` / `move-left`
  - `mr` / `move-right`
  - `mu` / `move-up`
  - `md` / `move-down`

* Update README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant