diff --git a/defaults/nvim/init.lua b/defaults/nvim/init.lua index 2ce1cdd..ce06ec5 100644 --- a/defaults/nvim/init.lua +++ b/defaults/nvim/init.lua @@ -1,6 +1,14 @@ -- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution -- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk. local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim" + +vim.api.nvim_set_keymap("v", "", '"+y', { noremap = true }) +vim.api.nvim_set_keymap("n", "", 'l"+P', { noremap = true }) +vim.api.nvim_set_keymap("v", "", '"+P', { noremap = true }) +vim.api.nvim_set_keymap("c", "", 'l"+Pl', { noremap = true }) +vim.api.nvim_set_keymap("i", "", 'l"+Pli', { noremap = true }) +vim.api.nvim_set_keymap("t", "", '"+Pi', { noremap = true }) + if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then -- stylua: ignore vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })