• 2 Posts
  • 14 Comments
Joined 8 months ago
cake
Cake day: March 10th, 2024

help-circle







  • I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.

    BUT

    Does this tool replace shell commands with python functions? Or does it just call many times subprocesses.run()?







  • Once upon a time, I loved Xfce Terminal. It use light and complete for the use-case I had. Then I wanted something that looked nicer with vin. So I started looking for an alternative.

    I used alacrity for a long time (4 years). Then, I found kitty provided some nice stuffs that simplified the workflow for remote servers thanks to special ssh commands and session tabs. I used kitty for about 2-3 years. One thing I missed was that it’s hard to integrate with other software because it implementa all it’s crazy “kitty protocols” and pretend to use them even if they’re compleynon-standard.

    Recently, some misterious bug appeared and made it impossible to use. I switched to wezterm. I liked it could be configured in Lua, so it feels more coherent with my neovim configs. I just missed the mappings for switching terminal and send “!!<enter>” (i.e. execute last command). The special commands for copying custom configs on any ssh server was also missing, but it’s easy to make a script for that. I haven’t experienced too much with integrating it with other tools, but I suspect it’s not better than kitty in this.

    I gave a chance to konsole last week. I just asked myself why we (neovim users) all look for Gpu-accelarated stuffs. The improvement in performance is negligible actually. However, konsole is super-well integrated in the OS, with a scratch terminal (yakuake), file managers (dolphin, konqueror), text editors (Kate), and even simple browsers (konqueror). It provides all the features of wezterm. I still lack a key map for sending “!!<enter>” to a specific terminal, though. But I think the integration it offers is superior to that niche feature (that can be paired within neovim, btw).



  • Whenever you delete something, nvim copies it in a register. Which register it puts in depends on the command. Honestly, I’ve always been confused from all these registers for two reasons:

    • too many registers, most of them never used
    • they don’t pair with the OS clipboard, so even Just copying-pasting in a different terminal or into a browser is impossible

    So, I just use my OS clipboard (KDE Plasma has a clipboard manager built-in) and osc52 plugin (but support for osc52 will is built-in in nightly). If you really want to use registers, you could try to copy all of them into only one and use that.