Add lsp and key mappings
This commit is contained in:
@@ -14,33 +14,25 @@ end
|
||||
M.bufferline = function()
|
||||
local m = plugins.bufferline
|
||||
|
||||
map("n", m.nextBuffer, ":BufferLineCycleNext <CR>")
|
||||
map("n", m.prevBuffer, ":BufferLineCyclePrev <CR>")
|
||||
-- map("n", m.nextBuffer, ":BufferLineCycleNext <CR>")
|
||||
end
|
||||
|
||||
M.gitsigns = function()
|
||||
local m = plugins.gitsigns
|
||||
|
||||
map("n", m.blameLine, ":Gitsigns blame_line <CR>")
|
||||
map("n", m.diffThis, ":Gitsigns diffthis <CR>")
|
||||
-- map("n", m.blameLine, ":Gitsigns blame_line <CR>")
|
||||
-- map("n", m.diffThis, ":Gitsigns diffthis <CR>")
|
||||
end
|
||||
|
||||
M.nvimtree = function()
|
||||
local m = plugins.nvimtree
|
||||
|
||||
map("n", m.toggle, ":NvimTreeToggle <CR>")
|
||||
map("n", m.focus, ":NvimTreeFocus <CR>")
|
||||
-- map("n", m.toggle, ":NvimTreeToggle <CR>")
|
||||
-- map("n", m.focus, ":NvimTreeFocus <CR>")
|
||||
end
|
||||
|
||||
M.telescope = function()
|
||||
local m = plugins.telescope
|
||||
|
||||
map("n", m.buffers, ":Telescope buffers <CR>")
|
||||
map("n", m.diagnostics, ":Telescope diagnostic <CR>")
|
||||
map("n", m.liveGrep, ":Telescope live_grep <CR>")
|
||||
map("n", m.files, ":Telescope find_files <CR>")
|
||||
map("n", m.gitCommits, ":Telescope git_commits <CR>")
|
||||
map("n", m.gitStatus, ":Telescope git_status <CR>")
|
||||
-- map("n", m.buffers, ":Telescope buffers <CR>")
|
||||
-- map("n", m.liveGrep, ":Telescope live_grep <CR>")
|
||||
-- map("n", m.files, ":Telescope find_files <CR>")
|
||||
-- map("n", m.gitCommits, ":Telescope git_commits <CR>")
|
||||
-- map("n", m.gitStatus, ":Telescope git_status <CR>")
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user