# HG changeset patch # User Peter Sanchez # Date 1612022950 28800 # Sat Jan 30 08:09:10 2021 -0800 # Node ID ade06f7e845ab73f8eca05c1b4db084476cb83d7 # Parent 31cb7ee5fea232abb28e7d4985e608fc21fce990 Adding vim-easy-align diff --git a/vim/rebuild_bundle.py b/vim/rebuild_bundle.py --- a/vim/rebuild_bundle.py +++ b/vim/rebuild_bundle.py @@ -32,16 +32,18 @@ SNIPPET_DIR = os.path.join(ROOT_DIR, "snippets") plugin_paths = ( - ("https://github.com/scrooloose/nerdcommenter.git", "env:dev"), "https://github.com/bling/vim-airline.git", "https://github.com/vim-airline/vim-airline-themes.git", - # Goyo / Limelight (together) - ("https://github.com/junegunn/goyo.vim", "env:dev"), - ("https://github.com/junegunn/limelight.vim", "env:dev"), + "https://github.com/junegunn/vim-easy-align.git", # ReST "https://github.com/Rykka/riv.vim.git", # Markdown "https://github.com/plasticboy/vim-markdown.git", + # Development plugins + ("https://github.com/scrooloose/nerdcommenter.git", "env:dev"), + # Goyo / Limelight (together) + ("https://github.com/junegunn/goyo.vim", "env:dev"), + ("https://github.com/junegunn/limelight.vim", "env:dev"), ("https://github.com/Yggdroot/LeaderF.git", "env:dev"), ("https://github.com/dense-analysis/ale.git", "env:dev"), ("https://github.com/fatih/vim-go.git", "env:dev"), diff --git a/vim/vimrc b/vim/vimrc --- a/vim/vimrc +++ b/vim/vimrc @@ -435,6 +435,9 @@ autocmd BufRead,BufNewFile *.mmd set spell ts=4 wm=2 tw=79 augroup END +" Auto align highlighted section in visual mode +autocmd FileType markdown vmap :EasyAlign* + " LeaderF let g:Lf_ShortcutF = '' let g:Lf_CommandMap = { '': [''], '': [''] }