diff --git a/pkgs/nvim/config/utils/toggleterm.nix b/pkgs/nvim/config/utils/toggleterm.nix index 4a048df..f9e23f8 100644 --- a/pkgs/nvim/config/utils/toggleterm.nix +++ b/pkgs/nvim/config/utils/toggleterm.nix @@ -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 = "[[]]"; + open_mapping = "[[]]"; 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