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
|
|
@ -3,7 +3,7 @@ local g = vim.g
|
|||
g.mapleader = " "
|
||||
g.maplocalleader = " "
|
||||
|
||||
local keymaps = {
|
||||
require("utils").add_keymaps({
|
||||
n = {
|
||||
-- Navigation
|
||||
["<C-d>"] = {
|
||||
|
|
@ -58,7 +58,7 @@ local keymaps = {
|
|||
},
|
||||
},
|
||||
i = { },
|
||||
v = {
|
||||
v = {
|
||||
["<Up>"] = {
|
||||
cmd = "v:count || mode(1)[0:1] == \"no\" ? \"k\" : \"gk\"",
|
||||
opts = {
|
||||
|
|
@ -98,6 +98,4 @@ local keymaps = {
|
|||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
require("utils").add_keymaps(keymaps)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue