vim-ctrlspace
vim-airline
Our great sponsors
vim-ctrlspace | vim-airline | |
---|---|---|
13 | 58 | |
1,725 | 17,627 | |
0.5% | 0.4% | |
4.3 | 6.2 | |
17 days ago | 2 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-ctrlspace
-
How do you navigate different projects?
https://github.com/vim-ctrlspace/vim-ctrlspace is the main plugin I use to open files and jump between buffers. In terms of this plugin, a project is a "bookmark," and you can switch between them easily - each project is actually just a working directory. Then you can open files from the current project directory using fuzzy search. I use tabs to keep related buffers together. And one of strong points of ctrlspace is that it keeps buffer list separate per tab. In other words, each tab has its own list of buffers, so you can jump really quickly between them. Of course, you can search in all loaded buffers (like in :ls).
- Neovim workflow
-
How to avoid having six million buffers open
I thought it would be nice to have something like :ls but only for buffers of a current tab. There's a plugin that does exactly that: https://github.com/vim-ctrlspace/vim-ctrlspace. It supports fuzzy search of buffers (as well as files in your project), but I mostly use j/k in the buffer selection list. You can do browsing in a separate tab to keep those uninteresting buffers separate from everything else. I just no longer use :ls since it still contains a list of all buffers ever opened, and vim-ctrlspace buffer switching is much better. Though I sometimes still use :b filename.
-
How do you handle multiple projects/workspaces with Neovim?
Maybe this could fill your requirements: https://github.com/vim-ctrlspace/vim-ctrlspace
-
Favorite unfamous vim/neovim plugin?
I personally love vim-ctrlspace. I found out about it a few months ago, and since then, it's really one of the few plugins that I can't live without.
-
How to handle multiple projects in a single instance
I used spacemacs for a few years and this problem was solved pretty neatly by projectile which basically filters all the buffer not in the current project. However it wasn't perfect and switch back to vim/tmux, but if for those who like this kind of workflow and don't want to use tmux (because for example they prefer a GUI version of vim), the vim plugin (ctrspace)(https://github.com/vim-ctrlspace/vim-ctrlspace) gives a similar workflow. I tried using but it wasn't for me.
-
Best way to implement a project like system?
Try vim-addon-local-vimrc to load a project specific vimrc or vim-ctrlspace to load session infos.
-
Do not get the benefit of tabs
I have not really gotten into tabs for more or less the same reason. Recently though I came across the plugin Ctrl-Space (https://github.com/vim-ctrlspace/vim-ctrlspace), which is supposed to let you manage buffers on a per-tab basis (among other things). I've installed the plugin and play with now and again to try and figure out if it does what I hope it does, but I'm still feeling it out.
So you may be interested in this. It does exactly that. https://github.com/vim-ctrlspace/vim-ctrlspace
vim-airline
- Auto-completion problems for terraform
- Include octal on statusline?
- How do I make my nvim have this? I like having the mode in colors
-
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
-
My Neovim Configuration
call plug#begin('~/.config/nvim/plugged') 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/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme 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 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~"
-
How do I work with Rust Workspaces in Neovim?
call plug#begin() 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/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } call plug#end()
-
Configuring NeoVim plugins
In this very short post, I'm going to help you configure your NeoVim installation on Windows to use NERDTree and vim-airline.
What are some alternatives?
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
lightline.vim - A light and configurable statusline/tabline plugin for Vim
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.
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]
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.
awesome-neovim - Collections of awesome neovim plugins.
galaxyline.nvim - neovim statusline plugin written in lua
vim-devicons - Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
nerdtree - A tree explorer plugin for vim.