mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
add cmd mapping
This commit is contained in:
@ -54,7 +54,7 @@ update_ms = 500
|
|||||||
|
|
||||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||||
proc_sorting = "cpu lazy"
|
proc_sorting = "cpu direct"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = False
|
||||||
|
@ -165,6 +165,18 @@ M.rua = {
|
|||||||
end,
|
end,
|
||||||
"Toggle horizontal term",
|
"Toggle horizontal term",
|
||||||
},
|
},
|
||||||
|
["<D-o>"] = {
|
||||||
|
function()
|
||||||
|
require("nvterm.terminal").toggle "horizontal"
|
||||||
|
end,
|
||||||
|
"Toggle horizontal term",
|
||||||
|
},
|
||||||
|
["<D-i>"] = {
|
||||||
|
function()
|
||||||
|
require("nvterm.terminal").toggle "float"
|
||||||
|
end,
|
||||||
|
"Toggle floating term",
|
||||||
|
},
|
||||||
|
|
||||||
-- arrange buffer
|
-- arrange buffer
|
||||||
["<leader>pl"] = {
|
["<leader>pl"] = {
|
||||||
@ -268,6 +280,18 @@ M.rua = {
|
|||||||
end,
|
end,
|
||||||
"Toggle horizontal term",
|
"Toggle horizontal term",
|
||||||
},
|
},
|
||||||
|
["<D-o>"] = {
|
||||||
|
function()
|
||||||
|
require("nvterm.terminal").toggle "horizontal"
|
||||||
|
end,
|
||||||
|
"Toggle horizontal term",
|
||||||
|
},
|
||||||
|
["<D-i>"] = {
|
||||||
|
function()
|
||||||
|
require("nvterm.terminal").toggle "float"
|
||||||
|
end,
|
||||||
|
"Toggle floating term",
|
||||||
|
},
|
||||||
--[[ ["<Esc>"] = { vim.api.nvim_replace_termcodes("<C-\\><C-N>", true, true, true), "Escape terminal mode" }, ]]
|
--[[ ["<Esc>"] = { vim.api.nvim_replace_termcodes("<C-\\><C-N>", true, true, true), "Escape terminal mode" }, ]]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user