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/ 🏛️]

~/.SpaceVim721e31186 にすると直りました。
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

コメントを残す

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

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)