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

Emacs

323 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 2 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

Upvote for Iosevka

[–] [email protected] 2 points 1 year ago

Looks similar to obsidian’s sliding panes

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 1 points 1 year 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

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 1 points 1 year ago

You can definitely drag emacs window borders smoothly

[–] [email protected] 1 points 1 year 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