suda.vim
barbar.nvim
suda.vim | barbar.nvim | |
---|---|---|
12 | 38 | |
656 | 2,075 | |
- | - | |
5.9 | 7.6 | |
12 days ago | 25 days ago | |
Vim Script | Lua | |
MIT License | - |
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?
barbar.nvim
-
Neovim workflow
considering your vscode background when you say tabs your really mean buffers( Trust me even i had this problem when I made the switch). So your solution here is using a plugin. There are many but I personally use barbar.nvim
-
How to change selected line number color so that it stands out more in one dark
you can check out https://github.com/romgrk/barbar.nvim
-
Introducing: nvim-early retirement – auto-close your buffers after x minutes of inactivity
Nice! I personally use barbar.nvim's : BufferCloseAllButVisible which closes all buffers that aren't currently visible in a window.
-
I'm honestly so close to putting a bounty on a lua vim-wintabs
There has been discussion of adding that feature to upstream barbar.nvim, but no concrete work has begun yet.
-
[New plugin] deadcolumn.nvim -- gradually show you colorcolumn as you type
I'm using barbar.nvim, a simple but efficient bufferline plugin.
-
Semantic highlighting
LuaLS has trouble identifying vim functions. I just went through and annotated a bunch of functions with doc comments in a project to help it figure things out.
- VSCode like window tabs
-
How do you work with buffers?
I use barbar.nvim for displaying buffers as tabs and whenever I feel like I have too many open I run :BufferCloseAllButVisible (from a mapping), and it closes every buffer except those I have currently visible
- Closing brackets are highlighted in red when in the init.vim file
-
switch buffers shortcut
i use barbar
What are some alternatives?
nvim-lua
bufferline.nvim - A snazzy bufferline for Neovim
octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor
lightline.vim - A light and configurable statusline/tabline plugin for Vim
neovim - Vim-fork focused on extensibility and usability
taboo.vim - Few utilities for pretty tabs
Vim - The official Vim repository
impatient.nvim - Improve startup time for Neovim
please - Really tiny sudo replacement
fern.vim - 🌿 General purpose asynchronous tree viewer written in Pure Vim script
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua. [Moved to: https://github.com/nvim-lualine/lualine.nvim]