Today I Learned
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post.
21 TILs and counting...
- Delete from the current line to the previous
- Don't forget all the shortcut in insert mode
- Don't open the first result when searching with Ag.vim
- Leave Gdiff view but keep windows open
- Quickly add ; or , at the end of lines
- Quickly remove the quickfix window
- Silently redo ctags
- Swap windows after horizontal split
- Switch to spec file with rails.vim
- Search word under cursor with Ag
- Split lines with dots
- Track performance issues
- Vim relative line toggle
- Yank relative file path with line number
In Vim, first create the file in the list. Then jump into the filename.md
then to :e <cfile>
.