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