Instead of cursorline auto center of scroll and search operations
This commit is contained in:
parent
3094523b19
commit
7fead49895
|
@ -17,3 +17,9 @@ vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = "Go to next diagnos
|
|||
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = "Open floating diagnostic message" })
|
||||
-- Disabled in favor of using Trouble (<F3>)
|
||||
-- vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = "Open diagnostics list" })
|
||||
|
||||
-- Some nice adjustments
|
||||
vim.keymap.set('n', '<C-d>', '<C-d>zz')
|
||||
vim.keymap.set('n', '<C-u>', '<C-u>zz')
|
||||
vim.keymap.set('n', 'n', 'nzz')
|
||||
vim.keymap.set('n', 'N', 'Nzz')
|
||||
|
|
|
@ -50,4 +50,4 @@ vim.o.smarttab = true
|
|||
vim.o.confirm = true
|
||||
|
||||
-- Turn on cursorline
|
||||
vim.o.cursorline = true
|
||||
-- vim.o.cursorline = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user