update
This commit is contained in:
parent
de01388d0d
commit
d6994f9535
@ -18,22 +18,38 @@ lvim.format_on_save.enabled = false
|
|||||||
lvim.colorscheme = "onedark_dark"
|
lvim.colorscheme = "onedark_dark"
|
||||||
lvim.background = "dark"
|
lvim.background = "dark"
|
||||||
lvim.transparent_window = true
|
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
|
-- to disable icons and use a minimalist setup, uncomment the following
|
||||||
-- lvim.use_icons = false
|
-- 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.leader = ";"
|
||||||
|
|
||||||
lvim.keys.insert_mode[";;"] = "<Esc>"
|
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-s>"] = "<CMD>w<CR>"
|
||||||
lvim.keys.normal_mode["<C-u>"] = ":undo<CR>"
|
lvim.keys.normal_mode["<C-r>"] = "<CMD>redo<CR>"
|
||||||
lvim.keys.normal_mode["<C-[>"] = "<<"
|
lvim.keys.normal_mode["<C-u>"] = "<CMD>undo<CR>"
|
||||||
lvim.keys.normal_mode["<C-]>"] = ">>"
|
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[";"]
|
lvim.builtin.which_key.mappings["d"] = lvim.builtin.which_key.mappings[";"]
|
||||||
|
|
||||||
@ -331,13 +347,22 @@ lvim.plugins = {
|
|||||||
})
|
})
|
||||||
end,
|
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
|
-- suda
|
||||||
{
|
{
|
||||||
'lambdalisue/suda.vim',
|
'lambdalisue/suda.vim',
|
||||||
-- setup = function()
|
config = function()
|
||||||
-- -- vim.g.prompt = 'Mot de passe: ',
|
vim.g.prompt = 'Mot de passe: '
|
||||||
-- vim.g.suda_smart_edit = 1,
|
vim.g.suda_smart_edit = 1
|
||||||
-- end,
|
end,
|
||||||
},
|
},
|
||||||
-- telescope-project
|
-- telescope-project
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user