This commit is contained in:
Jeff Lance 2023-05-08 23:05:14 +02:00
parent de01388d0d
commit d6994f9535

View File

@ -18,22 +18,38 @@ lvim.format_on_save.enabled = false
lvim.colorscheme = "onedark_dark"
lvim.background = "dark"
lvim.transparent_window = true
-- to enable neo-tree file browsing, comment the following
lvim.builtin.nvimtree.active = false
-- to disable icons and use a minimalist setup, uncomment the following
-- lvim.use_icons = false
-- keymappings [view all the defaults by pressing <leader>Lk]
-- variables
--
-- functions
--
-- keymappings [view all the defaults by pressing <leader>Lvk]
--
lvim.leader = ";"
lvim.keys.insert_mode[";;"] = "<Esc>"
lvim.keys.normal_mode["<C-s>"] = ":w<CR>"
lvim.keys.normal_mode["<C-r>"] = ":redo<CR>"
lvim.keys.normal_mode["<C-u>"] = ":undo<CR>"
lvim.keys.normal_mode["<C-[>"] = "<<"
lvim.keys.normal_mode["<C-]>"] = ">>"
lvim.keys.normal_mode["<C-s>"] = "<CMD>w<CR>"
lvim.keys.normal_mode["<C-r>"] = "<CMD>redo<CR>"
lvim.keys.normal_mode["<C-u>"] = "<CMD>undo<CR>"
lvim.keys.normal_mode["<C-[>"] = ":<<CR>"
lvim.keys.normal_mode["<C-]>"] = ":><CR>"
-- remap neo-tree shortcut to rnvimr
lvim.lsp.buffer_mappings.normal_mode[';e'] = { "<CMD>RnvimrToggle<CR>", "File explorer" }
lvim.builtin.which_key.mappings["d"] = lvim.builtin.which_key.mappings[";"]
@ -331,13 +347,22 @@ lvim.plugins = {
})
end,
},
{
"kevinhwang91/rnvimr",
cmd = "RnvimrToggle",
config = function()
vim.g.rnvimr_draw_border = 1
vim.g.rnvimr_pick_enable = 1
vim.g.rnvimr_bw_enable = 1
end,
},
-- suda
{
'lambdalisue/suda.vim',
-- setup = function()
-- -- vim.g.prompt = 'Mot de passe: ',
-- vim.g.suda_smart_edit = 1,
-- end,
config = function()
vim.g.prompt = 'Mot de passe: '
vim.g.suda_smart_edit = 1
end,
},
-- telescope-project
{