1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
<p><img src="https://thumbnails.lbry.com/tM_uIwSucPU" width="480" alt="thumbnail" title="Format Code The Vim Way" /></p>This tutorial is focused on introducing you to using vim's built in formatting features such as the !, gq, and = operators.<br /><br />Let me know what you think and if there is anything specific you would like to learn about.<br /><br />Formatting without moving:<br /> https://gist.github.com/romainl/d2ad868afd7520519057475bd8e9db0c<br />----------------► Wanna Support Me? ◀︎----------------<br />Github: <br /> https://www.github.com/sponsors/gavinok<br />Patreon: <br /> https://www.patreon.com/creator-home<br /><br />----------------► Wanna Checkout My Dots? ◀︎----------------<br />Vimrc:<br /> https://github.com/Gavinok/dotvim<br />Dotfiles:<br /> Coming Soon<br />----------------► Come Join The Community◀︎----------------<br />LBRY:<br /> https://open.lbry.com/@GavinFreeborn:d?r=FVxxdjxLmbpPS5K4EdMsLjBjkxv9eEGs<br />Discord:<br /> https://discord.gg/JJk5KKU<br /><br />⏱️TIMESTAMPS⏱️<br />00:00 Intro<br />00:50 Existing Plugins<br />01:01 Why You May Not Need Them<br />01:13 = Operator<br />01:23 = Demo<br />01:46 How = Works<br />02:52 Enter gq<br />03:17 gq Demo<br />03:54 How gq works<br />04:55 Setting formatprg<br />08:47 ! Operator<br />09:53 Conclusion<br />10:06 Limitations<br />10:48 Outro<br />...<br />https://www.youtube.com/watch?v=tM_uIwSucPU |