4 ms·
Long time Sublime Text and Sublime Merge fan, and a paying user since 2011. It's very good; I use all three OSes (Windows at work, MacOS on occasion, Linux is p
by ckunte 2y ago
Long time Sublime Text and Sublime Merge fan, and a paying user since 2011. It's very good; I use all three OSes (Windows at work, MacOS on occasion, Linux is primary driver, and I've now switched to Pi 5. Zed does not even load on this, whereas ST just flies. (The only real competition is Neovim.)
That reminds me, I wonder if Sublime Text still has room to improve in some areas. Here's an example, in Vim generating a date stamp is a one liner incl. text expansion[0], whereas in Sublime Text, one has to write a multi line plugin and a separate keyboard shortcut[1] to get the same functionality as that of Vim.
[0]: https://gist.github.com/ckunte/2d7a750e6cf8b96f98f028e90c8ab712 https://gist.github.com/ckunte/2d7a750e6cf8b96f98f028e90c8ab...
[1]: https://gist.github.com/ckunte/31500c17452b0fd8c55bc9460bd9cc92 https://gist.github.com/ckunte/31500c17452b0fd8c55bc9460bd9c...
- james2doyle 2y agoI think it would be cool to see some built-in commands for common things like that. But I think the fact that your plugin is so small and so quick to add, proves that going that route is probably the best one. I'm sure if there was a plugin out there that added dozens of these little commands, it would probably do pretty well.
- ben-schaaf 2y agoYou can achieve the same thing using the arithmetic command in the command palette: `__import__('datetime').datetime.now().strftime("%Y-%m-%d %H:%M")`.
- ckunte 2y agoThank you, Ben. Wow! TIL.