vim-sensible
vim-easy-align
Our great sponsors
vim-sensible | vim-easy-align | |
---|---|---|
27 | 21 | |
5,045 | 4,027 | |
- | - | |
0.0 | 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-sensible
-
Obsidian 1.5 Desktop (Public)
That’s a good question. The built in tutorial is actually really good, you can launch it with “vimtutor” on the command line. It doesn’t give you everything, but its instructions and text to try things out on in the editor itself, which I find a good way to learn. It isn’t particularly programming focused either.
For getting used to the motions especially https://vim-adventures.com can be a fun way, in its game format.
For getting started I’d say don’t worry about plugins much, but get https://github.com/tpope/vim-sensible at least so the defaults meant for vi don’t get in the way. The only other thing you might want is a format syntax if your preferred note syntax isn’t highlighted well by default or something. Polyglot can be good to stave that off but really I’d say learn on a really lean config, and get used to using :help or similar. It’s the best way to learn the parts that work everywhere.
-
Share NO-PLUGIN Configs!
it's modified from tpope's https://github.com/tpope/vim-sensible, and https://github.com/mhinz/vim-galore#tips-1.
-
The Vim features that make me a Vim user instead of a Vi user
I didn't realise vim Vs vi purist was a thing.
I'm aware that for a while vim has had some backwards compatibility setting that people recommended turning off to get more modern defaults.
And that Tim Pope had a plugin that took you one step beyond that:
https://github.com/tpope/vim-sensible
> Think of sensible.vim as one step above 'nocompatible' mode: a universal set of defaults that (hopefully) everyone can agree on.
And that neovim took the opportunity to make an updated set of defaults:
https://neovim.io/doc/user/vim_diff.html#nvim-defaults
-
From vscode to vim
tpope/vim-sensible, because the Vim defaults aren't for everyone.
-
mini.basics - Common configuration presets for options/mappings/autocommands
A while back I did a public Neovim options survey (here are the results). One of the goals was to gather a commonly used option values to create a "crowd-sourced" moderate version of tpope/vim-sensible. Well, this is it.
-
How I set up Vim for writing LaTex, Python, C and C++?
opps.. forgot to mention timpopes : https://github.com/tpope/vim-sensible settings :D
-
Show HN: Vim online editor using WebAssembly, storing files using IndexedDB
You don’t want any modern conveniences? Not even stuff from here[0]?
[0]: https://github.com/tpope/vim-sensible/blob/master/plugin/sen...
-
How do you turn off the yellow highlighting after your done with the search?
If you use vim-sensible, which you should, you can reset the highlight with ctrl+l.
-
.vimrc
Check out sensible.vim for lots of settings you might want to turn on.
-
Neovim built-in options survey needs your contribution
What I plan to do with results: - The summary of results will be released in some way, shape, or form after survey is closed (at least two weeks from now when there is a 24 hours without new entries). It will be announced in this sub. - Possibly use the most commonly set non-default settings to power a Neovim variant, crowd-sourced version of tpope/vim-sensible.
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-cool - A very simple plugin that makes hlsearch more useful.
goyo.vim - :tulip: Distraction-free writing in Vim
lightline.vim - A light and configurable statusline/tabline plugin for Vim
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
nyoom.nvim - A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-awesome - Awesome Vim plugins from across the universe
vimrc - Basic vim configuration for your .vimrc
tagbar - Vim plugin that displays tags in a window, ordered by scope
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
vim-visual-star-search - Start a * or # search from a visual block