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 | |
18 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
- Is there a way to restore your current session including all of the marks?
-
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 have separate buffers for every tab and split?
-
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.
- How to make different buffers in different tabs?
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?
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
lightline.vim - A light and configurable statusline/tabline plugin for Vim
bufexplorer - BufExplorer 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.
fzf-folds.vim - Vim plugin that lets you fuzzy search for folds in a file
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]
nui.nvim - UI Component Library for Neovim.
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.
vim-prosession - Handle vim sessions like a pro
awesome-neovim - Collections of awesome neovim plugins.