macos fix
This commit is contained in:
parent
7f7b939450
commit
5936f7d0a7
1 changed files with 14 additions and 11 deletions
|
|
@ -358,6 +358,8 @@ in
|
||||||
|
|
||||||
-- OSC-52 clipboard integration (matches tmux setup, works with Ghostty)
|
-- OSC-52 clipboard integration (matches tmux setup, works with Ghostty)
|
||||||
-- This enables clipboard functionality across SSH, tmux, and multi-platform
|
-- This enables clipboard functionality across SSH, tmux, and multi-platform
|
||||||
|
-- Only enabled on Linux; macOS uses native clipboard with "unnamedplus"
|
||||||
|
${lib.optionalString (!pkgs.stdenv.isDarwin) ''
|
||||||
vim.g.clipboard = {
|
vim.g.clipboard = {
|
||||||
name = 'OSC 52',
|
name = 'OSC 52',
|
||||||
copy = {
|
copy = {
|
||||||
|
|
@ -369,6 +371,7 @@ in
|
||||||
['*'] = require('vim.ui.clipboard.osc52').paste('*'),
|
['*'] = require('vim.ui.clipboard.osc52').paste('*'),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
''}
|
||||||
|
|
||||||
-- Close all buffers except current (preserving NvimTree and other special buffers)
|
-- Close all buffers except current (preserving NvimTree and other special buffers)
|
||||||
function close_other_buffers()
|
function close_other_buffers()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue