Changed emmet lsp, silenced repeated key warning from which-key, fixed annoying rust-analyzer error

This commit is contained in:
2024-12-05 07:53:24 +01:00
parent 4c81d0b05b
commit 670ecf53dd
4 changed files with 58 additions and 31 deletions

View File

@@ -16,9 +16,9 @@ end
function maps.moveByRow()
-- When text is wrapped, move by terminal rows, not lines, unles a count is provided
vim.api.nvim_set_keymap('n', 'j', 'v:count == 0 ? \'gj\' : \'j\'',
{ silent = true, expr = true, desc = "Go down 1 line" })
{ noremap = true, silent = true, expr = true, desc = "Go down 1 line" })
vim.api.nvim_set_keymap('n', 'k', 'v:count == 0 ? \'gk\' : \'k\'',
{ silent = true, expr = true, desc = "Go up 1 line" })
{ noremap = true, silent = true, expr = true, desc = "Go up 1 line" })
end
function maps.centeredSearch()