vim-session
distant.nvim
vim-session | distant.nvim | |
---|---|---|
5 | 30 | |
964 | 1,100 | |
- | - | |
0.0 | 5.4 | |
almost 2 years ago | 9 days ago | |
VimL | Lua | |
- | Apache License 2.0 |
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.
vim-session
-
Vim After 15 Years
https://github.com/xolox/vim-session
I actually have in normal mode ,ss for save session and ,so for opening them. Central location of session dirs and that's it. Save session saves everything from files open, positions, tabs, you name it.
-
Which, in your opinion, is the best session management plugin?
I'm looking to switch from vim-session to a Lua based session management plugin (i.e. :mksession wrapper). In awesome-neovim it looks like there are a couple of alternatives. I have relatively simple needs: I want a command for manually creating a new session, and automatic saving of an opened sesion when I quit Neovim. Bonus points for a built-in Telescope session picker, but I can always use (telescope_sessions_picker.nvim) otherwise. Do you guys have any advice?
-
Can you isolate buffers to a specific tab?
You can use sessions to switch between different projects. They store your tabs, buffers, etc. Check out :help mksession. I personally use vim-session which is a wrapper around mksession which allows you to use it more lazily.
-
How to handle working with multiple directories?
Check out :help :mksession. There's also a great plugin called vim-session that is a wrapper around :mksession making it easier to use, that adds commands like :SaveSession and :OpenSession that you can tab-complete to choose between all your saved sessions.
-
TIL - what is your most recent vim discovery?
I started seriously using sessions a couple of months ago and it's awesome. Although the built in :mksession works I like to use vim-session which is a wrapper for :mksession that adds stuff like auto saving sessions on exit etc which I love.
distant.nvim
-
how best to edit remote files?
Oops, meant distant, https://distant.dev/.
-
Neovim workflow
2) There is a remote working plugin to not have the overhead of sshfs copying around files https://github.com/chipsenkbeil/distant.nvim, but you could also role your own with neovim now having remote mode and lua runner. Main caveat is how to get consistent file system view.
-
remote-sshfs.nvim: Explore, edit, and develop on a remote machine via SSHFS with Neovim and telescope. Loosely based on VSCode's Remote -SSH (very alpha, rapid development)
- What do you think of other plugins e.g.: https://github.com/chipsenkbeil/distant.nvim?
- How to edit file on a server using your local neovim?
- Neovim and devcontainers
-
What is the current state of remote neovim?
This is something I've been tracking pretty closely. My understanding of the current options: 1. Use sshfs. Pros: nothing to install on the remote server. Cons: will choke on huge filesystems when doing some operations (e.g. fuzzy finding). Also requires all your LSP/linting/analysis tools to be installed locally, which may not be the case if your company is transitioning to remote developer environments. 2. Use netrw or similar. Pros: nothing to install. Cons: will not play nice with LSP, fuzzy finding, or anything else. 3. Use distant.nvim. At this point, basically the same as netrw except that maybe remote LSP will work. 4. SSH to the server and use nvim there. Pros: simple and everything works. Cons: Have to install nvim on the server. SSH connection may cause typing lag if the RTT is high (some people report that Mosh can help the lag issue)
-
Any recommendations for operating system authentication libraries?
The reason being is that I've written a service called distant with a companion neovim plugin, distant.nvim, and want to provide forms of authentication in the same vein as ssh.
-
Using LSP's in Neovim with remote projects.
Did a lot if research. there is distant.nvim that tries to solve it maybe it will work for you.
-
Do you use Neovim when doing Server Configuration?
I either use the vi / vim that's on the server or connect remotely using https://github.com/chipsenkbeil/distant.nvim
-
Vim After 15 Years
Regarding the last part of your comment: you may get some value out of this plugin, https://github.com/chipsenkbeil/distant.nvim, https://www.youtube.com/watch?v=wVAsbpByQ3o.
I've not used it but your use case made me wonder if there's a nice way to do it, as I regularly SSH into my NAS and RPi's, so I had a quick search.
What are some alternatives?
vim-startify - :link: The fancy start screen for Vim.
nvim-remote-containers - Develop inside docker containers, just like VSCode
telescope-project.nvim
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim. [Moved to: https://github.com/nvim-neorg/neorg]
telescope_sessions_picker.nvim
remote-sshfs.nvim - Explore, edit, and develop on a remote machine via SSHFS with Neovim
possession.nvim - Flexible session management for Neovim.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
vim-tabs - Vim plugin which helps you to use tabs correctly and productively
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]
sessions.nvim - a simple session manager plugin
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.