question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vim Style Command Interface

See original GitHub issue

Currently 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
dufferzafarcommented, Nov 2, 2016

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 or S ?)

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?

1reaction
cortesicommented, Nov 1, 2016
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found