-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmappings.lua
65 lines (56 loc) · 1.09 KB
/
mappings.lua
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
local M = {}
--
-- M.disabled = {
-- "<C-n>",
-- }
M.lspconfig = {
n = {
["gd"] = {
function()
require("telescope.builtin").lsp_definitions {}
end,
"lsp definition",
},
["gi"] = {
function()
require("telescope.builtin").lsp_implementations {}
end,
"lsp implementation",
},
["gr"] = {
function()
require("telescope.builtin").lsp_references {}
end,
"lsp references",
},
},
}
M.truzen = {
n = {
["<leader>ta"] = { "<cmd> TZAtaraxis <CR>", " truzen ataraxis" },
["<leader>tm"] = { "<cmd> TZMinimalist <CR>", " truzen minimal" },
["<leader>tf"] = { "<cmd> TZFocus <CR>", " truzen focus" },
},
}
M.treesitter = {
n = {
["<leader>cu"] = { "<cmd> TSCaptureUnderCursor <CR>", " find media" },
},
}
M.shade = {
n = {
["<leader>s"] = {
function()
require("shade").toggle()
end,
" toggle shade.nvim",
},
},
}
M.telescope = {
n = {
-- find
[";"] = { "<cmd> Telescope buffers <CR>", " find buffers" },
},
}
return M