Vim Style Command Interface
See original GitHub issueCurrently we use keybinding to perform actions (on flows etc.) but some of them have too much hierarchy.
Having vim-like commands for all actions that we can perform would be amazing.
Some examples: :filter-view <filter>
, :delete-matching <filter>
, :export python
.
Of course the commands (& their arguments) will have autocompletion. 😜
I think this will improve our keybinding system too & make them configurable.
ranger is file-manager written in python that has this vim style shell, so we could look at how they handle things etc.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Popular Vim Commands - Comprehensive Vim Cheat Sheet
Check out this comprehensive list of some of the most popular Vim commands so that you can take full advantage of this widely...
Read more >Introduction to the command line interface (shell) - ARCHIVED
A GUI is an interface that has buttons and menus that you can click on to issue commands ... Upon creation of a...
Read more >Mastering Vim Commands: The Ultimate List - Design Bombs
Vim is fairly popular among the coders and advanced users. In this article, we will be taking a look at some of the...
Read more >Creating a Vim-Style Command Line Interface - Stack Overflow
I understand how to use stdin/stdout/stderr to interact with a user via the command line on a per-command basis (like git/maven/javac etc.).
Read more >How to use vim editor – Complete Guide - Linux Hint
Vim editor is among the best editors used in the command-line interface to open, edit and save files, vim editor can be used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think having 1 letter commands (verbs) isn’t too different from having hotkeys (except in a few cases) because it still relies on being able to remember them. (Was it
s
orS
?)I’ll be in favor of having long descriptive names for commands because once we have an autocompletion system, you can just start typing part of a command (sublime style fuzzy is what I have in mind) and won’t have to type much.
You could still have aliases for these commands - specified in the mitm config file perhaps (
alias m mark-matching
line?)@Kriechi Your demo looks amazing! Is there a tree that I can clone and play around with?
Here’s @resam’s demo of a more verbose language:
https://www.dropbox.com/s/091j4l8pnitdykp/mitmproxy-commands.mov?dl=0