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

Command history #647

Closed
ibrokemypie opened this issue May 3, 2017 · 9 comments
Closed

Command history #647

ibrokemypie opened this issue May 3, 2017 · 9 comments

Comments

@ibrokemypie
Copy link

Feature request to be able to scroll through command history when in command mode like in a terminal. Additional functionality of fuzzy matching typed characters with history (al la zsh) and tab completion would be awesome too, but less important

@zyedidia
Copy link
Owner

zyedidia commented May 3, 2017

You should be able to use the arrow keys to scroll through your command history.

@ibrokemypie
Copy link
Author

Definitely does not work on Version:
Commit hash: d3f32b5
Compiled on May 03, 2017

@zyedidia
Copy link
Owner

zyedidia commented May 5, 2017

Do you want to be able to view command history from previous sessions of micro? Currently if you press CtrlE and type in save and then press CtrlE again and hit the up arrow, save will appear. You can scroll through your current session's history with the arrow keys.

Micro also does tab completion for most things (like options and filenames). For example, after pressing CtrlE type open and then press tab and your options should be displayed in the statusline area. Once there is only one available option, it will be tab completed if you press tab.

@ibrokemypie
Copy link
Author

I have pressed CtrlE, typed save, pressed CtrlE and pressed Up, to no result

@zyedidia
Copy link
Owner

zyedidia commented May 5, 2017

Are you sure you are using the correct version? If you run micro -version it tells you the commit hash is d3f32b5?

@ibrokemypie
Copy link
Author

now
Version:
Commit hash: 67ec0d3
Compiled on May 04, 2017

@ibrokemypie
Copy link
Author

Could this be to do with the fact i have
"Up": "UnbindKey,natural_navigation.NavigateUp",
"Down": "UnbindKey,natural_navigation.NavigateDown",
?

@zyedidia
Copy link
Owner

Yes that is certainly the problem. I'll try to fix this at some point. This is related to #635. We should really be using separate keybindings for command mode and insert mode.

@zyedidia
Copy link
Owner

zyedidia commented Sep 24, 2017

Closing as duplicate of #635 because this will only be fixed when #635 is implemented and command history does exist otherwise.

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

2 participants