如何让 Ubuntu 上的 gVim 表现得像 Windows 上的 gVim?

发布于 2024-12-11 15:17:33 字数 380 浏览 0 评论 0原文

在寻找答案时,我发现了 这个问题,这是一个完全相反的情况,答案给了我一个提示 - 所以我继续输入:

:behave mswin

这有助于文本选择,但我仍然无法让 gVim 将光标移动到下一个线使用光标右键(例如)时,一旦到达 EOL。它只是陷入了 EOL。我怎样才能改变这个?

编辑:刚刚发现“全选”的也无法按预期工作。

Searching for an answer I found this question, which is an exact opposite case, and the answers gave me a hint - so I went on and entered:

:behave mswin

This helped with the text selection thing, but I still can't make gVim to move the cursor to the next line once it reached the EOL when using the cursor right key (for example). It just get stuck at the EOL. How can I change this?

EDIT: Just found out that the <CTRL-A> for "Select All" does not work as expected as well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

〆凄凉。 2024-12-18 15:17:33

好的,找到了缺失的部分 - 一旦采购,

:source $VIMRUNTIME/mswin.vim

行为确实按预期发生了变化。

OK, found the missing piece - once sourcing

:source $VIMRUNTIME/mswin.vim

the behavior did change as expected.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文