This commit is contained in:
2025-08-10 21:52:20 +02:00
parent 295ade4d4b
commit 8ed8b0b7e2
4 changed files with 13 additions and 9 deletions

View File

@@ -1,12 +1,15 @@
-- General mappings
--
local wk = require 'which-key'
-- local wk = require 'which-key'
local key = require 'custom.plugins.keymaps-helper'
wk.add {
mode = { 'n', 'v', 'i' },
{ '<C-q>', '<CMD>qall<CR>', desc = 'Quitter', silent = true },
}
-- wk.add {
-- mode = { 'n', 'v', 'i' },
-- { '<C-q>', '<CMD>qall<CR>', desc = 'Quitter', silent = true },
-- }
key.map({ 'n', 'v', 'i' }, '<leader>Q', '<CMD>qall<CR>', { silent = true, noremap = true, desc = 'X' })
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et

View File

@@ -3,7 +3,7 @@
local M = {}
local function map(mode, key, func, opts)
function M.map(mode, key, func, opts)
vim.keymap.set(mode, key, func, opts)
end

View File

@@ -211,7 +211,7 @@ return {
local servers = {
-- clangd = {},
-- gopls = {},
-- pyright = {},
pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
@@ -273,4 +273,5 @@ return {
}
end,
},
}
}

View File

@@ -50,7 +50,7 @@ return {
endfunction
]]
vim.g.slime_target = 'neovim'
vim.g.slime_target = 'kitty'
vim.g.slime_no_mappings = true
vim.g.slime_python_ipython = 1
end,