Fixmes and todos in comments
This commit is contained in:
parent
dd012828bd
commit
480fa48999
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
vim.opt.hlsearch = true
|
||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||
|
||||
-- FIXME: Port to current API
|
||||
|
||||
-- Diagnostic keymaps
|
||||
---@diagnostic disable-next-line: deprecated
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
|
||||
|
@ -15,6 +17,9 @@ vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Show diagn
|
|||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
||||
|
||||
vim.keymap.set('n', '<leader>l', '<cmd>Lazy<CR>', { desc = 'Lazy plugin manager' })
|
||||
|
||||
-- This is useful for quickly rerunning make or other similar tools
|
||||
-- TODO: Reconsider binds
|
||||
vim.keymap.set('n', '<leader>1', '<cmd>!!<CR>', { desc = 'Run last command' })
|
||||
|
||||
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
|
||||
|
@ -81,6 +86,7 @@ vim.keymap.set('n', '<leader><tab>d', '<cmd>tabclose<cr>', { desc = 'Close Tab'
|
|||
vim.keymap.set('n', '<leader><tab>]', '<cmd>tabnext<cr>', { desc = 'Next Tab' })
|
||||
vim.keymap.set('n', '<leader><tab>[', '<cmd>tabprevious<cr>', { desc = 'Previous Tab' })
|
||||
|
||||
-- FIXME: These binds are not well considered
|
||||
vim.keymap.set('n', '\\', '<cmd>Neotree toggle<cr>', { desc = 'Toggle Neotree' })
|
||||
vim.keymap.set('n', '0', '<cmd>ToggleTerm<cr>', { desc = 'Toggle Terminal' })
|
||||
|
||||
|
|
Loading…
Reference in a new issue