suda.vim
nvim-lua
Our great sponsors
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
-
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-lua
-
vim-tmux-navigator is conflicting with toggleterm
I recently converted vim-tmux-navigator to lua via a simple function and using A-hjkl\ binds (which has no conflicts) instead of the default C-hjkl\, feel free to reuse my code, relevant commit.
-
vscode like rename ui
source: https://github.com/ibhagwan/nvim-lua/blob/main/lua/lsp/rename.lua
-
Hibiscus šŗ -- Fennel eye-candy for neovim
I guess this is a preference thing, I would consider my config my config highly customized and pretty advanced, it has almost 8k lines of code, I don't fiddle with it as much as when I just converted to lua but I still update ocasionally and I find lua perfect for the job, instead of macros I just create small lua functions in order to avoid code duplication (where applicable).
-
I love this community
I'm not just giving you complements to boost your morale, I've seen your code first hand, I've used feline (we even interacted in issues) and also copied your archived nvim-reload code into my config and can recognize a good programmer when I see one.
-
How to make ":luafile $MYVIMRC<CR>" work?
Technically all you need to do is set package.loaded[module] = nil for all the modules you wish to reload and that's why my modded version does, it reloads all your entire neovim config and all the plugins listed in the linked init file.
-
FzfLua 'git status' as a high level staging tool
FYI, just added this to my config with a slight twist (resize back once I'm done), this so great :)
-
Good Neovim Configurations
My config isnāt a āpermadeā, itās not meant to be a solution for anyone other than myself, nevertheless you might find it useful for plugin selection and some cool functions.
-
How to write plugins, workflow setup?
You can view my setup here.
-
A few useful features I added to Fzf-Lua preview window
My own version of Embark colorscheme and feline.nvim, my configuration can be found here
-
Feline.nvim version 0.1 released
Btw, if anyone wants the āevil-lineā equivalent config for feline you can find it here
What are some alternatives?
octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor
nvim-reload - Plugin to easily reload your Neovim config
neovim - Vim-fork focused on extensibility and usability
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
Vim - The official Vim repository
lualine.nvim - A blazing fast and easy to configure Neovim statusline written in Lua
please - Really tiny sudo replacement
vimux - easily interact with tmux from vim
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
vim - An ambitious theme for vim
govim - govim is a Go development plugin for Vim8, written in Go
feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua