:Ack foo\ bar
This approach to escaping is taken in order to make it straightfoward to use powerful Perl-compatible regular expression syntax in an unambiguous way without having to worry about shell escaping rules:
:Ack \blog((['"]).*?\1) -i --ignore-dir=src/vendor src dist build
CTRL-R CTRL-W : pull word under the cursor into a command line or search CTRL-R CTRL-A : pull whole word including punctuation
Start in the top of a file (to get there, press gg anywhere in the file.).
Then press =G
– indents a line << – unindents a line =% - (re)indent the current braces { ... }
Often, when you edit a file with code, you open another one in the same window. Then it's not so easy to come back to the one you just worked on.
You can use CTRL+o for this.
You can use CTRL+L for this.