aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/ui/clipboard/osc52.lua
Commit message (Collapse)AuthorAge
* fix(osc52): use `p` for primary selection instead of `s` (#26076)Tomasz N2023-11-16
| | | Co-authored-by: Gregory Anders <greg@gpanders.com>
* feat(clipboard): enable OSC 52 clipboard provider by default (#26064)Gregory Anders2023-11-16
| | | | | | | | | | | | | Use the XTGETTCAP sequence to determine if the host terminal supports the OSC 52 sequence and, if it does, enable the OSC 52 clipboard provider by default. This is only done automatically when all of the following are true: 1. Nvim is running in the TUI 2. 'clipboard' is not set to unnamed or unnamedplus 3. g:clipboard is unset 4. Nvim is running in an SSH connection ($SSH_TTY is set) 5. Nvim is not running inside tmux ($TMUX is unset)
* refactor: vim.ui.clipboard #26040Justin M. Keyes2023-11-14
Problem: Platform-specific UI providers should live in `vim.ui.*`. #24164 Solution: - Move `vim.clipboard.osc52` module to `vim.ui.clipboard.osc52`. - TODO: move all of `clipboard.vim` to `vim.ui.clipboard`. ref #25872