设置界面
和操作界面
;从功能上分,Alfred分为基本搜索和快速启动的功能,以及工使用自定义插件的工作流workflow功能。App Store直接安装
Preferences...
即可打开Alfred的设置界面。
1. General:通用; 2. Features:特性; 3. Workflows:工作流; 4. Appearance:外观; 5. Advanced 增强 6. Remote 远程 7. Powerpack:查看是否购买Powerpack以及其许可证。 8. Usage
Alt + 空格
。这个可以设置自己习惯的快捷键。Search all file types
搜索所有文件类型。若勾选此项不但影响巡查速度,还混淆默认搜索结果。Alfred建议用户使用Find+空格+文件名来查询文件或文件夹;使用Open+空格+文件名也可以。
+
来添加更多的搜索引擎。Add Custom Search
。baidu
。baidu
。alfredapp
,此项可随意。
baidu+空格+查询内容
,回车即自动打开百度进行搜索。
{query}
就可以找到我们自定义搜索设置中所需要的Search URL
信息了。于是,本人提供我常用的一些自定义搜索配置。 https://www.baidu.com/s?ie=utf-8&f=8&wd={query}
http://www.jianshu.com/search?utf8=%E2%9C%93&q={query}
http://s.taobao.com/search?oe=utf-8&f=8&q={query}
https://search.jd.com/Search?keyword={query}&enc=utf-8&wq={query}
http://weixin.sogou.com/weixin?type=2&query={query}
http://www.stackoverflow.com/search?q={query}
https://github.com/search?utf8=%E2%9C%93&q={query}
http://mvnrepository.com/search?q={query}
https://developer.android.com/reference/classes.html#q={query}
剪贴板增强工具是我强烈推荐的,提高效率杠杆的。
Command + Alt + C
, 我修改为Command + L
。
1password一款密码管理工具,这里开启的话,就会直接和1password打通,网页直接打开登录。
i
系统命令快捷方式
终端,程序员必用的软件,这里使用系统的终端。我改为iterm2,修改脚本的如下:
-- This is v0.7 of the custom script for AlfredApp for iTerm 3.1.1+
-- created by Sinan Eldem www.sinaneldem.com.tr
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
run script "
on run {q}
tell application \"iTerm\"
activate
try
select first window
set onlywindow to true
on error
create window with default profile
select first window
set onlywindow to true
end try
tell the first window
if onlywindow is false then
create tab with default profile
end if
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
else
run script "
on run {q}
tell application \"iTerm\"
activate
try
select first window
on error
create window with default profile
select first window
end try
tell the first window
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
end if
end alfred_script
演示:
Set sync folder...
设置Alfred配置导出的目录。点击Reveal in Finder
查看Alfred配置所在的目录。workflow与alfred进阶