Documents and notes related to web developement.
A great resource with additional shell enhancements and functions: https://github.com/mathiasbynens/dotfiles
<video preload controls poster="https://cdn.brad.is/images/thumb.jpg">
<source src="https://cdn.brad.is/videos/curiosity.mp4" type="video/mp4">
<source src="https://cdn.brad.is/videos/curiosity.webm" type="video/webm">
</video>
Select every other line:
- Find: Ctrl+F
- If regular expressions are not already enabled, enable them: Alt+Command+R
- Type in the expression
.*\n.*\n
- Find all: Alt+Enter
- Press left arrow to get rid of the selections, leaving just the cursors: โ
- You now have a cursor at the start of every odd-numbered line. If you wanted even-numbered lines, press down: โ
- Depending on the file, there might be one cursor missing right down the bottom of the file. Using the mouse (damn!) scroll to the bottom, hold down Ctrl, and click where the missing cursor should be to add it in.