suda.vim
🥪 An alternative sudo.vim for Vim and Neovim, limited support sudo in Windows (by lambdalisue)
nvim
By ShaneWiker
suda.vim | nvim | |
---|---|---|
12 | 2 | |
651 | 0 | |
- | - | |
5.9 | 10.0 | |
12 days ago | over 1 year ago | |
Vim Script | Vim Script | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
suda.vim
Posts with mentions or reviews of suda.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-11.
-
how can I use my config while in superuser mode?
Personally, I use suda.vim
-
Neovim says it's writing to some files when it doesn't
I've always tried using this plugin and doing SudaWrite, which doesn't work either.
-
don't you hate it when you edit a txt file in VI and then when you going to save it; says that you do not have permission?
In neovim this problem is solved by https://github.com/lambdalisue/suda.vim
-
sudowrite.lua: I wrote a small module that allows writing files as root
This emulates the well known sudo write trick (:w !sudo tee %), which unfortunately doesn't work in neovim. The code is mostly based on suda, except that it's fully written in lua and it's a small module that you can include in your config.
-
cmap alternative in lua ?
ye ol' sudo tee trick does not work in nvim afaik. Use this
- how edit root files in nvim lua??
-
Lua solution to writing a file using sudo
Neovim has numerous issues open about this and some are suggesting using suda.vim which works great. Personally I did not want to use a plugin just for this as all I wanted was to have a command that would replicate :w !sudo tee %.
-
How do you use sudo with neovim while keeping the config in init.lua?
You can see if suda.nvim fits your needs better.
-
YSK : Do not use 'sudo vim/nano/emacs..' to edit a file. Instead, set your $EDITOR and use sudoedit or sudo -e.
There's also Suda.vim
- Should I use vim or neovim?
nvim
Posts with mentions or reviews of nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-03.
-
Auto-import with native LSP and nvim-cmp (Using JavaScript/TypeScript mostly)
Here are my config settings if that helps. I can't seem to find any information about how to get it to work, just some conversations that say it mostly has to do with the LSP side more than cmp itself.
-
Neovim says it's writing to some files when it doesn't
These are my config files, but they're pretty extensive so I'm not sure if anyone will want to go through them.
What are some alternatives?
When comparing suda.vim and nvim you can also consider the following projects:
nvim-lua
octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor
neovim - Vim-fork focused on extensibility and usability
Vim - The official Vim repository
please - Really tiny sudo replacement
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
govim - govim is a Go development plugin for Vim8, written in Go
gh.vim - Vim/Neovim plugin for GitHub
mac-dev-playbook - Mac setup and configuration via Ansible.
barbar.nvim - The neovim tabline plugin.
vim-eunuch - eunuch.vim: Helpers for UNIX