summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/nvim/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua
index c3587e79..faf6ca5b 100644
--- a/user/nvim/init.lua
+++ b/user/nvim/init.lua
@@ -9,6 +9,16 @@ vim.opt.number = true
 vim.g.mapleader = ","
 
 local keyset = vim.keymap.set
+
+keyset("v", "<leader>y", "\"+y", {})
+keyset("n", "<leader>Y", "\"+yg_", {})
+keyset("n", "<leader>y", "\"+y", {})
+
+keyset("v", "<leader>p", "\"+p", {})
+keyset("v", "<leader>P", "\"+P", {})
+keyset("n", "<leader>p", "\"+p", {})
+keyset("n", "<leader>P", "\"+P", {})
+
 -- Autocomplete
 function _G.check_back_space()
     local col = vim.fn.col('.') - 1