One of the things that really, really annoys me when I get lazy and use a pre-bundled set of (neo)vim plugins is how every one of them uses mouse functionality. I only use the mouse to copy/paste from the terminal to system clipboard. I don’t want it hijacking him and entering visual mode.
Vim has a better way, it’s called :set clipboard=unnamedplus (alternatively, one can bind anything else to copy/paste to/from system cliboards). Not sure why would one use a mouse for this, honestly
Ctrl is already used my a large number of commands in POSIX shells. This is one of the places that I really like Apple’s solution (despite really not liking most of what they do). Super/GUI/Command + c/v is a great improvement in the terminal.
You know, if I can use vim bindings and regex, I might try it out. I tend to try to keep my neovim plugins fairly lightweight when I config myself. Not being electron is a big plus.
What stopped me personally was reading they use a different order of operations, so to say. Where vim goes action + range, helix goes (or at least used to go) range + action (like replacing ci" by i"c). Mb that makes more sense for them, but I’m too lazy to re-learn that for no particular reason
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
One of the things that really, really annoys me when I get lazy and use a pre-bundled set of (neo)vim plugins is how every one of them uses mouse functionality. I only use the mouse to copy/paste from the terminal to system clipboard. I don’t want it hijacking him and entering visual mode.
does this suggest that copy/paste from the terminal is broken by design and we need find a better way?
I like your thinking. Give me Firefox with a TUI and POSIX shell i/o redirection support.
Vim has a better way, it’s called
:set clipboard=unnamedplus
(alternatively, one can bind anything else to copy/paste to/from system cliboards). Not sure why would one use a mouse for this, honestlyI think if you want to copy a specific selection to a mouse-based, different program then it makes sense to use the mouse for precision selection.
Might I suggest a common set of keybinds… maybe C for copy, and v for vaste… maybe use ctrl as well?
Ctrl is already used my a large number of commands in POSIX shells. This is one of the places that I really like Apple’s solution (despite really not liking most of what they do). Super/GUI/Command + c/v is a great improvement in the terminal.
pee bundled neovim add-ons might as well use helix.
You know, if I can use vim bindings and regex, I might try it out. I tend to try to keep my neovim plugins fairly lightweight when I config myself. Not being electron is a big plus.
What stopped me personally was reading they use a different order of operations, so to say. Where vim goes action + range, helix goes (or at least used to go) range + action (like replacing
ci"
byi"c
). Mb that makes more sense for them, but I’m too lazy to re-learn that for no particular reasonyah helix has vim motions.
their search mode and select is a bit different but once you do the tutorial it makes complete sense why youd want to scope your regex replace.