Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to quote the command sent to the terminal #414

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into main
  • Loading branch information
fcusson authored May 22, 2024
commit 22e32c6def204096d2a6ce5c672ccdf70e70850f
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ require("toggleterm").setup{
persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered
direction = 'vertical' | 'horizontal' | 'tab' | 'float',
close_on_exit = true, -- close the terminal window when the process exits
shell = vim.o.shell, -- change the default shell
-- Change the default shell. Can be a string or a function returning a string
shell = vim.o.shell,
quote_command = false, -- put quotes arround the command sent to the terminal, required for Windows using git bash
auto_scroll = true, -- automatically scroll to the bottom on terminal output
-- This field is only relevant if direction is set to 'float'
Expand Down
3 changes: 2 additions & 1 deletion doc/toggleterm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ what options are available. It is not written to be used as is.
persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered
direction = 'vertical' | 'horizontal' | 'tab' | 'float',
close_on_exit = true, -- close the terminal window when the process exits
shell = vim.o.shell, -- change the default shell
-- Change the default shell. Can be a string or a function returning a string
shell = vim.o.shell,
quote_command = false -- put quotes around the command being sent to the terminal. Required for Windows using git bash
auto_scroll = true, -- automatically scroll to the bottom on terminal output
-- This field is only relevant if direction is set to 'float'
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.