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