tagbar
vim-easy-align
tagbar | vim-easy-align | |
---|---|---|
31 | 21 | |
6,083 | 4,027 | |
0.2% | - | |
4.7 | 0.0 | |
about 2 months ago | almost 4 years ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | - |
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.
tagbar
-
A function to list all function signatures in the current C source file in the quick fix window .
Check this plugin: https://github.com/preservim/tagbar
-
Moving across c-family function arguments
Are you looking for https://vim-taglist.sourceforge.net/ or https://github.com/preservim/tagbar
-
What is this font used from the everforest repo?
I ended up finding https://github.com/preservim/tagbar and like it so far
-
NeoVim & Rust
I also recommend you https://github.com/preservim/tagbar with https://ctags.io/ installed , it will map definitions (functions, enum, struct etc..) to tags and tagbar plugin allows you to open a split window with the mapped list and navigate through your file, it also enabled more advanced features for quick navigation .
-
Question regarding vertical movement
Also not that useful for text files I think, but I sometimes use something like https://github.com/preservim/tagbar to get an overview of the structure of the file, especially in unfamiliar documents. This is a quite old plugin of this nature that depends on ctags, there are more modern plugins that depend on treesitter. However for C++, I found the treesitter based bar plugins not as helpful, they need language specific settings, and the ones I tried didn't have them for C++ at the time.
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
converting vimscript to lua
Hey, I checked out tagbar plugin. It's really cool. It supports most of the languages. But the ones that needs to be configured, are mentioned in their wiki. It mentions vimscript in it. What will be the lua version of following vimscript?
-
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
Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation
-
Is there a plugin similar to Visual Studio's object browser/class view?
https://github.com/preservim/tagbar (no LSP support)
vim-easy-align
- How to align columns using tabs automatically? (Preferably using `mini.align`)
-
In mini.align, is there a way to align by specific occurrence of a character?
As part of my journey to moving to Lua, I'm trying to move from vim-easy-align to mini.align.
-
Markdown format table
Not exactly what you are asking for, but table formatting is usually enough with general purpose align plugins: - mini.align - junegunn/vim-easy-align - godlygeek/tabular
-
How to line up columns
For aligning text table data I usually used this plugin
-
mini.align - align text interactively (like 'vim-easy-align', but in Lua and slightly different mechanics)
I am happy to announce the release of mini.align - module of mini.nvim for aligning text interactively (with or without live preview). This is mostly designed after junegunn/vim-easy-align, but is implemented in Lua and has slightly different alignment specification and user interaction lifecycle.
-
My Vim Configurations
call plug#begin() " The default plugin directory will be as follows: " - Vim (Linux/macOS): '~/.vim/plugged' " - Vim (Windows): '~/vimfiles/plugged' " - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged' " You can specify a custom plugin directory by passing it as the argument " - e.g. `call plug#begin('~/.vim/plugged')` " - Avoid using standard Vim directory names like 'plugin' " Make sure you use single quotes " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align Plug 'junegunn/vim-easy-align' " Any valid git URL is allowed Plug 'https://github.com/junegunn/vim-github-dashboard.git' " Multiple Plug commands can be written in a single line using | separators Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' " On-demand loading Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'tpope/vim-fireplace', { 'for': 'clojure' } " Using a non-default branch Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } " Using a tagged release; wildcard allowed (requires git 1.9.2 or above) Plug 'fatih/vim-go', { 'tag': '*' } " Plugin options Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } " Plugin outside ~/.vim/plugged with post-update hook Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " vim-airline " display the statusline at the bottom of the vim Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' " ale " check syntax on the contents of text buffers Plug 'dense-analysis/ale' " Initialize plugin system call plug#end() "================ " General settings "================ syntax on set cursorline set backspace=indent,eol,start " Show line numbers " set number " Show command in bottom bar " set showcmd " Visual autocomplete for command menu set wildmenu " Redraw only when necessary, speeds up macros set lazyredraw set hlsearch " system clipboard set clipboard=unnamed " remove all trailing whitepsace " https://vim.fandom.com/wiki/Remove_unwanted_spaces au BufWritePre * :%s/\s\+$//e " The NERD Tree noremap 1 1gt noremap 2 2gt noremap 3 3gt noremap 4 4gt noremap 5 5gt noremap 6 6gt noremap 7 7gt noremap 8 8gt noremap 9 9gt noremap 0 :tablast au BufNewFile,BufRead * set expandtab au BufNewFile,BufRead * set shiftwidth=4 au BufNewFile,BufRead * set softtabstop=4 au BufNewFile,BufRead * set tabstop=4 "=========================== " Language specific settings "=========================== " Python au BufNewFile,BufRead *.py set expandtab au BufNewFile,BufRead *.py set shiftwidth=4 au BufNewFile,BufRead *.py set softtabstop=4 au BufNewFile,BufRead *.py set tabstop=4 " Markdown au BufNewFile,BufRead *.md set expandtab au BufNewFile,BufRead *.md set shiftwidth=4 au BufNewFile,BufRead *.md set softtabstop=4 au BufNewFile,BufRead *.md set tabstop=4
- Whenever I'm looking for plugins these days [OC]
-
what vimL plugins are you still using?
vim-easy-align - I haven't yet found a Lua-based equivalent with the same flexibility.
-
align.nvim - A minimal plugin to align your lines to a certain character, string, or Lua pattern
Also does this plugin support operator-pending mode like vim-easy-align does? For instance doing gaip, ("go align in paragraph; commas) in normal mode aligns all commas in the current paragraph.
-
Aligning text. Prevent lsp.buf.formatting from shifting inline comments?
Regarding your last question, there’s this: https://github.com/junegunn/vim-easy-align
What are some alternatives?
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
goyo.vim - :tulip: Distraction-free writing in Vim
navigator.lua - Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
nyoom.nvim - A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme
vim-gutentags - A Vim plugin that manages your tag files
vim-awesome - Awesome Vim plugins from across the universe
vim-visual-star-search - Start a * or # search from a visual block
vim-markdown - Markdown Vim Mode
vim-easymotion - Vim motions on speed!