this post was submitted on 24 Nov 2023
3 points (100.0% liked)

Emacs

310 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] supperino@alien.top 3 points 10 months ago

loved your colorscheme.. which one is it?
is that doom-line mode? loved your line-mode too

[–] Gus_Gustavsohn@alien.top 2 points 10 months ago

Looks similar to obsidian’s sliding panes

[–] cazzipropri@alien.top 2 points 10 months ago

Upvote for Iosevka

[–] potatowithascythe@alien.top 1 points 10 months ago

To this day I'm still surprised there aren't any Smooth Caret Animation packages for Emacs

[–] OutOfCharm@alien.top 1 points 9 months ago

I did this in my personal keybindings, in which one mode is visit mode. Once you get into it by hitting v, you can shrink, enlarge, swap and select window.

[–] bbroy4u@alien.top 1 points 10 months ago

bdw as emacs is a gui app are there other any animations aspects in emacs or any package that add some animation bling to emacs

[–] hvis@alien.top 1 points 10 months ago (1 children)

What's going on on the gif doesn't look particularly smooth, so as long as the horizontal steps are limited to multiples of the character width, this should be easy to write in Emacs Lisp (5-10 lines).

But doing something practical with it will require extra work. I.e. the depicted process is probably a part of some specific buffer management/switching mechanism, and that would require some extra analysis to replicate and integrate.

[–] bbroy4u@alien.top 1 points 10 months ago (1 children)

yes the gif has a lot less frames then the actuall video from which i converted, overall it feels smooth when i do it in neovim

[–] hvis@alien.top 1 points 10 months ago

Ah, actually, Emacs supports pixelwise window resizing as well.

So it basically comes down to choosing (and implementing) the window management logic which would do something like this for the sake of anything practical.

And making sure that no third-party packages slow down redisplay enough that this movement becomes too jerky.

[–] MitchellMarquez42@alien.top 1 points 10 months ago

You can definitely drag emacs window borders smoothly