vim-airline-themes
vim-eunuch
vim-airline-themes | vim-eunuch | |
---|---|---|
8 | 27 | |
2,013 | 1,783 | |
0.4% | - | |
3.3 | 5.0 | |
4 months ago | 3 months ago | |
Vim Script | Vim Script | |
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.
vim-airline-themes
- How do I make my nvim have this? I like having the mode in colors
-
Neovim Customization
Since we installed vim airline and vim colorschemes we can change the look and feel of neovim/vim. Find your favorite vim colorscheme here also find your favorite airline theme here For this blog, we will use the gruvbox theme along with the base16 airline theme. To make this permanent write these in your nvim config.
-
Airline theme browser
" list with all themes in Airline-themes " https://github.com/vim-airline/vim-airline-themes let g:themes = ['alduin', 'angr', 'apprentice', 'atomic', 'ayu_dark' ] " clipped... let g:idx=0 let g:modulo=len(themes) let g:airline_theme=themes[idx] function ThemeNext() echo "CALLED NEXT" if g:idx+1 > g:modulo echo "MAX REACHED" endif let g:idx +=1 echo "SETTING THEME " echo g:themes[g:idx] let g:airline_theme=g:themes[g:idx] " call g:AirlineTheme( g:themes[g:idx]) endfunc function ThemePrev() echo "CALLED PREF" if g:idx-1 < 0 echo "MIN REACHED" endif let g:idx -=1 let g:airline_theme=g:themes[g:idx] " call AirlineTheme g:themes[g:idx] endfunc nmap q call ThemeNext() nmap a call ThemePrev()
-
Can't get Airline themes to work
git clone https://github.com/vim-airline/vim-airline-themes ~/.vim/bundle/vim-airline-themes
- NeoVim for Python development
-
9 Cozy Vim color schemes
Like mentioned before, pastel colors are not always the best when it comes to readability. This is why I've stuck with Panda Syntax for such a long time. Even though it's not very pastel, I still think it's very cute. As a little extra, I would recommend having this tasty scheme together with the Fruit Punch Airline Theme.
-
Your dev environment
Plug 'https://github.com/fatih/vim-go.git' Plug 'https://github.com/tpope/vim-vinegar.git' Plug 'https://github.com/ycm-core/YouCompleteMe' Plug 'https://github.com/tpope/vim-eunuch' Plug 'https://github.com/rust-lang/rust.vim' Plug 'https://github.com/vim-airline/vim-airline' Plug 'https://github.com/vim-airline/vim-airline-themes' Plug 'sainnhe/sonokai' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'https://github.com/Yggdroot/indentLine' Plug 'https://github.com/tpope/vim-fugitive' Plug 'yuki-yano/fzf-preview.vim', { 'branch': 'release/rpc' }
-
[xmonad] A phoebe bridgers rice
Editor: neovim with airline fruit-punch
vim-eunuch
-
Automatically make files with shebang executable using autocommands
Honorable mention : vim-eunch has this feature plus many other convenience commands.
-
Best way to manipulate files inside neovim?
I use eunuch.vim mostly by executing :Rename or :Remove or :Move. I also use this plugin whenever I have to manipulate multiple files in the working directory using :Cfind -name '*.lua' -type f which puts all .lua files in the cwd in the quickfix list then doing something like :cfdo lua vim.lsp.buf.format() to format all files.
-
Why :find is so slow compared to vscode/sublime file search feature?
If you are avoiding vim plugins due to external, non-standard dependencies (e.g. fzf), then you might be pleased to know that some plugins can solve this problem with standard linux utilities, like :Cfind and :Lfind from tpope/vim-eunuch which use the find linux utility.
-
Which file explorer do you use?
I use vim-dirvish(you probably want to pair this with vim-enunch), it's a more minimal version of Netrw.
- How can I rename (case sensitive) a buffer and reopen it?
-
Renaming current file
Try vim-eunuch lua {'tpope/vim-eunuch', config = function () vim.cmd('cnoreabbrev rename Rename') --:rgb + to trigger end},
-
Problems Moving Files with Netrw
I use netrw but I do moving, renaming etc with vim-eunuch and have done for about ten years. It just works how you'd expect it to.
- what is your startup time?
-
What shell commands do you invoke a lot from vi?
You might want to look into :Delete from tpope's vim-eunuch, along with wrappers for mkdir, chmod, etc.
-
Move file open in window relative to files location?
I did try: 1. Using the vim file explorer move command: 1. It does not implement autocomplete 1. I cannot use the vim movement shortcuts to move in the path, so I need to use the arrow keys to get before the file name. (dealbreaker) 1. It does not rename the buffer 1. Using eunuch plugin Move command: https://github.com/tpope/vim-eunuch 1. Relative paths were dependent on doing a change directory command first. That is fine but bothersome. 1. Required me to write the filename manually if I used the autocomplete. I did not find an efficient way to paste the current file name (without the path) to a command argument. 1. All in all quite close but still not good enough for me.
What are some alternatives?
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
nvim-tree.lua - A file explorer tree for neovim written in lua
nerdtree - A tree explorer plugin for vim. [Moved to: https://github.com/preservim/nerdtree]
barbar.nvim - The neovim tabline plugin.
panda-vim - Panda syntax colors for vim
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
polybar - A fast and easy-to-use status bar
neovim - Vim-fork focused on extensibility and usability
vim-espresso - A Better Vim Colorscheme.
indentLine - A vim plugin to display the indention levels with thin vertical lines
fairyfloss.vim - Pastel color scheme
vim-bbye - Delete buffers and close files in Vim without closing your windows or messing up your layout. Like Bclose.vim, but rewritten and well maintained.