This topic is for discussion of the 5th live coding session.
Links from the walk-thru
- VIM Adventures
- (please contribute here)
What was covered
- pushd/popd to return script to initial folder
- vim
- Inserting
- Saving & closing
- Moving around with motions
- Repeats, commands, and motions
- ex (
:%s
,:%g
, etc) - Using splits
- ctags
- Editing a particular class/function
- Jumping to symbols and back again
Video timeline - thank you @Mattr
00:00 - Intro
02:10 - Demonstration of bash script and text file manipulation using Vim
19:30 - Cleaning up a long text file into something useful for Youtube video markers using Vim and regex
25:55 - Control + Z to put process like vim in background and fg to get back
27:57 - Power vim user move to split vim into multiple windows. Try ‘:sp /run.sh’ without the ’ ’
28:30 - Control + W to move between windows
28:40 - Fixing the pre-run.sh script in Paperspace so the notebooks and /storage/ folder shows up
32:48 - Tips for learning Vim
41:09 - Configuring Vim with a vimrc file : GitHub - fastai/dotfiles
45:00 - Using ctags to navigate a repository to build SUPERPOWERS (one of Radek’s favourite features of Vim)