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 -- General mappings
-- --
local wk = require 'which-key' -- local wk = require 'which-key'
local key = require 'custom.plugins.keymaps-helper'
wk.add { -- wk.add {
mode = { 'n', 'v', 'i' }, -- mode = { 'n', 'v', 'i' },
{ '<C-q>', '<CMD>qall<CR>', desc = 'Quitter', silent = true }, -- { '<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` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et

View File

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

View File

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

View File

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