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

linum-relative-current-symbol should not be displayed in Evil mode in command-line #38

Closed
chumakd opened this issue Jan 19, 2017 · 3 comments

Comments

@chumakd
Copy link

chumakd commented Jan 19, 2017

Evil mode emulates Vim command line feature (accessible by : key). If linum-relative-global-mode mode is enabled, the linum-relative-current-symbol (defaults to 0) is displayed when command-line is active.

screen shot 2017-01-19 at 12 05 58 pm

@coldnew
Copy link
Owner

coldnew commented Jan 19, 2017

Not sure what happend :(

Since linum-relative is based on linum-mode, can you make sure linum-mode won't display on minibuffer ?

screen shot 2017-01-19 at 1 38 49 pm

@chumakd
Copy link
Author

chumakd commented Jan 19, 2017

Thanks for the tip. After adding (add-hook 'minibuffer-setup-hook (lambda () (linum-mode 0))) the issue has gone.

@chumakd chumakd closed this as completed Jan 19, 2017
@coldnew
Copy link
Owner

coldnew commented Jan 20, 2017

Since linum-mode will make emacs slow on large file, it's more recommend to use linum-off with any linum-mode based plugins.

linum-off will disable linum-mode on the minibuffer by default.

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