1
0
Fork 0

nvim: update hover configuration

This commit is contained in:
Daniel Kempkens 2024-12-17 16:06:31 +01:00
parent 5ff9b2c146
commit 7ff06a02d7
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 8 additions and 1 deletions

View file

@ -52,6 +52,7 @@
(set o.termguicolors true)
(set o.mouse :a)
(set o.mousemodel :popup_setpos)
(set o.mousemoveevent true)
(set o.cmdheight 1)
;(set o.showcmdloc :statusline)
;; Backups

View file

@ -93,6 +93,11 @@
;; hover.nvim
(keymap.set :n :K hover.hover {:desc "Show Documentation"})
(keymap.set :n :gK hover.hover_select {:desc "hover.nvim selection"})
(keymap.set :n :<C-p> #(hover.hover_switch :previous)
{:desc "hover.nvim previous source"})
(keymap.set :n :<C-n> #(hover.hover_switch :next)
{:desc "hover.nvim next source"})
(keymap.set :n :<MouseMove> hover.hover_mouse {:desc "hover.nvim mouse"})
;; Label
(wk.add [{1 :<leader>v :group :vcs}
{1 :<leader>l :group :list/lsp}

View file

@ -5,4 +5,5 @@
:preview_opts {:border :single}
:preview_window false
:title true
:mouse_providers []}))
:mouse_providers [:LSP]
:mouse_delay 1000}))