# Open `file_name` in editor mode vim file_name # Open `file_name` file from home directory in Vim vim ~/.file_name # Open current directory in browser mode vim .
# Go to previous buffer (go back to directory where the file was opened from) :b#
Navigate to the previous file (alternate file)
ctrl + shift + 6
Start an instance of directory navigation in current folder.
This files in this mode are also searchable using /file_name
:E
# Start a vertically split navigation panel :Vex # View current directory files :ls # Search for a matching file name in the current directory :find **/filename<tab>
In Windows, navigate to another drive
:edit D:\
# Move to end of line $ # Move to beginning of line ^ # Edit from the end of the line A # Edit from the beginning of the line I
# Move to previous paragraph { # Move to next paragraph }
Start fuzzy matcher
vim -o fzf
# wrap text in vim :set wrap linebreak # unwrap text in vim :set wrap!