-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
(global-visual-line-mode t) .spacemacs line jumping bug #6177
Comments
Perhaps a dumb question, but why don't we just always bind |
Possibly related to #681. |
@TheGreenHabi Can you confirm that this is still an issue for you? I'm unable to reproduce on the master branch. System Info 💻
((auto-completion :variables auto-completion-enable-snippets-in-popup t auto-completion-enable-help-tooltip t)
(clojure :variables clojure-enable-fancify-symbols t cider-font-lock-dynamically
'(macro core deprecated function)
cljr-suppress-middleware-warnings t)
emacs-lisp git html javascript markdown org python
(shell :variables shell-default-height 30 shell-default-position 'bottom)
(spell-checking :variables spell-checking-enable-by-default nil)
syntax-checking themes-megapack
(version-control :variables version-control-diff-tool 'diff-hl version-control-global-margin t)) |
@kdelwat Unfortunately, the issue is still present. I'm using latest dev as of today and all packages are updated. It's not OS specific, because I observe the same behavior in Ubuntu. |
I have the same issue, latest master branch with emacs 25.1.1 on Debian Sid. Fairly new to this community, so I don't exactly know what information you'd all like as far as providing minimal reproduction steps, but I don't mind taking the time to re-run through a from-scratch spacemacs install and see if I can reproduce it with minimal changes. I also tried running For those who just want a workaround in the meantime, I've just taken the key-remapping lines from the toggle function and added them to my user-config right after setting global-visual-line-mode and it seems to work.
|
Same problem here |
Same issue here. Spacemacs 0.200.9 |
This has an impact on other modes, for example magit. With @mentalisttraceur's workaround, moving from hunk to hunk with |
@fredRos Thanks for noting that publicly. Since posting the workaround I've not had time to come back around to this, but I've seen a couple of corner cases where things aren't ideal with my workaround, and that's definitely one of them. |
I also have this issue on emacs Mac port. |
I also still have this issue.
Still works with magit. |
The following PRs (possibly modified) changes are now on the develop branch: Visual line navigation globally can be toggled with the key binding (spacemacs/toggle-visual-line-navigation-globally-on) to the |
I am running on the current develop branch and have these lines in my
However, visual line navigation doesn't work until I run Edit: Ok, I noticed that if I comment out the line with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
So is the "official" Spacemacs-y solution to this issue just "use If so, then I think
|
It doesn't seem to work to set the fill column in the user config with: (set-fill-column 79) Probably because the default value is set to
But it works to change it with:
mentalisttraceur, thanks for suggesting next actions for this thread.
The bot beat us to it.
and:
There is an entry in the FAQ:
It mentions adding: (spacemacs/toggle-visual-line-navigation-globally-on) to the user-config.
The suggestion above of using |
Expected behavior:
By enabling
global-visual-line-mode
from .spacemacs file I expect to see lines without "long line marks" and to jump lines withj
andk
as if long lines are real lines. In other words, the same as if I enableglobal-visual-line-mode
orvisual-line-mode
manually.Observed behavior:
Lines are shown as real lines without "long line marks" but jumping still works as if it's one long line and
visual-line-mode
is not enabled. Only after I enable this mode manually again it works as expected.My OS: Windows 10,
spacemacs dev (All current commits of May 31, 2016 ) and all packages up to date
The text was updated successfully, but these errors were encountered: