diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:58:07 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:58:07 -0500 |
commit | 3c7ee73a8036cfaba464640999303e157b19ec15 (patch) | |
tree | 852f2e51c85c41997f736a04d5a96d5db8efc54c /lua/cshift/remaps.lua | |
parent | a42bc21a1db924910129a259335fccdeb0080c34 (diff) | |
parent | 013dfcae215ae20fe30654247a91a026118deba4 (diff) |
merge laptop and desktop configs
Diffstat (limited to 'lua/cshift/remaps.lua')
-rw-r--r-- | lua/cshift/remaps.lua | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/lua/cshift/remaps.lua b/lua/cshift/remaps.lua index 2247cf6..bfc25b2 100644 --- a/lua/cshift/remaps.lua +++ b/lua/cshift/remaps.lua @@ -1,19 +1,26 @@ -vim.keymap.set("n", "<leader>f", vim.cmd.Ex) +-- General --- Project (s)cope keymaps -local scope = require("telescope.builtin") -vim.keymap.set("n", "<leader>sf", scope.find_files) +vim.keymap.set('n', '<leader>f', vim.cmd.Explore) --- (P)lugin keymaps -vim.keymap.set("n", "<leader>ps", function() + +-- Project (s)cope + +vim.keymap.set('n', '<leader>sf', function() + require("telescope.builtin").find_files() +end) + + +-- (P)lugins + +vim.keymap.set('n', '<leader>ps', function() require("lazy").sync() end) -vim.keymap.set("n", "<leader>pu", function() +vim.keymap.set('n', '<leader>pu', function() require("lazy").update() end) -vim.keymap.set("n", "<leader>ph", function() +vim.keymap.set('n', '<leader>ph', function() require("lazy").health() end) |