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

vi mode? #3

Open
nogweii opened this issue Apr 12, 2010 · 6 comments
Open

vi mode? #3

nogweii opened this issue Apr 12, 2010 · 6 comments

Comments

@nogweii
Copy link

nogweii commented Apr 12, 2010

This would seriously up the line count, but I'm also an addict that can't get enough of vi/vim.

Some knowledge of modes, with support for Esc, i, h, l, j & k are the minimal requirements.

@bobrippling
Copy link

bobrippling commented Dec 27, 2010

Added a pull request

tadmarshall pushed a commit to tadmarshall/linenoise that referenced this issue Oct 18, 2011
…xceptions

Fix first-chance exceptions in Windows

A call to WriteConsoleOutputCharacter() didn't have its final parameter
set, passing a zero instead of a pointer to where to return the char count.
I added the same code that was there for FillConsoleOutputCharacter() and
FillConsoleOutputAttribute(), just allocate a dummy 'n' and pass its address.
andreas-kupries referenced this issue in andreas-kupries/linenoise Feb 19, 2013
…tion

Clarify the comment at the definition of IGNORE_RC.
@John-Appleseed
Copy link

The best feature would be is to have vim mappings. Then I can throw away my .inputrc and start using some imap and nmap shortcuts for all my abbreviated commands. Bash with normal mode would make the command line as productive as the editor. :)

iabbr d !debug_command;
nmap g !git status

@dumblob
Copy link

dumblob commented Mar 14, 2015

+1

Thank you @bobrippling for your patch - it adds support basically for the whole vi mode, which is awesome! Actually those 150 new lines are imho definitely worth including this patch into this original repository.

@eggsyntax
Copy link

+1

This would be a fantastic improvement from my point of view, as I'm using another project (Planck) that uses linenoise. Is anything blocking the pull request from being merged? Thanks!

@zorbash
Copy link

zorbash commented Feb 3, 2016

This issue is addressed by #92.

@davetapley
Copy link

Looks like #92 just got close without merging 😞

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

No branches or pull requests

7 participants