经常需要在一堆文档中寻找包含 某字符串 的文档。windows 下的 editplus 有这个功能,gedit 怎么办呢?
找到个办法,简单有效:
打开 gedit,打开 Tools – Manament Extenal Tools
新建一个叫 find in files 的工具
内容如下:
#!/bin/sh
xargs gnome-search-tool –contains
input 选 Current selection
output 选 display in bottom pane
说明:在 gedit 选择要搜索的文字,选择菜单 Tools – external tools – find in files 就会打开 gnome 的搜索面板,用 xargs 搜索。




