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

Created new emacs mode and removed Emacs bindings from standard mode #136

Merged
merged 2 commits into from
Jan 15, 2018

Conversation

jncraton
Copy link
Contributor

This separates emacs and standard mode as discussed in #134. Standard mode is the default, and emacs mode is available now via the --emacs flag. Readme updates are included to reflect this change.


// Editor Commands
keymap.bind_key(Key::Ctrl('q'), Command::exit_editor());
keymap.bind_key(Key::Ctrl('s'), Command::save_buffer());
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this is going to be more like emacs, then I think ctrl-q and ctrl-s can be removed.

@gchp
Copy link
Owner

gchp commented Jan 15, 2018

Left one small comment. Other than that one thing - this looks good!

Thanks for taking the time to submit it!

@jncraton
Copy link
Contributor Author

I took out the two bindings you mentioned along with Ctrl-Z and Ctrl-Y as those don't seem to be in emacs either.

@gchp gchp merged commit a341964 into gchp:master Jan 15, 2018
@gchp
Copy link
Owner

gchp commented Jan 15, 2018

Thanks!

@jncraton jncraton deleted the new-default-mode branch January 15, 2018 20:00
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

Successfully merging this pull request may close these issues.

2 participants