vim-table-mode
vim-easy-align
Our great sponsors
vim-table-mode | vim-easy-align | |
---|---|---|
19 | 21 | |
2,042 | 4,027 | |
- | - | |
5.9 | 0.0 | |
about 1 month ago | almost 4 years ago | |
Vim Script | Vim Script | |
- | - |
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-table-mode
-
Csvlens: Command line CSV file viewer. Like less but made for CSV
While not built around CSV, two terminal spreadsheet tools I have successfully used in the past are sc-im and the (neo)vim plugin vim-table-mode:
https://github.com/andmarti1424/sc-im/
https://github.com/dhruvasagar/vim-table-mode
Back then I stopped using sc-im because it could not import/export XLSX, if I remember correctly. Apparently it can today!
vim-table-mode always felt a little fragile and I don't want to be bound to vim anymore. That said, it still feels like a small miracle to me to have functional spreadsheet formulas inside markdown documents – calculation and typesetting all in one place.
-
Wrap long lines in markdown tables
Use the grid_table extension of markdown, which many renderer such as pandoc support. You can also use Vim Table Mode in conjunction. I regularly use it to keep my tables human readable.
-
Which vim plugins do not have a lua equivalent yet?
vin table mode. Creating tables in markdown file.
-
TIP: reformat a markdown table
This plugin works pretty well too: https://github.com/dhruvasagar/vim-table-mode
-
Markdown format table
I use vim-table-mode, very good plugin.
-
Vimwiki + Preview-Markdown
On its own it does very little -- not much else besides making the links work. I use the author's wiki-ft.vim alongside vim-table-mode to accomplish more or less what Vimwiki used to. Wiki.vim is far more supportive of other filetype plugins than vimwiki is.
- How close is orgmode.nvim to actual emacs Org Mode?
- Whenever I'm looking for plugins these days [OC]
-
Best note taking plugins for vim
I do this in markdown with vim-table-mode.
-
Please help me in translating my vimrc to emacs equivalents.
"basic visual settings set number set linebreak "text type settings set encoding=utf-8 "Remapping keys inoremap jk nnoremap j gj nnoremap k gk "to quickly open NERDTree filebrowser. nnoremap :NERDTree "to open files with external programs from paths written in vim. nnoremap gF :!xdg-open "to make Y behave similar to D and C nnoremap Y y$ "to make a new line after the word without entering insert mode nnoremap e a "insert a new line without entering insert mode nnoremap o ok nnoremap O Oj "search settings set hlsearch set incsearch "clipboard settings set clipboard=unnamedplus "for use of Vim plug plugin manager. call plug#begin() " To change the surroundings a text. Plug 'https://github.com/tpope/vim-surround' " A Vim Plugin for Lively Previewing LaTeX PDF Output " Use this command to start the previewer :LLPStartPreview Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } Plug 'https://github.com/vimwiki/vimwiki' "It is a file browser and does basic file ops. Plug 'preservim/nerdtree' "It highlights most movement commands like w,j,f,t,/ etc.Triggered by "leader twice plus the movement key. Plug 'https://github.com/easymotion/vim-easymotion.git' "enables completion with tab instead of control p. Plug 'https://github.com/ervandew/supertab' "To edit csv files in vim and display them nicely. Plug 'chrisbra/csv.vim' "To make org mode like tables in vim with spreadsheet capabilities. Plug 'https://github.com/dhruvasagar/vim-table-mode' "To use org mode of emacs in vim, but tables not supported and not maintained. Plug 'jceb/vim-orgmode' "It opens a calendar in vim which is read only, like in emacs. Plug 'https://github.com/mattn/calendar-vim' call plug#end() "settings required by plugins. "to use markdown in vimwiki instead of learning vimwiki syntax let g:vimwiki_list = [{'path': '~/vimwiki/', \ 'syntax': 'markdown', 'ext': '.md'}] "to make markdown compatible tables in vim-table-mode plugin. let g:table_mode_corner='|' "Self defined commands which can be executed on vim command line.(must start "with caps) "This is shortcut for quickly sourcing vimrc. command Src source ~/.vimrc "shortcut to delete entire file. command Dal norm ggdG "shortcut to copy entire file. command Yal norm ggyG command Erc vsplit ~/.vimrc "to make presentations with pandoc using source markdown and then opening the pdf through external viewer. command Mkppt :!pandoc % -t beamer -o output.pdf ; xdg-open output.pdf "changing the default leader key which is "\" let mapleader = "\" "auto commands to do stuff based on certain events "This inserts # when leader + c key is pressed in a python file. autocmd filetype python nnoremap c I# autocmd filetype python nnoremap C ^x "saving macros or registers. "macro for anki cloze deletion let @b="f:a{{c1::jkA}}jkj0"
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?
vim-markdown - Markdown Vim Mode
goyo.vim - :tulip: Distraction-free writing in Vim
neuron.nvim - Make neovim the best note taking application
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
sc-im - sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
nyoom.nvim - A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme
vimwiki - Personal Wiki for Vim
vim-awesome - Awesome Vim plugins from across the universe
tabular - Vim script for text filtering and alignment
tagbar - Vim plugin that displays tags in a window, ordered by scope
venn.nvim - Draw ASCII diagrams in Neovim
vim-visual-star-search - Start a * or # search from a visual block