vim-oscyank
hop.nvim
vim-oscyank | hop.nvim | |
---|---|---|
23 | 46 | |
575 | 2,421 | |
- | - | |
4.8 | 2.9 | |
5 months ago | 8 months ago | |
Vim Script | Lua | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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.
vim-oscyank
-
how do you copy/paste stuff from/to vim?
I'm usung this plugin and map it to https://github.com/ojroques/vim-oscyank
-
Clipboard: Cut, copy, and paste anything, anywhere, all from the terminal
Yes OSC 52 is very handy for vim over SSH: instead of X11 forwarding - you can just yank text from remote vim into the local clipboard using OSC 52 [1].
Overall it's much quicker - as yanking in vim with X11 forwarding and '+clipboard' sometimes had a delay.
(ps: I think OSC 52 is implemented in xterm and URXVT, but not yet in gnome-terminal)
[1]: https://github.com/ojroques/vim-oscyank
-
Leap.nvim: Neovim’s Answer to the Mouse
> Cut and paste
If your terminal supports it (iterm, kitty, later versions of gnome-terminal and others) this osc52 plugin is really sweet. It even works over ssh.
https://github.com/ojroques/vim-oscyank/
- Ojroques/Vim-oscyank: A Vim plugin to copy text through SSH with OSC52
-
Tmux + SSH + vim, mouse selection not copying to clipboard
Hey! I've had some issues with this as well, I opted for this vim plugin, vim-oscyank, which uses escape characters to inform tmux (and therefore your terminal) of your clipboard contents.
-
nvim-osc52: copy text from remote SSH sessions with OSC52
The plugin itself is a rewrite in Lua of another plugin of mine, vim-oscyank with a clean-up of the code logic (and it allows me to remove one more Vimscript plugin from my config :p)
-
Clipboard integration between tmux, nvim, zsh, x11, across SSH sessions
I just use this [0] vim plugin to copy in vim. For copying from the CLI in ssh I use this app [1]. Both leverage OSC52 escape codes which are pretty widely supported by terminals nowadays.
Need to figure out an equally simple solution for CLI paste support though.
[0] https://github.com/ojroques/vim-oscyank
[1] https://github.com/theimpostor/osc52
- So, is your main editor Vim or Neovim?
-
Copy text in visual mode and paste it on local windows 10 computer
Have you looked into vim-oscyank. It uses an ANSI escape sequence to copy to clipboard, provided your terminal supports it (most modern ones do).
-
Yank over SSH?
Thank you everyone for the help! I spent a few days messing with these solutions. FOR ME: vim-oscyank worked best.
hop.nvim
-
hardtime.nvim - A Neovim plugin helping you establish good command workflow and habit
Personally I like to just hop using the hop plugin: https://github.com/phaazon/hop.nvim
-
Using hop.nvim on empty line breaks plugin (bug?)
I am using hop.nvim and hop.nvim works great most of the time except when I'm on an empty line. Suppose I'm editing this snippet and ^ represents my cursor
-
Rapidly selecting/copying in kitty?
I waas thinking about something ala https://github.com/phaazon/hop.nvim to do fast selections, f.e.: -Entering visual mode or a specific mode -Search for f.e. 2 characters -Getting "hints" (like in vimium) for the matches -Being able to select and copy the hinted matches and being able to chose to either yank a line, a word, a url... etc
- Question regarding vertical movement
- Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
-
Quick tip: One keymap can save you from using multiple plugins
So I was previously using a bunch of plugins to be able to move between frequently used block delimiters "(){}...", things like Vim-matchup or Nvim-treesitter-textobjects. However, i had the sudden realization that what I was really doing was hopping between block delimiters most of the time, so I uninstalled all of them and created a keymap that works faster and requires only one plugin Hop.nvim, which I already use to obtain EasyMotion like movements. Here's the keymap, you can customize it to your liking to add common characters where you hop to (be careful as it is not a regular regex expression):
- Always Pin Your Neovim Plugins
- (Neo)Vim motions on speed
-
sneak vs lightspeed vs vanilla
I prefer to use Hop with :HopWord. It just highlight every word in buffer. f({char}) ({char})
-
Launch a `/` search only in the visible part of a buffer
If you are interested in a plugin solution, there is HopPattern in https://github.com/phaazon/hop.nvim
What are some alternatives?
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
lightspeed.nvim - deprecated in favor of leap.nvim
vim-osc52 - Copy text via OSC 52 from Vim.
leap.nvim - Neovim's answer to the mouse 🦘
vim-clipper - Clipper integration for Vim
vim-easymotion - Vim motions on speed!
rclip - a tool to copy selected text in tmux copy mode on remote host to local system clipboard
vim-sneak - The missing motion for Vim :athletic_shoe:
clipper - ✂️ Clipboard access for local and remote tmux sessions
AceJump - 🅰️ single character search, select, and jump
vim9 - An experimental fork of Vim, exploring ways to make Vim script faster and better.
vim-dadbod-ui - Simple UI for https://github.com/tpope/vim-dadbod