summaryrefslogtreecommitdiff
path: root/lua/cshift/remaps.lua
blob: 16dec8124fdd27c23642d91d1960075ba2ad8e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-- General

vim.keymap.set('n', '<leader>f', vim.cmd.Explore)


-- Project (s)cope

vim.keymap.set('n', '<leader>sf', function()
	require("telescope.builtin").find_files()
end)

vim.keymap.set('n', '<leader>tt', function()
       require("trouble").open("workspace_diagnostics")
end)

vim.keymap.set('n', '<leader>tq', function()
       require("trouble").close()
end)


-- (P)lugins

vim.keymap.set('n', '<leader>ps', function()
	require("lazy").sync()
end)

vim.keymap.set('n', '<leader>pu', function()
	require("lazy").update()
end)

vim.keymap.set('n', '<leader>ph', function()
	require("lazy").health()
end)