context: I use vim as a terminal emulator, multiplexer, and text editor. finally got a wrapper script working so that it'll open new instances automatically using --remote-silent when possible, so I can avoid having a bunch of recursively nested instances. the script handles zero arguments, which --remote-silent does not

https://github.com/sporkl/dotfiles/blob/main/.config/vrs/vrs

#vim

dotfiles/.config/vrs/vrs at main · sporkl/dotfiles

Contribute to sporkl/dotfiles development by creating an account on GitHub.

GitHub
@sporkl sorry, might you elaborate on what you mean by ‘vim as a terminal emulator’? I know you can open a terminal within vim, but I'm guessing there's more to it than that?
@bemmesr it's basically that, but I use gvim at the top level instead of a dedicated terminal emulator
@sporkl that's quite interesting, what benefits have you found with this approach?
@bemmesr I already knew the vim keybindings for window management, so figured I might as well use it as a multiplexer instead of learning tmux/etc. then the first thing I'd do when opening a terminal is starting vim. so might as well just open vim directly from the start. overall mostly comes down to minimizing the set of tools to learn/remember
@sporkl I very much sympathise with the desire to use #vim for everything. I've been using #vimium for a few years now, and have long sought to use vim as a text editor in whatever context. I have yet the unfulfilled desire to make arbitrary text entry on the web automatically bring up an instance of vim (such as in this post I'm writing) but have not made the adequate effort to find or create such a solution. All this is to say that I think I will seriously consider the use of vim as a terminal emulator in future. Thank you for sharing!
@bemmesr @sporkl Firenvim accomplishes just that: textareas in your browser become Neovim instances.

I have a very pleasant update regarding this comment. It turns out that #Tridactyl has exactly the feature I had desired, so that this very reply was written in #Vim and automatically entered into the Mastodon web interface.

I'll leave this here in case someone else has a similar desire and sees my original comment.