asyncrun.vim
sniprun
Our great sponsors
asyncrun.vim | sniprun | |
---|---|---|
27 | 27 | |
1,817 | 1,344 | |
- | - | |
7.2 | 8.8 | |
about 1 month ago | 7 days ago | |
Vim Script | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asyncrun.vim
-
Is there a plugin for async shell :%!command ?
I'm familiar with asyncrun.vim, but it outputs as quickfix. I specifically want to filter editor text (as stdin/stdout).
-
When creating a new window, can you open to the CWD in your terminal emulator of choice?
If you want to open a new terminal in the CWD of neovim, you couls either use neovim's built in terminal or, if it needa to be kitty, use the neovim AsyncRun-plugin and start kitty with the necessary command-line options to start in neovims's CWD(I uae this with Alacritty instead of Kitty).
-
How do you handle level productivity: autoformat, insert debug statement, execute file?
For running the file there are several tools. I have been using asynctasks.vim which is built on top of asyncrun.vim which I usually use to open a tmux pane and run the code/test. I've been looking at switching to overseer.nvim but haven't yet. I use justfiles to define all of my tasks.
-
How do you guys run the code you write with vim?
I can :Man blah to look up docs or :AsyncRun to build/run with jumpable output in the quickfix. Doing it within vim means I can pull from any register for pasting, yank without a mouse, hide buffers or move them to tabs, etc.
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
I use asyncrun.vim to see compile output as it happens (line by line instead of the whole dump when compile completes) and asynchronously (so I can keep navigating around).
-
Output of external command to messages ?
try asyncrun:
-
Run code with F5 and leave buffer open
Also AsyncRun and AsyncTasks worth a mention.
-
Asyncrun and ANSI codes
Hey folks, I'm using asyncrun to run async commands on vim, but some of them output ansi colorcodes, I've found powerman's AnsiEsc which is able to conceal and highlight them very well, but that only work for the current buffer, so there's no way to automate it from g:asyncrun_exit and I can't set the -post from asynctasks, has anyone found a way to fix this?
- Run code in Nvim
-
Run Any Language with Same Macro!
As you can see, I use asyncrun.nvim since sometime compiling/running will take quite long. For some complex situations, like c++ project with cmake, I use following code:
sniprun
-
Compile and run inside nvim
If you want to compile/run specific lines of code (not the whole project), my plugin sniprun should be worth a look
-
How to take input in Python using lunar vim?
If I understand currently this https://github.com/michaelb/sniprun plugin should do the trick for you.
-
In-editor lua REPL: nvim-luadev vs neorepl.nvim
I can't speak for the two above plugins (I shall try them!), but... While I'm developing in Lua, I like to use michaelb's sniprun. I'll just build my tests inside the file I'm working on, and see my outputs update live within the buffer as I edit.
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Favorite REPL/Notebook/Task Running plugins and workflow?
I'm glad for the reminder about sniprun, I had it bookmarked but not categorized well enough and forgot about it.
-
TIL: you can run code inside markdown :O
Install SnipRun
-
New plugin: Equals (#=)
A similar plugin that comes to mind is sniprun.
- Run code in Nvim
- Is there any plugin or a way where I can see my code like this and not opening a browser to view it?
- Plugin for send code unit to any interpreter
What are some alternatives?
vim-dispatch - dispatch.vim: Asynchronous build and test dispatcher
iron.nvim - Interactive Repl Over Neovim
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
codi.vim - :notebook_with_decorative_cover: The interactive scratchpad for hackers.
fzf-lua - Improved fzf.vim written in lua
code_runner.nvim - Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
vim-slime - A vim plugin to give you some slime. (Emacs)
asynctasks.vim - :rocket: Modern Task System for Project Building, Testing and Deploying !!
vim-terminator - :dagger: Run your code in an output buffer or a vim terminal conveniently
todoist.nvim - A todoist extension for neovim
neoterm - Wrapper of some vim/neovim's :terminal functions.