Vim: Search for What You Select Oct 19, 2024 1 min read Cookbook-操作技巧Vim Way 1: yank the selected text with y go to search mode / paste the last yanked text with Ctrl+R 0 Way 2: yank the selected text with y go to search mode with command-line window q/ paste p (and you can continue editing) Source: Search for selection in Vim - Stack Overflow Buy me a coffee Alipay WeChat 关于 SELinux 的各种理论知识 Related Posts Vim: List All Matching Lines 关于 SELinux 的各种理论知识 Linux 上进程 Capabilities 可能变化的场景 Stack Canary 的应用 ARMv8 PAN 特性及其与 XOM 的冲突