Replace lspsaga with my fork of lspsaga which contains more options for the winbar which makes it easier to integrate it with lualine, which I've also done here. Additionally, set cmdheight=0, and refactor some calls to add_keymaps.
This commit is contained in:
parent
fc96fc96fc
commit
b9ffc6647e
6 changed files with 119 additions and 21 deletions
|
|
@ -8,7 +8,7 @@ return {
|
|||
require("telescope").setup({ })
|
||||
require("telescope").load_extension("fzf")
|
||||
|
||||
local keymaps = {
|
||||
require("utils").add_keymaps({
|
||||
n = {
|
||||
-- File search
|
||||
["<leader>to"] = {
|
||||
|
|
@ -21,16 +21,16 @@ return {
|
|||
cmd = ":Telescope live_grep find_command=rg,--ignore-file,.gitignore,--exclude,*.git,--exclude,*.svn,--exclude,*.vs,--exclude,*.idea<CR>",
|
||||
},
|
||||
-- Git
|
||||
["<leader>gc"] = {
|
||||
["<leader>gc"] = {
|
||||
cmd = "<cmd> Telescope git_commits <CR>",
|
||||
},
|
||||
["<leader>gs"] = {
|
||||
["<leader>gs"] = {
|
||||
cmd = "<cmd> Telescope git_status <CR>",
|
||||
},
|
||||
["<leader>gh"] = {
|
||||
["<leader>gh"] = {
|
||||
cmd = "<cmd> Telescope git_bcommits <CR>",
|
||||
},
|
||||
["<leader>gb"] = {
|
||||
["<leader>gb"] = {
|
||||
cmd = "<cmd> Telescope git_branches <CR>",
|
||||
},
|
||||
-- Misc
|
||||
|
|
@ -38,8 +38,7 @@ return {
|
|||
cmd = "<cmd> Telescope marks <CR>",
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
require("utils").add_keymaps(keymaps)
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue