add config
This commit is contained in:
23
config/plugins/utils/toggleterm.nix
Normal file
23
config/plugins/utils/toggleterm.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
plugins.toggleterm = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
size = 20;
|
||||
close_on_exit = false;
|
||||
hide_numbers = true;
|
||||
shade_terminals = true;
|
||||
shading_factor = 1;
|
||||
start_in_insert = true;
|
||||
persist_size = true;
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = ["n" "i"];
|
||||
key = "<c-\>";
|
||||
action = "<cmd>ToggleTerm direction=horizontal<cr>";
|
||||
options.desc = "Toggle Horizontal Terminal Window";
|
||||
}
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user