suda.vim
🥪 An alternative sudo.vim for Vim and Neovim, limited support sudo in Windows (by lambdalisue)
Vim
The official Vim repository (by vim)
suda.vim | Vim | |
---|---|---|
12 | 424 | |
656 | 35,048 | |
- | 1.1% | |
5.9 | 9.9 | |
13 days ago | 2 days ago | |
Vim Script | Vim Script | |
MIT License | Vim 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?
Vim
Posts with mentions or reviews of Vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-05.
- Vim Gets Xdg_config_home Support
-
Ask HN: Is Vim Dead?
There have been six releases of Vim _this week_. So, no, Vim is not "dead".
https://github.com/vim/vim/tags
-
100+ FREE Resources Every Web Developer Must Try
Vim
-
Building a web server: Installing the right software
We wanted this machine to be as lean as possible. There is only so much memory and processing power to go around. Remember, our machine has 3 GHz Dual-Core Intel Core i7 processor with 16 GB 1600 MHz DDR3 memory. We also wanted as much of that space and power to be used for serving up our web applications. However, we also wanted to have an additional option for editing any code files, in addition to vim.
- Vim 9.1
-
Microsoft is exploring adding a command line text editor into Windows, and it wants your feedback
Vim: winget install vim.vim
-
Raylib Library For Video Games Programming as Senior Developer
So Raylib library could be your best option. Let's code, just open your text editor like vim or VSCodium in your Windows, Linux or Mac computer and let's build our indie game with Raylib library, no extra dependencies are needed.
-
Switching tabs, causese the view to move, such that the cursor is in center
nevermind, after a little searching, I found the solution, this isn't 'a nvchad problem or neovim problem, but a vim problem, and this github issue explains it. In the bottom of the issue, someone did post a fix here, but I haven't really tried it.
-
Enabling pyhton3 runtime support in an already installed vim9.0
Then I went to official vim GitHub and looked around and it also had only instruction for installing vim from scratch.
-
Best code to build tools with for Excel
When you said Vim, I thought you were talking about Vim (a code editor). Clearly not haha
What are some alternatives?
When comparing suda.vim and Vim you can also consider the following projects:
nvim-lua
neovim - Vim-fork focused on extensibility and usability
octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor
Geany - A fast and lightweight IDE
KDevelop - Cross-platform IDE for C, C++, Python, QML/JavaScript and PHP
please - Really tiny sudo replacement
calcurse - A text-based calendar and scheduling application
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
Visual Studio Code - Visual Studio Code
govim - govim is a Go development plugin for Vim8, written in Go
swiper - Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!