sniprun
Mosh
sniprun | Mosh | |
---|---|---|
27 | 152 | |
1,353 | 12,216 | |
- | 0.4% | |
8.7 | 4.6 | |
5 days ago | about 1 month ago | |
Rust | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
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
Mosh
-
The IDEs we had 30 years ago and we lost
If you haven’t already, and I know this doesn’t hold up for GUI emacs or vim, but consider running them through https://mosh.org/
- mosh: Mobile Shell
-
Write Your Own Terminal
FWIW, I wouldn't try to parse escape sequences "directly" from the input bytestream -- it's easy to end up with annoying bugs. Longer-term it's probably better to separate the logic e.g.:
- First step (for a UTF-8-input terminal emulator) means "lexing" the input bytestream as UTF-8 into a stream of USVs, which involves some subtleties (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- Second step is to run the DEC parser/FSM logic on the sequence of USVs, which is independent of the escape sequences (https://vt100.net/emu/dec_ansi_parser ; https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- And then the third step is for the terminal to execute the "dispatch"/"execute"/etc. actions coming from the FSM, which is where the escape sequences and control chars get implemented (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
Without this separation, it's easier to end up with bugs where, e.g., a UTF-8 sequence or an ANSI escape sequence is treated differently when it's split between multiple read() calls vs. all in one call.
-
Typing Fast Is About Latency, Not Throughput
Btw, you can use mosh to hide the latency of SSH. https://mosh.org/
-
How do I enable new pane/tab with CWD while using mosh?
I've been using Kitty's SSH features for as long as I can remember but I recently setup Mosh and I really like how it doesn't drop connections and supports roaming.
-
Buying an iPad Pro for coding was a mistake
I am surprised many people write about ssh into a server. Mosh[1] feels more responsive and it also supports longer sessions.
[1] - https://mosh.org/
-
Prompt2, heads up; they are readying up another version Prompt2 has been abandoned by devs since iOS 14 / 1y ago in a crashing state - Now they want to make another money-heist cash-grab from its users by forcing them to upgrade one of the most expensive apps of all time.
Also they support Mosh which I install on my servers. It's way better than plain ssh when you're on mobile networks and wifi, especially with connections that are unreliable or bandwidth-constrained.
- Zellij New WASM Plugin System
-
networkingStarterPack
I’ve recently been experimenting with MoSH (Mobile Shell). Basically think SSH but with UDP - so more resilient to shoddy network conditions, roaming access points, etc.
-
How can I get a lisp image to run in the background?
If it is not for production (e.g. running as a daemon or a server) and you only care about the development, another ad-hoc way is using screen/tmus-like software incl. byobu, and combine it with mosh.
What are some alternatives?
iron.nvim - Interactive Repl Over Neovim
Eternal Terminal - Re-Connectable secure remote shell
codi.vim - :notebook_with_decorative_cover: The interactive scratchpad for hackers.
tmux - tmux source code
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
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
vim-slime - A vim plugin to give you some slime. (Emacs)
Advanced SSH config - :computer: make your ssh client smarter
vim-terminator - :dagger: Run your code in an output buffer or a vim terminal conveniently
Code-Server - VS Code in the browser
neoterm - Wrapper of some vim/neovim's :terminal functions.
PowerShell - PowerShell for every system!