Welcome to runTA.nvim
, the ultimate Neovim plugin that supercharges your coding workflow by seamlessly integrating code execution right within your Neovim editor!
- Are you tired of switching between Neovim and a terminal to test your code?
- Do you program in various programming languages or continously trying to learn new languges?
Say goodbye to context-switching and hello to uninterrupted productivity! runTA.nvim
brings the power of code execution directly into Neovim with an elegant floating terminal window.
- Seamless Code Execution
- Customizable Terminal
- Transparency Options
- Automatic Language Detection
- Various Window Types - floating, pane, tab, split
video.mp4
- Languages Currently Supported:
- c
- c++
- Python
- Java
- JavaScript
- TypeScript
- Ruby
- Lua
- Go
- Rust
- Perl
- PHP
- Bash
- R
- Swift
- Haskell
- Kotlin
Getting started with runTA.nvim
is easy! Simply install it using your favorite plugin manager. For example, with packer.nvim, add the following line to your configuration:
use {
"aliqyan-21/runTA.nvim"
config = function()
require("runTA.commands").setup()
end,
}
for lazy.nvim
return {
"aliqyan-21/runTA.nvim"
config = function()
require("runTA.commands").setup()
end,
}
Customize runTA.nvim to fit your needs by adding the following configuration to your Neovim setup:
runTA.setup({
output_window_type = "floating", -- floating, pane, tab, split
output_window_configs = {
width = 80, -- Width of the floating window
height = 20, -- Height of the floating window
position = "center", -- Position of the floating window ("center", "top", "bottom", "left", "right", "custom")
custom_col = nil, -- Custom column position (optional)
custom_row = nil, -- Custom row position (optional)
transparent = false, -- Set to true for a transparent background
},
})
end
:RunCode
: running your code is as simple as executing a command. Just use:RunCode
in Neovim or set keymap to trigger the command, and watch as your code runs in the floating terminal window with all output displayed right where you need it!:ReopenLastOutput
: this function opens up the recent executed code output.Output Window
: you can go through your code with vim bindings and copy any errors and stuff with vim bindings and pressq
to exit!
Contributions are welcome to make runTA.nvim even better! Submit issue or pull request to add more languages or features
runTA.nvim is licensed under the MIT License.
Special thanks to Neovim for providing a powerful and extensible platform such as this.
And parents -> TA are the initials of my mom and dad.