Update README.md

This commit is contained in:
Yan Pritzker 2016-04-14 17:04:28 -05:00
parent cc4b8043f0
commit 66112fbd4d

View File

@ -191,6 +191,7 @@ of plugins above to learn more.
* `Cmd-*` - highlight all occurrences of current word (similar to regular `*` except doesn't move)
* `,hl` - toggle search highlight on and off
* `,gg` or `,ag` - Grep command line, type between quotes. Uses Ag Silver Searcher.
* After searching with `,gg` you can navigate the results with `Ctrl-x` and `Ctrl-z` (or standard vim `:cn` and `:cp`)
* `,gd` - Grep def (greps for 'def [function name]') when cursor is over the function name
* `,gcf` - Grep Current File to find references to the current file
* `//` - clear the search
@ -198,6 +199,8 @@ of plugins above to learn more.
* `,mc` - mark this word for MultiCursor (like sublime). Use `Ctrl-n` (next), `Ctrl-p` (prev), `Ctrl-x`(skip) to add more cursors, then do normal vim things like edit the word.
* `gK` - Opens the documentation for the word under the cursor.
* Spacebar - Sneak - type two characters to move there in a line. Kind of like vim's `f` but more accurate.
* `:Gsearch foo` - global search, then do your normal `%s/search/replace/g` and follow up with `:Greplace` to replace across all files. When done use `:wall` to write all the files.
#### File Navigation