Emacs 如何获得复制粘贴、Shift 箭头文本突出显示等

发布于 2024-12-28 07:22:22 字数 158 浏览 2 评论 0原文

我需要知道如何使 Emacs 对于习惯了 Windows 的人有用...具体来说,我真正需要的是:

1)复制粘贴键

2)Shift 箭头选择文本

3)退格键定期起作用,即我不'不希望光标必须位于该字母上才能将其删除。

非常感谢您的帮助。

I need to know how to make Emacs usable for a person so used to windows... Specifically what I really need are:

1) Copy-paste keys

2) Shift arrow to select text

3) The backspace acting regularly, i.e. I don't want the cursor to have to be on the letter to delete it.

Thank you very much for any help.

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

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

发布评论

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

评论(2

万水千山粽是情ミ 2025-01-04 07:22:22
  1. Emacs 默认值是 Mw (Alt + w) 用于复制,Cy (Ctrl + y) 用于粘贴。如果您想使用标准快捷键,请进入窗口顶部的“选项”菜单并激活标有“Cx/Cc/Cv 剪切和粘贴 (CUA)”的选项。

  2. 默认情况下此功能未激活。您可以通过点击 C+ 开始选择,然后移动指针(您实际上可以通过这种方式“设置标记”,然后使用 Cs 进行增量搜索)代码> 到您要选择的位置)。您可以激活“选项”>活动区域突出显示使区域更加明显。如果您处于窗口环境中,则可以使用鼠标进行选择。

  3. 我不太确定你说的这个是什么意思。据我所知,退格键在 Emacs 中应该正常工作(尽管我已经使用它有一段时间了;我可能只是忘记了“正常”在这里意味着什么)。

另外,作为前 Windows 用户/当前 Emacs 用户,请继续坚持下去。如果您能忍受陌生的 UI,那么学习 Emacs 确实是值得的(您最终可能也想学习一点 Lisp)。

  1. The Emacs defaults are M-w (Alt + w) for copy and C-y (Ctrl + y) for paste. If you want to use your standard shortcuts, go into the Options menu at the top of the window and activate the option labelled "C-x/C-c/C-v Cut and Paste (CUA)".

  2. This is not active by default. You start a selection by hitting C+<space> and then moving your pointer around (you can actually "set your mark" this way, and then do an incremental search with C-s to the place you'd like to select up to). You can activate Options > Active Region Highlighting to make the region more obvious. If you're in a windowing environment, you can use your mouse to make a selection.

  3. I'm not entirely sure what you mean by this one. Far as I know, backspace should work as normal in Emacs (though I have been using it for a while; I may have just forgotten what "normal" means here).

Also, as a former Windows/current Emacs user, keep it up. Learning Emacs really is worth it if you can put up with the alien UI (you may eventually want to get into a little bit of Lisp too).

稀香 2025-01-04 07:22:22

对于复制/粘贴,请按 Shift 选择查看软件包(电脑选择、cua 模式等)此处。

For copy/paste, shift select see the packages (pc selection, cua mode, etc.) here.

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