summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-30 10:25:28 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-30 10:25:28 -0400
commitbb784bf05681e76fb7647039ac5310ab2d98d54f (patch)
treec1e8e869072943578b5953e951ad3b05727d8732
parentadd fzf to zsh (diff)
downloadnixos-bb784bf05681e76fb7647039ac5310ab2d98d54f.tar.gz
nixos-bb784bf05681e76fb7647039ac5310ab2d98d54f.tar.bz2
nixos-bb784bf05681e76fb7647039ac5310ab2d98d54f.zip
yank paste to system clipboard
-rw-r--r--nvf/nvf.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvf/nvf.nix b/nvf/nvf.nix
index 1c9b64f..33fcc2c 100644
--- a/nvf/nvf.nix
+++ b/nvf/nvf.nix
@@ -8,6 +8,9 @@
-- `:q` quits all buffers
vim.cmd([[cnoreabbrev <expr> q (getcmdtype() == ':' && getcmdline() ==# 'q') ? 'qa' : 'q']])
vim.cmd([[cnoreabbrev <expr> q! (getcmdtype() == ':' && getcmdline() ==# 'q!') ? 'qa!' : 'q!']])
+
+ -- yank/paste through the system clipboard
+ vim.opt.clipboard = "unnamedplus"
'';
# ui