summaryrefslogtreecommitdiff
path: root/lua/cshift/remaps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/cshift/remaps.lua')
-rw-r--r--lua/cshift/remaps.lua23
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)