thelinuxcast,
@thelinuxcast@fosstodon.org avatar

Vim folds are the worst part about vim.

#truth #vim

PacoVelobs,
@PacoVelobs@mamot.fr avatar

@thelinuxcast Preach bro!

crandel,
thelinuxcast,
@thelinuxcast@fosstodon.org avatar
erilun06,
@erilun06@vivaldi.net avatar

@thelinuxcast
I personally use Emacs, but I have it configured so that I can fold "sections" defined using my preferred language`s commenting syntax, which allows me to have nested headings as it allows for multi-character comment-syntax
;;; some text <--first heading
;;;; some more info <-- sub-heading
;; regular comment
(print "hello world");end of line comment.
it does help that the standard in lisp is to have triple ";" comments as a sort of heading anyway(1/2)

lanius,

@thelinuxcast You can just zi to unfold whole buffer. And if it's about kitty config, I've just added an include line and add my configs in ~/.config/kitty/kitty.d not to deal with the big base one: https://codeberg.org/wmwnuk/dotfiles/src/commit/e1d226b64dd35f6fda95160c48c92a696b62341f/kitty/.config/kitty/kitty.conf#L2244

thelinuxcast,
@thelinuxcast@fosstodon.org avatar

@lanius the documentation for a project should not go in the configuration file. That's what man pages are for

mahmoudajawad,

@thelinuxcast vim (and emacs, and the likes) are rather platforms and systems than a single entity project to be looked at this way. Even some of the most recent GUI-only IDEs and editors have similar approach to certain parts of it because it is hard to maintain big pile of functions in a uniform.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines