Skip to content

Instantly share code, notes, and snippets.

@kafaichoi
Created May 31, 2015 09:57
Show Gist options
  • Save kafaichoi/a4e467b90f585d1a0d5a to your computer and use it in GitHub Desktop.
Save kafaichoi/a4e467b90f585d1a0d5a to your computer and use it in GitHub Desktop.
Common Vim Command
:e. :edit . at current working directory
:sp. :split . in split at current working directory
:vs. :vsplit . in vertical split at current working directory
:E :Explore at directory of current file
:Se :Sexplore in split at directory of current file
:Vex :Vexplore in vertical split at directory of current file
% create a new file
d create a new directory
R rename the file/directory under the cursor
D Delete the file/directory under the cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment