How to run C++ from vim in an external terminal window with ability to add input.

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • dotfiles

    Dotfiles are the customization files (their filenames usually begin with a period) that are used to personalize Unix-based systems. (by martinsione)

  • Here is how I do it, https://github.com/martinsione/dotfiles/blob/master/src/.config/nvim/lua/core/compiler.lua

  • FTerm.nvim

    :fire: No-nonsense floating terminal plugin for neovim :fire:

  • For actually running your program, consider using a floating terminal plugin, for instance, this one, instead of opening an external terminal.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • yabs.nvim

    Discontinued Yet Another Build System/Code Runner for Neovim, written in lua

  • I wrote two plugins for exactly this purpose. One is pianocomposer321/yabs.nvim, which allows you to specify which commands (vim ex commands, or external commands) should be run for which filetype, and also where the output should go (the quickfix list, the terminal, etc). The other is pianocomposer321/consolation.nvim, which allows for easy management of terminals. These plugins will work independently of each other, but they work best together.

  • consolation.nvim

    A general-purpose terminal wrapper and management plugin for neovim, written in lua

  • I wrote two plugins for exactly this purpose. One is pianocomposer321/yabs.nvim, which allows you to specify which commands (vim ex commands, or external commands) should be run for which filetype, and also where the output should go (the quickfix list, the terminal, etc). The other is pianocomposer321/consolation.nvim, which allows for easy management of terminals. These plugins will work independently of each other, but they work best together.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts