.dotfiles
vim-airline
.dotfiles | vim-airline | |
---|---|---|
14 | 58 | |
43 | 17,640 | |
- | 0.2% | |
9.7 | 5.6 | |
8 days ago | 7 days ago | |
Lua | Vim Script | |
MIT License | 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.
.dotfiles
-
C and Lua FFI for a better gF: jump to file at line and column
Once I finished the C code and compiled I only had to set the ld library path so that ffi.load can find my module: export LD_LIBRARY_PATH="$HOME/.config/nvim/lua/config/nvim/" I wanted to do everything from C but calling drop (source) requires a struct args that doesn't look fun to setup. The C code is available here and the ffi here. And here the final utility for the better gF
-
How do you change the titles of tabs to display filenames?
Credit goes to https://github.com/protiumx/.dotfiles/blob/main/stow/wezterm/.config/wezterm/wezterm.lua
-
What's this type of plugin called? (it shows the structure of code)
I use LspSaga in my status line with lua line, config here
-
Wezterm integration in Neovim
Another cool feature is that you can get the process name and working dir, so in my Tab title I have a nerd font icon and the folder. In addition the font color changes if the tab has new output for any of its pane. You can check my config here
- What are the plugins you consider necessary to have a great neovim experience?
-
Using delta in Telescope git_status
(source)
-
Migrating vimscript to lua and CoC to LSP: some advices
I created a new branch and a PR in my dotfiles repo to integrate this changes in case it helps to anyone https://github.com/protiumx/.dotfiles/pull/2
- People drop your nvim .dotfile
- Creating a Text-based UI with rust
-
kitty + zsh + powerlevel10k = ✨ aesthetics ✨
You can check my powerlevel10k config file here.
vim-airline
- Auto-completion problems for terraform
- Include octal on statusline?
-
CoC: How to disable these annoying Clangd messages?
Looks like you are using Airline for your statusline. Add this to your init.vim: let g:airline#extensions#coc#enabled = v:false
- How do I make my nvim have this? I like having the mode in colors
- Hello, can someone tell me which editor this is?
- How do I make airline transparent?
-
How do you work with buffers?
Powerline (and airline, as well as all plugins of that kind) offers, among other things, a GUI that helps you manage buffers and tabs. There are plugins that do just that and nothing else, which are best used alongside powerline/airline/etc, for example bufferline.
-
Transitioning vim-airline theme to Lua
I am working on adding a theme for the vim-airline plugin to the Everblush colorschemes for Vim and Neovim.
-
NeoVim Installation and Configuration on Win10/11
:set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
- Closing brackets are highlighted in red when in the init.vim file
What are some alternatives?
mas - :package: Mac App Store command line interface
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
lightline.vim - A light and configurable statusline/tabline plugin for Vim
nerdcommenter - Vim plugin for intensely nerdy commenting powers
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
rq - HTTP request parser written in rust
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]
nvim-config - My neovim config
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
NvStar - IDE Layer for Neovim, for simplicity lovers.
awesome-neovim - Collections of awesome neovim plugins.