Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

mkalinski/neovim-TermNew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TermNew: open Neovim terminal in a new window or tab

Important

After 7 years since introducing the :terminal command, Neovim finally introduced a simple native way of opening terminals in other windows. This plugin is no longer needed.

Using Neovim's built-in command :terminal it's impossible to open a terminal in a new window or tab. The only way to do that is to use forms that are rather cumbersome to type, for example: split term://$SHELL.

This plugin provides a simple command that normally opens a terminal in a split window, accepting standard modifiers that change how the window is opened.

Usage

:TermNew [COMMANDLINE]...

By itself, :TermNew will open a split window with the command in $SHELL (if set) or &shell.

To open a different program in the terminal, pass it as an argument to :TermNew. All arguments are passed to the termopen() call. For example, :TermNew zsh will open a terminal with zsh shell.

:TermNewShellInDir [DIRECTORY]

Opens a new shell (the same way as :TermNew without arguments) in working directory given as argument.

About

Neovim plugin providing a simple command for opening the terminal in a new window or tab.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published