93

GitHub - mutewinter/dot_vim: ? The Vim Configuration of Champions. Uses Vundle t...

 6 years ago
source link: https://github.com/mutewinter/dot_vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

My 10 Year-Old (Neo)Vim Configuration

About

I've been iterating on this configuration for more than 10 years and 1,000 commits. It's very unlikely you'd want to use it directly. Instead, feel free to learn and take snippets from it.

Jump to Plugin List

Screenshot

Plugins and Configuration in their Own File

This is one of the things I'm most proud of, definitely steal it.

Each plugin is included and managed in its own file.

Installation

Be sure you read the About section above.

  1. git clone [email protected]:mutewinter/dot_vim.git ~/.config/nvim.
  2. cd ~/.config/nvim.

Now you have a choice. The automated script or the manual process.

  1. Run scripts/setup.

or

  1. rake vim:link to make the .vimrc and .nvimrc symbolic links.
  2. vim +PlugInstall +qall

Vim Requirements

Mappings

  • Pressing enter in normal mode saves the current buffer, if needed.

And many more. See mappings.vim and plug_plugins for more.

Installing Custom Plugins

Create a new .vim file with the same name as the plugin you'd like to install in plug_plugins/custom. Then add the installation block. For example:

plug_plugins/custom/vim-move.vim

if exists('g:plug_installing_plugins')
  Plug 'matze/vim-move.vim'
  finish
endif

let g:move_key_modifier = 'C'

This example installs vim-move.

Plugin List

Stars          Plugin Description
coc.nvim Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-fugitive fugitive.vim: A Git wrapper so awesome, it should be illegal
vim-surround surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
vim-startify link The fancy start screen for Vim.
telescope.nvim Find, Filter, Preview, Pick. All lua, all the time.
editorconfig-vim EditorConfig plugin for Vim
nvim-treesitter Nvim Treesitter configurations and abstraction layer
vim-dadbod dadbod.vim: Modern database interface for Vim
vim-abolish abolish.vim: easily search for, substitute, and abbreviate multiple variants of a word
targets.vim Vim plugin that provides additional text objects
vim-repeat repeat.vim: enable repeating supported plugin maps with "."
undotree The undo history visualizer for VIM
copilot.vim Neovim plugin for GitHub Copilot
splitjoin.vim Switch between single-line and multiline forms of code
vim-eunuch eunuch.vim: Helpers for UNIX
nvim-tree.lua A file explorer tree for neovim written in lua
ctrlsf.vim A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
vim-textobj-user Vim plugin: Create your own text objects
neoformat sparkles A (Neo)vim plugin for formatting code.
vim-peekaboo eyes " / @ / CTRL-R
nvim-colorizer.lua The fastest Neovim colorizer.
vim-session Extended session management for Vim (:mksession on steroids)
lualine.nvim A blazing fast and easy to configure neovim statusline plugin written in pure lua.
gitsigns.nvim Git integration for buffers
vim-node Tools and environment to make Vim superb for developing with Node.js. Like Rails.vim for Node.
vim-jsx-pretty flashlight [Vim script] JSX and TSX syntax pretty highlighting for vim.
vim-jsbeautify vim plugin which formated javascript files by js-beautify
vim-hardtime Plugin to help you stop repeating the basic movement keys
vim-rhubarb rhubarb.vim: GitHub extension for fugitive.vim
lush.nvim Define Neovim themes as a DSL in lua, with real-time feedback.
lightspeed.nvim milky_way Next-generation motion plugin with incremental input processing, allowing for unparalleled speed with near-zero cognitive effort
switch.vim A simple Vim plugin to switch segments of text with predefined replacements
plenary.nvim plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
tmux-complete.vim Vim plugin for insert mode completion of words in adjacent tmux panes
vim-dadbod-ui Simple UI for https://github.com/tpope/vim-dadbod
open-browser.vim Open URI with your favorite browser from your most favorite editor
vim-graphql A Vim plugin that provides GraphQL file detection, syntax highlighting, and indentation.
nvim-ts-rainbow rainbow Rainbow parentheses for neovim using tree-sitter rainbow
vim-misc Miscellaneous auto-load Vim scripts
vim-ragtag ragtag.vim: ghetto HTML/XML mappings (formerly allml.vim)
nvim-web-devicons lua fork of vim-web-devicons for neovim
Comment.nvim brainmuscle // Smart and powerful comment plugin for neovim. Supports commentstring, dot repeat, left-right/up-down motions, hooks, and more
nvim-ts-context-commentstring Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
vim-tmux vim plugin for tmux.conf
neoscroll.nvim Smooth scrolling neovim plugin written in lua
vim-asterisk snowflake *-Improved
playground Treesitter playground integrated into Neovim
nvim-ts-autotag Use treesitter to auto close and auto rename html tag
pgsql.vim The best PostgreSQL plugin for Vim!
vim-swap Reorder delimited items.
vim-sort-motion Vim mapping for sorting a range of text
nvim-scrollview round_pushpin A Neovim plugin that displays interactive vertical scrollbars.
vim-textobj-indent Vim plugin: Text objects for indented blocks of lines
QFEnter Open a Quickfix item in a window you choose. (Vim plugin)
indent-guides.nvim
ListToggle A vim plugin for toggling the display of the quickfix list and the location-list.
vim-togglecursor Toggle the cursor shape in the terminal for Vim.
coc-tailwind-intellisense Coc.nvim extension for Tailwind CSS IntelliSense
vim-handlebars [deprecated] Vim plugin for Handlebars
Join a better (hopefully) :Join command in vim
telescope-coc.nvim coc.nvim integration for telescope.nvim
jellybeans-nvim A port of jellybeans colorscheme for neovim
scratch.vim Plugin to create and use a scratch Vim buffer
vim-reveal-in-finder Reveal the current file in the OS X Finder.
vim-voogle google for the word under the cursor to a browser because 2013
HelpClose Close all help windows
vim-autoreadwatch A forked script for vim auto reloading of buffers when changed on disk.

That's 71 plugins, holy crap.

Generated by rake update_readme on 2021/11/07.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK