klonk
diodon
klonk | diodon | |
---|---|---|
7 | 4 | |
217 | 188 | |
- | 6.4% | |
4.7 | 2.7 | |
22 days ago | 18 days ago | |
Java | Vala | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
klonk
-
Undo done the right way!
While surfing the web I came across this blog post: Resolving the Great Undo-Redo Quandary.
- Resolving the Great Undo-Redo Quandary
-
Hacker News top posts: Nov 11, 2022
Resolving the Great Undo-Redo Quandary\ (31 comments)
-
Why is it so hard to see code from 5 minutes ago?
My goofy lil' homemade editor does it this way: If you go back in the past and change it, the future becomes the past. This might sound confusing, but effectively it means that the undo stack contains the actual history of "what happened". This means you can hop to any past or future state linearly with undo & redo alone. I just find this easier than navigating tree GUIs and things that aren't worth the trouble to me. It can still lead to a bit of mental gymnastics in extreme cases.
https://github.com/zaboople/klonk
Note that in theory this can cause an exponential growth of the undo/redo stacks because it makes an upside-down copy of the future when you change the past; but in practice it's never been an issue.
I was thinking of adding a feature to navigate back to "last change-the-past", which wouldn't be hard.
It at least makes more sense than most science fiction time-travel plots...
diodon
-
Ok, I'm joining! BUT...
There's no OOTB clipboard manager. Best one is Diodon so far (icon is kinda ugly, though).
-
Resolving the Great Undo-Redo Quandary
TL;DR
So much cognitive load.
Just configure Vim to put everything you delete in your clipboard and use a clipboard manager like diodon[1] with 1000 items.
Of course works also outside of Vim, you just have to copy the part you might want to reuse before deleting/modifying.
[1]https://github.com/diodon-dev/diodon
-
Awesome GNOME-Shell extensions you did not know about...
For me, diodon> all clipboard extensions because it doesn't take up space in the app indicator bar (small screen on laptop). It behaves like the window 10's super v clipboard if you set the shortcut to super v.
-
Clipman??
You could always give Diodon a try.
What are some alternatives?
gundo.vim - A git mirror of gundo.vim
CopyQ - Clipboard manager with advanced features
undo-tree
budgie-clipboard-applet - A clipboard manager applet that can help you to store and manage clipboard content. Made with ♥️ for budgie desktop.
codemkin - [Moved to: https://github.com/NicholasLYang/codemkin]
Ditto - Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.
doomemacs - An Emacs framework for the stubborn martian hacker
GPaste - Clipboard management system
undotree - The undo history visualizer for VIM
forge - Forge - Tiling and Window Manager for Gnome-Shell [Moved to: https://github.com/forge-ext/forge]
vim-mundo - :christmas_tree: Vim undo tree visualizer
desktopfolder - Bring your Desktop Back to Life