up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user