Questions tagged «selection»

2
在增量搜索中选择(即作为区域)当前匹配项
当使用搜寻字串时C-s,我希望能够按下某些键以退出搜寻模式,但仍保持对匹配项的选择。这样,我可以立即开始输入并替换最后一个匹配项。 例如,说我有以下文档: The quick brown fox jumps over the lazy dog. 如果我搜索“ lazy”,emacs将像这样选择该单词(方括号是选择,管道是光标): The quick brown fox jumps over the [lazy|] dog. 现在,如果我按return,emacs将保持我的光标位置,但是它将取消选择“ lazy”: The quick brown fox jumps over the lazy| dog. 取而代之的是,我想要一个快捷方式,该快捷方式将退出搜索模式,但仍保持当前的比赛选择,就像在上面的第二种状态一样。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.