nvim-osc52
vim-oscyank
nvim-osc52 | vim-oscyank | |
---|---|---|
13 | 23 | |
320 | 574 | |
- | - | |
4.7 | 4.8 | |
4 months ago | 4 months ago | |
Lua | Vim Script | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" License |
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.
nvim-osc52
-
Native support for OSC52 has landed on nightly.
I've been using https://github.com/ojroques/nvim-osc52 for a while and it works great but now it's one less plugin yay.
- how do you copy/paste stuff from/to vim?
-
Is there a keybinding to select the entire buffer without losing cursor position?
I'm using nvim-osc52 to handle the copying due to using vim on multiple platforms (WSL and MacOS), tmux, and SSH. The default copying command just doens't work. They do provide commands require('osc52').copy(text) and require('osc52').copy_register(register) tho, do you know how I can pass in the entire buffer to it like the above `:%y+`?
-
NVIM 0.9.0 was released
Does this eliminate the need for things like nvim-osc52 (what I have been using for a while now to deal with this)?
-
Clipboard Help Please
try using https://github.com/ojroques/nvim-osc52
-
I'm struggling to get clipboard in WSL working, help appreciated!
I do also use https://github.com/ojroques/nvim-osc52 as a separate binding for copying when I'm sshed through WSL.
-
lazy.nvim: a new plugin manager for Neovim
Alright, I finished porting my conf and everything works perfectly, except nvim-osc52. I can't make sense of the error, but it doesn't happen with packer:
- How to enable clipboard sync with remote (ssh) nvim in the Wayland session?
-
Anyone using Mobaxterm Windows workstation with nvim on server?
Its also possible you will have to deal with escape code shenanigans to get copy/paste working properly in it. I use nvim-osc52 for my yank management as it handles copy to clipboard regardless of the shell wrapping it.
-
Terminal 'status' bar/area, a la shox
In neovim I use this plugin to get it to work with the usual yank commands (i.e. mouse or visual mode to highlight and then press y, or yy for a line, etc).
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.
What are some alternatives?
Neovim-from-scratch - π A Neovim config designed from scratch to be understandable
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
tokyonight.nvim - π A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
vim-osc52 - Copy text via OSC 52 from Vim.
neovim-aarch64-appimage - build nvim.appimage for aarch64(arm64) arch
vim-clipper - Clipper integration for Vim
win32yank - Windows clipboard tool
rclip - a tool to copy selected text in tmux copy mode on remote host to local system clipboard
tmux - π§π»ββοΈ Dark theme for tmux
clipper - βοΈ Clipboard access for local and remote tmux sessions
zshmux - A super simple zsh plugin to quickly attach tmux sessions to new shells
vim9 - An experimental fork of Vim, exploring ways to make Vim script faster and better.