I finally got it working. Emacs has the
line-move-visual variable, but spacemacs requires
spacemacs/toggle-visual-line-navigation to be run instead. If you want this command to modify the bindings for the arrow keys you'll have to switch spacemacs to the
develop branch (as of 2020-06-25). To do this, skip to step 6 below.
If that solves your problem, congratulations! I am still running elementary Hera (based on Ubuntu 18.04) and was having issues with the elpa gpg key being expired. My workaround is to install emacs26, my full process to fix the issues follows.
- Remove and purge emacs:
sudo apt remove --purge emacs
- Remove config:
rm ~/.spacemacs && sudo rm -R ~/.emacs.d/
- Add emacs stable release PPA:
sudo add-apt-repository ppa:kelleyk/emacs
- Install emacs:
sudo apt install emacs26
- Install spacemacs:
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
- Change emacs to
cd ~/.emacs.d/ && git checkout develop
- Start emacs:
- Turn on visual line navigation
Voilà, visual line navigation with arrow keys on Ubuntu 18.04.