mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-14 23:12:42 +02:00
update
This commit is contained in:
parent
b4f0cacc22
commit
71555f3516
1 changed files with 4 additions and 0 deletions
4
init.lua
4
init.lua
|
@ -143,6 +143,10 @@ vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagn
|
|||
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' })
|
||||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
||||
|
||||
vim.keymap.set('n', '<leader>yp', function()
|
||||
vim.fn.setreg('+', vim.fn.expand '%')
|
||||
end, { noremap = true, silent = true })
|
||||
|
||||
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
|
||||
-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which
|
||||
-- is not what someone will guess without a bit more experience.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue