Spacevimの挿入モードのEnterで改行が入力できない


Neovim + Spacevim 環境でいつの間にか挿入モードで Enter で改行が入力出来なくなりました。
esc+o や Ctrl+j で改行を入力できたのでとりあえずそれで凌いでいました。
でもやはり面倒ということで調べてみました。

検索して以下のフォーラムを見つけました。

checkout to a different commit. cd into ~/.SpaceVim and checkout to 721e31186:

git checkout 721e31186

Works totally fine now!

— Enter/Tab not working while in insert mode : r/SpaceVim[https://www.reddit.com/r/SpaceVim/comments/1eb7ch1/comment/letib2p/ 🏛️]

~/.SpaceVim を 721e31186 にすると直りました。
721e31186 は現時点での HEAD のようです。

$ git -C ~/.SpaceVim checkout 721e31186
Previous HEAD position was 4515c6162 fix(t_ve): remove `t_ve` from iedit.lua
HEAD is now at 721e31186 docs(vimdoc): add extra space
$ git -C ~/.SpaceVim checkout HEAD
$ git -C ~/.SpaceVim status
HEAD detached from 721e31186
nothing to commit, working tree clean

ちなみに Neovim には NVIM_APPNAME という環境変数があってこれを指定していくつも Neovim 環境が作れて便利です。

LazyVim 環境を併用してみたり
$ NVIM_APPNAME=lazyvim nvim
環境
$ git -C ~/.SpaceVim status
HEAD detached at 721e31186
nothing to commit, working tree clean
$ dpkg-query -W neovim
neovim  0.9.5-7+b1
$ lsb_release -dr
Description:    Debian GNU/Linux trixie/sid
Release:        n/a
$ arch
x86_64

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.