Fix telescope error, remove unnded remap's.
This commit is contained in:
parent
5f3fac7665
commit
92511131d1
3 changed files with 2 additions and 11 deletions
|
@ -4,15 +4,6 @@ local map = vim.keymap.set
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = ";"
|
||||
|
||||
-- Diagnostic keymaps
|
||||
map("n", "[d", vim.diagnostic.goto_prev, { desc = "Go to previous diagnostic message" })
|
||||
map("n", "]d", vim.diagnostic.goto_next, { desc = "Go to next diagnostic message" })
|
||||
map("n", "<leader>e", vim.diagnostic.open_float, { desc = "Open floating diagnostic message" })
|
||||
map("n", "<leader>q", vim.diagnostic.setloclist, { desc = "Open diagnostics list" })
|
||||
|
||||
-- Lsp format
|
||||
-- map('n', '<leader>f', vim.lsp.buf.format, { desc = "Format current buffer" })
|
||||
|
||||
-- Move text easilly
|
||||
map("v", "J", ":m '>+1<CR>gv=gv", { desc = "Move selected text up" })
|
||||
map("v", "K", ":m '<-2<CR>gv=gv", { desc = "Move selected text down" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue