backup
This commit is contained in:
parent
5fac000ddb
commit
27680bcb76
4 changed files with 27 additions and 16 deletions
|
@ -14,24 +14,24 @@ M.base46 = {
|
|||
-- },
|
||||
}
|
||||
M.mason = {
|
||||
pkgs = {
|
||||
"clangd", "codelldb", "clang-format"
|
||||
}
|
||||
pkgs = {
|
||||
"clangd", "codelldb", "clang-format"
|
||||
}
|
||||
}
|
||||
M.mappings = {
|
||||
dap = {
|
||||
plugin = true,
|
||||
n = {
|
||||
["<leader>db"] = {
|
||||
"<cmd> DapToggleBreakpoint <CR>",
|
||||
"Add breakpoint at line",
|
||||
},
|
||||
["<leader>dr"] = {
|
||||
"<cmd> DapContinue <CR>",
|
||||
"Start or continue the debugger",
|
||||
}
|
||||
}
|
||||
}
|
||||
dap = {
|
||||
plugin = true,
|
||||
n = {
|
||||
["<leader>db"] = {
|
||||
"<cmd> DapToggleBreakpoint <CR>",
|
||||
"Add breakpoint at line",
|
||||
},
|
||||
["<leader>dr"] = {
|
||||
"<cmd> DapContinue <CR>",
|
||||
"Start or continue the debugger",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
|
@ -8,4 +8,6 @@ local map = vim.keymap.set
|
|||
map("i", "jk", "<ESC>")
|
||||
map("i", "<sc-L>", "<Del>")
|
||||
|
||||
map("n", "<leader>l", ":tab term lazygit<CR>:set nonu nornu<CR>A")
|
||||
|
||||
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
|
||||
|
|
|
@ -12,6 +12,7 @@ vim.opt.splitright = true
|
|||
vim.opt.updatetime = 250
|
||||
vim.g.python_recommended_style = 0
|
||||
vim.opt.clipboard = ''
|
||||
vim.opt.expandtab = false
|
||||
|
||||
vim.cmd [[
|
||||
command -range=% Encrypt execute "'<,'>!gcrypt -S -e \"$(pass show pdata)\" | base64"
|
||||
|
|
|
@ -7,6 +7,14 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"airblade/vim-gitgutter",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require "configs.gitgutter"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- event = 'BufWritePre', -- uncomment for format on save
|
||||
|
|
Loading…
Reference in a new issue