https://github.com/iaalm/terminal-drawer.vim
Vim plugin for quick open/close terminal drawer
https://github.com/iaalm/terminal-drawer.vim
terminal vim vim-plugin
Last synced: about 1 year ago
JSON representation
Vim plugin for quick open/close terminal drawer
- Host: GitHub
- URL: https://github.com/iaalm/terminal-drawer.vim
- Owner: iaalm
- License: mit
- Created: 2023-06-26T11:14:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T11:50:35.000Z (over 2 years ago)
- Last Synced: 2025-02-25T16:51:32.319Z (over 1 year ago)
- Topics: terminal, vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 23.4 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# 📟 📥 terminal-drawer.vim
The purpose of this plugin is quite simple: use `` or any key mapping to toggle terminal.
Most time, you just need a terminal to run a single command like a `make`. But you need to:
- `:term` to open a terminal
- `:hid` to hidden the terminal Or bare it use some of you coding space
- remember the buffer number of terminal OR use some tools like fzf to search buffer
- `:sp {bufnr}` to find back you terminal
Now you can do with only one key mapping you chosen.
## 🔌 Requirements
Vim/NeoVim with terminal feature
## 🚀 Installation
vim-plug
```
Plug 'iaalm/terminal-drawer.vim'
```
packer.nvim
```
use 'iaalm/terminal-drawer.vim'
```
dein.nvim
```
call dein#add('iaalm/terminal-drawer.vim')
```
## ⚡️ Usage
Use `Ctrl-t` to open a terminal. If any terminal already opened, switch to it. If you're focuing on one, hidden it.
## 🎛️ Options
```vim
" Change your shell. This is useful if the variable "shell" is used by too many plugins.
let g:terminal_drawer_shell = "zsh"
" Change the binding to another one, if you need for other thing.
let g:terminal_drawer_leader = ""
```
## 💡 Acknowledge
Inspired by [quick-terminal.vim](https://gist.github.com/shivamashtikar/16a4d7b83b743c9619e29b47a66138e0)