Skip to content

Hvassaa/sterm.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sterm

(s)tupid (term)inal. Toggle between showing and hiding a neovim terminal buffer.

Installation

Using packer.nvim, add this to your use section:

use 'Hvassaa/sterm.nvim'

Quick start

Add a keymap to toggle the terminal, customize as needed:

vim.keymap.set({'t', 'n'}, "<F5>", require('sterm').toggle, { silent=true })

By default, sterm will make a vertical split to show the terminal. You can change this by

require('sterm').setup({
	split_direction = "right" -- right, left, up or down
})

Showcase

Sterm showcase

Features

Sorry, it cannot do much:

  • It is not really configurable
  • It cannot float
  • It is not that flashy or cool
  • It shows and hides a terminal window
  • It is kind of stupid
  • But is only ~50 LOC

About

(s)tupid (term)inal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages