https://github.com/masajinobe-ef/suda.nvim
Seamless sudo file editing with permissions preservation
https://github.com/masajinobe-ef/suda.nvim
lazy lua neovim neovim-plugin nvim sudo vim
Last synced: 9 months ago
JSON representation
Seamless sudo file editing with permissions preservation
- Host: GitHub
- URL: https://github.com/masajinobe-ef/suda.nvim
- Owner: masajinobe-ef
- License: mit
- Created: 2025-04-14T20:51:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-14T23:11:53.000Z (9 months ago)
- Last Synced: 2025-05-15T00:18:59.816Z (9 months ago)
- Topics: lazy, lua, neovim, neovim-plugin, nvim, sudo, vim
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🚀 suda.nvim
Neovim plugin for seamless sudo file editing with permissions preservation.
[](LICENSE)
## Features
- 🔄 Automatic sudo detection for protected files
- 📝 Edit files with `sudo://` protocol
- 🔒 Preserves original permissions/ownership
- 💾 Save with regular `:w` command
- 🛡️ Atomic writes with temp file safety
- 🖥️ Supports Linux/macOS/\*nix systems
## Installation
Using lazy.nvim:
```lua
{
'masajinobe-ef/suda.nvim',
config = function()
require('suda').setup {}
end,
}
```