Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal.nvim

Tests

Opening terminals in a predefined order / position based on my personal preference.

image

Configuration

Call setup with optional settings:

require("terminal").setup({
  size = 20, -- height in rows of the bottom terminal split (default 20)
})

focus_last_terminal

Focuses the rightmost terminal. If no terminal exists it opens a new one in a bottom split. The terminal will be automatically set to insert mode.

open_new_terminal

Opens a new terminal to the right of the last one. If no terminal exists it opens one in a bottom split.

The working directory is determined by the currently open file. If no file is open or the current buffer is a terminal the terminal will be opened in the current working directory.

A custom directory can be passed as argument.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages