使用先前搜索emacs的搜索脚本(Use search script froma previous search emacs)

编程入门 行业动态 更新时间:2024-10-22 05:14:24
使用先前搜索emacs的搜索脚本(Use search script froma previous search emacs)

我是一个emacs新手。 我使用Cs“text”来搜索文本。 如何从先前的搜索缓冲区中进行选择以研究条目,而不是再次输入它。 例如CS“text1”CS“text2”是否有一个快捷方式来记住text1所以我在搜索时不必再次输入它?

I'm an emacs newbie . I use C-s "text" to search for a text. How do I select from a previous search buffer to research an entry instead of typing it allover again . For instance C-S "text1" C-S "text2" Is there a shortcut to remeber text1 so I dont have to type it again while I search for it ?

最满意答案

如果按Cs Cs,您将搜索上次搜索的内容。

使用Mp,您可以在搜索历史记录中向上走,也可以编辑搜索字符串。 按RET继续搜索。

If you press C-s C-s you will search for whatever you searched for the last time.

Using M-p you can walk up in the search history and also edit the search string. Press RET to continue searching.

更多推荐

本文发布于:2023-07-24 10:49:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1244980.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:先前   脚本   emacs   search   froma

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!