Back to Browse

Become a Neovim 10x Devloper with foldexpr

4.6K views
Jan 21, 2025
20:48

- Dotfiles: https://github.com/wincent/wincent - foldexpr(): https://github.com/wincent/wincent/blob/fee810b2be44/aspects/nvim/files/.config/nvim/lua/wincent/foldexpr.lua - Other episodes: https://wincent.com/link/screencasts 00:00 Becoming a 10x Devloper 01:57 Fold methods 02:27 Folding with markers 04:13 Indent-based folding 05:16 Folding in huge files 06:01 Why indent-based folding works 09:10 The fold expression 09:57 Debugging 12:01 You had one job 14:32 Performance pitfalls 15:40 The marker cache 17:40 Computing the fold level 19:46 Conclusion Credits: - Ferrari image: by Brian Snelson (https://flickr.com/people/32659528@N00), downloaded from https://commons.wikimedia.org/wiki/File:1980_Ferrari_Pinin.jpg under the Creative Commons Attribution 2.0 Generic license (https://creativecommons.org/licenses/by/2.0/deed.en) - Music: Drunk on Funk, downloaded from https://pixabay.com/music/pengecut-drunk-on-funk-273910/ under the Pixabay Content License (https://pixabay.com/service/terms/)

Download

0 formats

No download links available.

Become a Neovim 10x Devloper with foldexpr | NatokHD