Skip to content

Commit

Permalink
make variable hover floats closable
Browse files Browse the repository at this point in the history
see mfussenegger/nvim-dap#415 for more infos
  • Loading branch information
akriese committed May 25, 2022
1 parent daee0e2 commit bd4f553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvim/.config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ nnoremap <silent> <leader>dc <cmd>lua require'dap'.continue()<cr>
nnoremap <silent> <leader>dr <cmd>lua require'dap'.repl.open()<cr>
nnoremap <silent> <leader>dv <cmd>lua require'dap.ui.widgets'.sidebar(require'dap.ui.widgets'.scopes).open()<cr>
nnoremap <silent> <leader>K <cmd>lua require'dap.ui.widgets'.hover()<cr>
autocmd FileType dap-float nnoremap <buffer><silent> q <cmd>close!<CR>
autocmd FileType dap-float nnoremap <buffer><silent> <esc> <cmd>close!<CR>
" useful commands
nnoremap <leader>shl <cmd>set hlsearch!<CR>
Expand Down

0 comments on commit bd4f553

Please sign in to comment.