diff options
Diffstat (limited to 'user/nvim')
-rw-r--r-- | user/nvim/init.lua | 10 |
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 |