Notes from video:
# Notes for my YouTube video:
# https://youtu.be/o6cZ8fFBj-M
###################
#
# Command-Line Mode
#
###################
##
:split
:split [FILENAME]
:vertical split
:vertical split [FILENAME]
##
# Close window with cursor
:close
##
# override all warnings with "!"
# and hide buffer
:close!
##
# close all windows AND
# exit the Vim program
:quitall
##
# override warning with "!"
# and discad ALL changes THEN
# exit Vim program
:quitall!
##############
#
# Normal Mode
#
##############
##
# increase window width
^w >
[NUMBER] ^w >
##
# decrease window width
^w <
[NUMBER] ^w <
##
# increase window height
^w +
[NUMBER] ^w +
##
# decrease window height
^w -
[NUMBER] ^w -
##
# set all windows equal
^w =
##
# rotate windows
^w r
##
# move cursor in a
# particular direction
^w [ARROW KEY]
You can also get the most current version of the above via git:
git clone https://gist.github.com/3d380d4bbd54c0c36d144ededb7c3591.git vimBuffers2
cd vimBuffers2
