Skip to content

Instantly share code, notes, and snippets.

@kentblake
Last active October 11, 2021 03:09
Show Gist options
  • Save kentblake/405a25baf9f4ce82d94c56e7992eca04 to your computer and use it in GitHub Desktop.
Save kentblake/405a25baf9f4ce82d94c56e7992eca04 to your computer and use it in GitHub Desktop.
Learning vi(m)
L2vi.en will address functionality to core vi(m) and its variants except where noted.
Remove your mouse while learning vi. This will wean you from the mouse muscle memory.
vimtutor is your friend. I am currently in section 1.6 orso
vim over ssh from android phone is functional but somewhat capricious
.vimrc
" Comments are indicated by double quote
" Set vim to noncompatable mode, which disables all of the im in vim
set nocp
" The best plugin manager is vim-plug, simple robust and portable
" Inserting the following into your .vimrc will install and keep plug.vim updated and available
" Powershell
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` ni $HOME/vimfiles/autoload/plug.vim -Force
" *nix
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment