oops
This commit is contained in:
parent
3727fc359b
commit
ed1b7dc0a5
|
@ -243,7 +243,13 @@ in rec {
|
|||
},
|
||||
sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = { { 'diagnostics', always_visible = true } },
|
||||
lualine_b = { {
|
||||
'diagnostics',
|
||||
always_visible = true,
|
||||
on_click = function(n,b,m)
|
||||
vim.diagnostic.goto_next()
|
||||
end
|
||||
} },
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {'encoding', 'filetype'},
|
||||
lualine_y = {'progress'},
|
||||
|
@ -265,6 +271,12 @@ in rec {
|
|||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
|
||||
vim.keymap.set('n', '<localleader>r', vim.lsp.buf.rename, opts)
|
||||
vim.keymap.set('n', '<localleader>a', vim.lsp.buf.code_action, opts)
|
||||
vim.keymap.set('n', '<localleader>gd', vim.lsp.buf.definition, opts)
|
||||
vim.keymap.set('n', '<localleader>gi', vim.lsp.buf.implementation, opts)
|
||||
vim.keymap.set('n', '<localleader>gr', vim.lsp.buf.references, opts)
|
||||
vim.keymap.set('n', '<localleader>e', vim.diagnostic.open_float, opts)
|
||||
vim.keymap.set('n', '<localleader>n', vim.diagnostic.goto_next, opts)
|
||||
vim.keymap.set('n', '<localleader>N', vim.diagnostic.goto_prev, opts)
|
||||
vim.keymap.set('i', '<C-n>', vim.lsp.omnifunc, opts)
|
||||
end,
|
||||
})
|
||||
|
@ -544,7 +556,7 @@ in rec {
|
|||
"~button2" = "berryc pointer_focus";
|
||||
"~button3" = "berryc pointer_focus";
|
||||
"~Escape" = "dunstctl close-all";
|
||||
"Print" = "maim -s ~/img/scrot$(date +%s).png";
|
||||
"Print" = "maim -s ~/img/scrot/$(date +%s).png";
|
||||
"XF86AudioMute" = "${vol} mute";
|
||||
"XF86AudioRaiseVolume" = "${vol} +5%";
|
||||
"XF86AudioLowerVolume" = "${vol} -5%";
|
||||
|
|
Loading…
Reference in New Issue
Block a user