Skip to content

Instantly share code, notes, and snippets.

@jshawl
Created November 20, 2014 20:08
Show Gist options
  • Save jshawl/83e0b1d29e63abf85b88 to your computer and use it in GitHub Desktop.
Save jshawl/83e0b1d29e63abf85b88 to your computer and use it in GitHub Desktop.

Ex-mode uses

Explore Files in current directory

:ex .

Explore Files in directory relevant to open file

:Ex

Open a new vertical split

:vsp .

Open a new vertical split with file explorer

:Vex

Open a new horizontal split

:sp .

Open a new horizontal split with file explorer

:Sex

Global find and replace

:%s/thing-to-find/thing-to-replace-with/g

Run current file with command

:! ruby %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment