summary refs log tree commit diff stats
path: root/user/nvim
diff options
context:
space:
mode:
authorAlan Pearce2024-06-16 22:21:44 +0200
committerAlan Pearce2024-06-16 22:21:44 +0200
commit40b1834148c50d456707a9e2e3cc176603f8a560 (patch)
treed89e463ed4ec7be3e277f634d5b8c8de90eea39f /user/nvim
parent5ce5f6f18cb03e4ba9019f4d1e269bb6289785cd (diff)
downloadnixfiles-40b1834148c50d456707a9e2e3cc176603f8a560.tar.lz
nixfiles-40b1834148c50d456707a9e2e3cc176603f8a560.tar.zst
nixfiles-40b1834148c50d456707a9e2e3cc176603f8a560.zip
nvim: default to system clipboard
Diffstat (limited to 'user/nvim')
-rw-r--r--user/nvim/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua
index f7bb020a..f9162167 100644
--- a/user/nvim/init.lua
+++ b/user/nvim/init.lua
@@ -2,6 +2,7 @@ vim.opt.autoindent = true
 
 vim.opt.background = "light"
 vim.opt.number = true
+vim.opt.clipboard = "unnamed"
 
 vim.g.mapleader = ","