Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は現在、多くのエディターのニーズに MacVim を使用していますが、SSH 経由でファイルをリモートで編集する必要がある場合もあります。 command mode -> block cursorMacVim では、現在のモード、つまりとによってカーソルの形状が異なりinsert mode -> vertical bar cursorます。これは非常に便利です。
command mode -> block cursor
insert mode -> vertical bar cursor
.vimrcリモートで使用できるように、この動作をファイルに複製する方法はありますか?
.vimrc
試してみてください:help termcap-cursor-shape。設定できるオプションは 2 つあります。
:help termcap-cursor-shape
&t_SI
&t_EI
これが機能するには、使用している Vim が+cursorshape機能付きでコンパイルされている必要があります。
+cursorshape
私は個人的に常に gvim を使用しているので、これが問題になることはありませんでした:)。お役に立てれば。
:)