Giter Site home page Giter Site logo

vim-terminal's Introduction

vim-terminal is a Vim plugin which allows you to run interactive programs, such as bash on Linux or powershell.exe on Windows, inside a Vim buffer. In other words, it is a terminal emulator which uses a Vim buffer to display the program output.

vim-terminal

Usage

Type :Terminal to run your command in vim, for example:

:Terminal bash
:Terminal mysql -h localhost -u joe -p sock_collection
:Terminal Powershell.exe
:Terminal C:\Python27\python.exe

To open Terminal in a new horizontal or vertical buffer use:

:TerminalSplit <command>
:TerminalVSplit <command>
:TerminalTab <command>

All text typed in insert mode will be sent to your shell. Use the key to send a visual selection from any buffer to the shell.

For more help type :help Terminal

Requirements

Linux

  • Vim or GVim 7.0+ with +python and/or +python3
  • Python 2.3+ and/or 3.x

WINDOWS

  • GVim 7.3 (the official installer from this site)
  • Python 2.7 and/or 3.1

Installation

apt-vim install -y https://github.com/tc50cal/vim-terminal.git



Note

vim-terminal was inspired by Conque

vim-terminal's People

Contributors

tc50cal avatar

Stargazers

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

Watchers

 avatar  avatar

vim-terminal's Issues

Terminal letting me enter command but not running it

Python 2 interface is not installed, using Python 3 instead
Warning: Global CursorHoldI and CursorMovedI autocommands may cause Terminal to run slowly.
Warning: Global CursorHoldI and CursorMovedI autocommands may cause Terminal to run slowly.

I am getting the above message when I run the terminal command. And then when I enter a command it does not run it in the terminal, what is happenineg? It was working before

How to set height of terminal split?

What should I put in my .vimrc to set the default height on a :TerminalSplit bash split?

And how could I set the height of a split on the fly?

I'm a bit confused looking at the documentation.

Edit: It would also be good to know how to have the :TerminalSplit bash in the same directory as the file in the main buffer (saves having to cd, especially in long paths). Not sure if this is possible...

Terminal does not work

I'm on Arch running awesomewm with nvim. I could write in the terminal, but the commands would not get executed.

TerminalSplit Command Not Working in Mac

Hi, I am having an issue using the terminal plugin in neovim, Every other plugin is working fine except for the Terminal plugin.

System Spec:
macOS- Monterey
neovim - 0.5.1
python3 - 3.9
vim is installed via brew

I have shared the image when I try to run TerminalSplit bash or TerminalSplit zsh

Screenshot 2021-11-02 at 8 58 31 PM

I did try installing mac vim, but it doesn't solve the issue, again the same error.

can someone help me figure out what the issue is?

BackSpace doesn't work :'(

Your plugin is nice, just when I run my program, basically I can't delete anything whit backspaces ajajaj.
image

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.