Giter Club home page Giter Club logo

vim-stt's Introduction

Simple Togglable Terminal

demo

This plugin aims to add a basic togglable terminal to neovim (and partially vim), to make it more "IDE like".

Commands

You can toggle stt with the command:

:ToggleTerm

Or if you want to have multiple terminals you can execute :ToggleTerm with an argument:

:ToggleTerm term-1

And now :ToggleTerm term-1 will only toggle term-1.

Configuration

The configurations only works in neovim, with vim they are ineffective.

You can enable g:stt_auto_insert to automatically enter insert mode when entering a terminal.

let g:stt_auto_insert = 1

By enabling g:stt_auto_quit the terminal window will quit, when there is no other window.

let g:stt_auto_quit = 1

If you have enchantments ideas or issues, feel free to open a issue/pr

Vim has to be compiled with terminal support to (partially) work

This plugin is still a work in process, vim support is close to none, and there is still somethings I plan to implement on it. Everyday I try to work a little on it.

vim-stt's People

Contributors

toniz4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vim-stt's Issues

Can't open terminal after deleting it from buffer

First issue, yay! :)
Basically I have mapping to delete all buffers but current one (nnoremap <silent> <C-z> :%bd!\|e#<cr>). After I delete it, I cannot toggle default terminal, only a terminal with different name.

UPD. Just checked, if you exit from the shell (with exit command), it is the same, can't toggle terminal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.