You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Called when no files are passed to a guest instance, to determine what to do.
@@ -284,7 +284,7 @@ If you use a toggleable terminal and don't want the new buffer(s) to be opened i
284
284
285
285
The only reason 'alternate' isn't the default is to avoid breaking people's configs. It may become the default at some point if that's something that people ask for (e.g., open an issue if you want that, or comment on one if it exists).
286
286
287
-
Note that when opening a file in blocking mode, such as a git commit, the terminal will be inaccessible. You can get the filetype from the bufnr or filetype arguments of the `post_open`callback to only close the terminal for blocking files, and the `block_end`callback to reopen it afterwards.
287
+
Note that when opening a file in blocking mode, such as a git commit, the terminal will be inaccessible. You can get the filetype from the bufnr or filetype arguments of the `post_open`hook to only close the terminal for blocking files, and the `block_end`hook to reopen it afterwards.
288
288
289
289
Here's my setup for toggleterm, including an autocmd to automatically close a git commit buffer on write:
0 commit comments