Enable time machine and rainbow delimiters
This commit is contained in:
parent
c006436fc9
commit
1827aeaba5
4 changed files with 39 additions and 29 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
return {
|
return {
|
||||||
--disable mini.pairs
|
{ "akinsho/toggleterm.nvim", enabled = false },
|
||||||
{ "echasnovski/mini.pairs", enabled = false },
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
home/dot_config/nvim/lua/plugins/rainbow-delimiter.lua
Normal file
1
home/dot_config/nvim/lua/plugins/rainbow-delimiter.lua
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
return { "https://gitlab.com/HiPhish/rainbow-delimiters.nvim" }
|
||||||
37
home/dot_config/nvim/lua/plugins/time-machine.lua
Normal file
37
home/dot_config/nvim/lua/plugins/time-machine.lua
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
-- time-machine.lua
|
||||||
|
return {
|
||||||
|
"y3owk1n/time-machine.nvim",
|
||||||
|
version = "*", -- remove this if you want to use the `main` branch
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here
|
||||||
|
-- or leave it empty to use the default settings
|
||||||
|
-- refer to the configuration section below
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>t",
|
||||||
|
"",
|
||||||
|
desc = "Time Machine",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>tt",
|
||||||
|
"<cmd>TimeMachineToggle<cr>",
|
||||||
|
desc = "[Time Machine] Toggle Tree",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>tx",
|
||||||
|
"<cmd>TimeMachinePurgeCurrent<cr>",
|
||||||
|
desc = "[Time Machine] Purge current",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>tX",
|
||||||
|
"<cmd>TimeMachinePurgeAll<cr>",
|
||||||
|
desc = "[Time Machine] Purge all",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>tl",
|
||||||
|
"<cmd>TimeMachineLogShow<cr>",
|
||||||
|
desc = "[Time Machine] Show log",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
"akinsho/toggleterm.nvim",
|
|
||||||
version = "*",
|
|
||||||
config = true,
|
|
||||||
opts = {
|
|
||||||
shade_terminals = false,
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>tt",
|
|
||||||
'<Cmd>execute v:count . "ToggleTerm dir=git_dir"<cr>',
|
|
||||||
desc = "Toggle the numbered terminal",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>tT",
|
|
||||||
"<Cmd>ToggleTermToggleAll<cr>",
|
|
||||||
desc = "Toggle all terminals",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>ts",
|
|
||||||
"<Cmd>TermSelect<cr>",
|
|
||||||
desc = "Select terminal from list",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue