up
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
--
|
--
|
||||||
@@ -273,4 +273,5 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user