nvim-config
Mosh
nvim-config | Mosh | |
---|---|---|
9 | 153 | |
22 | 12,242 | |
- | 0.6% | |
8.6 | 4.6 | |
23 days ago | about 1 month ago | |
Lua | C++ | |
GNU General Public License v3.0 only | 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.
nvim-config
-
Need help setting working directory of my debugger for python in neovim
my config works fine without setting cwd. I have a helper module that gets the Python path from the currently active virtual environment.
-
how to avoid overlapping of gitsigns and lsp warning symbols in SignColumn?
Check my config for inspiration and the example screenshot above from my config.
-
Documentation Comment highlighting with TreeSitter
Not sure for Java (that’s Java right?), but for Python I inject rst in docstring comments. See here for my config.
-
What else can I do to speedup startup time?
How is anybody supposed to be able to help, given the information you provide? My setup with perhaps 60 plug-ins load in ~40ms (according to Lazy profile) on my M2 mac or ryzen 5600 workstation. You can take a look here.
-
How to fetch python installed path from lua?
My python helper, ftplugin and DAP executable
-
VenvSelect 0.2
Cool! I’ve written something similar in my config. But it only supports selecting conda environments. Typically I specify the venv and venvPath in pyrightconfig.json, so I use the code to show the current env in the status line and to supply the executable to dap and neotest.
-
Start conda envs after opening a file + conda envs telefoscope & Send to terminal (both for python)?
helpers/python.lua
-
After using Emacs (with evil) for a long time I switched to Neovim.
You should not add the ft = "latex" for VimTeX (https://github.com/isaksamsten/nvim-config/blob/main/lua/plugins/latex.lua)! VimTeX is already properly lazy by design (through use of ftplugin/ and autoload/). This is explained in a note just below the install instructions in the readme. :)
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?
statuscol.nvim - Status column plugin that provides a configurable 'statuscolumn' and click handlers.
Eternal Terminal - Re-Connectable secure remote shell
telescope-conda.nvim
tmux - tmux source code
debugpy - An implementation of the Debug Adapter Protocol for Python
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
py_lsp.nvim - Lsp Plugin for working with Python virtual environments
Advanced SSH config - :computer: make your ssh client smarter
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
Code-Server - VS Code in the browser
NeoTerm.lua - You can attach a terminal-buffer for each buffer.
PowerShell - PowerShell for every system!