fix(nvim-custom): update toggleterm config
This commit is contained in:
parent
b9955a947f
commit
e4d7402948
@ -6,12 +6,12 @@
|
|||||||
function(term)
|
function(term)
|
||||||
if term.direction == "horizontal" then
|
if term.direction == "horizontal" then
|
||||||
return 15
|
return 15
|
||||||
elseif term.direction == "vertical" then
|
elseif term.direction == "vertical" then
|
||||||
return vim.o.columns * 0.4
|
return vim.o.columns * 0.4
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
open_mapping = "[[<A-i>]]";
|
open_mapping = "[[<C-_>]]";
|
||||||
hide_numbers = true;
|
hide_numbers = true;
|
||||||
shade_terminals = true;
|
shade_terminals = true;
|
||||||
start_in_insert = true;
|
start_in_insert = true;
|
||||||
@ -20,7 +20,7 @@
|
|||||||
insert_mappings = true;
|
insert_mappings = true;
|
||||||
close_on_exit = true;
|
close_on_exit = true;
|
||||||
shell = "zsh";
|
shell = "zsh";
|
||||||
direction = "horizontal"; # 'vertical' | 'horizontal' | 'window' | 'float'
|
direction = "float"; # 'vertical' | 'horizontal' | 'window' | 'float'
|
||||||
auto_scroll = true;
|
auto_scroll = true;
|
||||||
float_opts = {
|
float_opts = {
|
||||||
border = "single"; # 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open
|
border = "single"; # 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open
|
||||||
|
Loading…
x
Reference in New Issue
Block a user