helm-mini
helm-mini is like an interactive version of ibuffer,交互式buffer管理插件.
1. If I enter the pattern: *lisp ^helm @moc
, Helm will narrow down the list by selecting only buffers that are in lisp mode, start by helm and match “moc” in their contents.
2. If I want to specify more than one major-mode, separate them with,
, e.g *!lisp,!sh,!fun
will list all buffers but the ones in lisp-mode, sh-mode and fundamental-mode.
3. If I enter the pattern: *lisp ^helm moc
. Notice there is no@ this time helm will look for lisp mode buffers starting by “helm” and have “moc” in their name.
4. If I enter the pattern: *!lisp !helm
Helm will narrow down to buffers that are not in “lisp” mode and that do not match “helm”.
5. If I enter the pattern: /helm/ w3
Helm will narrow down buffers that are in any “helm” sub-directory and matching w3.
helm-find-files
helm-find-files is file navigation on steroids(文件查找加强版)
1. Enter~/
at the end of the pattern to quickly reach home directory.
2. Enter/
at the end of the pattern to quickly reach root of your file system.
3. instead use ffap
Find file at point, Now, you no longer have to use a separate command to open the file at point, but using the same C-x C-f
,It’s really convenient.
4. File and directory histories, With a prefix argument, helm-find-files displays a list of visited directories. During a helm-find-files session, you can get a list of visited files and directories with C-c h
.
helm-ff-do-grep
From within a helm-find-files session, you can invoke helm-ff-run-grep
with C-s
to search a file/directory on highlighted entry in the Helm buffer. With prefix argument C-u,recursively greps a selected directory. You can also save the result into a Grep buffer using the action Save results in Grep buffer.
helm-semantic-or-imenu
The Imenu facility offers a way to find the major definition.
helm-find
interactively get results from Unix find for every character you enter into Helm prompt. By default, invoking helm-find only searches current directory. With prefix argument C-u (i.e. C-u C-c h /), a prompt asks for a directory to find. helm-find can be invoked within helm-find-files session, by using C-c /
. To open more than one file, mark individual candidates with C-SPC
or mark all with M-a
, then RET
. You can switch to helm-find-files with C-x C-f
.
projectile
projectile-switch-project
, This is the very first command you need to use before using other commandshelm-projectile-find-file
lists all files in a project for users to narrow down to wanted files.All the key bindings associated with actions are only available while a Helm buffer is active.helm-projectile-find-file-in-known-projects
lists all files in all known projectshelm-projectile-find-file-dwim
Find file based on context at pointhelm-projectile-find-dir
List available directories in the current project.helm-projectile-recentf
List recently visited files in current projecthelm-projectile-find-other-file
根据源文件找头文件, 变量projectile-other-file-alist
保存着头文件和源文件后缀的对应关系