TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Navigating Bash History with Ctrl+R (2011)

6 点作者 alhirzel超过 3 年前

3 条评论

gkfasdfasdf超过 3 年前
This is from 2011? Before fzf [0] was a thing, I imagine...<p>0: <a href="https:&#x2F;&#x2F;github.com&#x2F;junegunn&#x2F;fzf" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;junegunn&#x2F;fzf</a>
评论 #29157168 未加载
Joker_vD超过 3 年前
Now, if only editing the command you found with Ctrl+R did not actually <i>edit</i> this command in the history but instead gave you a new copy!
eftychis超过 3 年前
And CTRL-S for forward search. Generally you can use most&#x2F;all your emacs keybindings (if you are an emacs user and somehow were unaware).<p>You can also do `set -o vi` or `set` the `editing-mode` or `keymap` to `vi` respectively. So if you are an emacs or vi user the world is great!