From ab21564dab84e4efcc856722bc137ec72ee92a9f Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Tue, 2 Feb 2021 15:10:28 +0100 Subject: [PATCH] Wrote plugins README --- LICENSE | 2 +- init/plugins/README.md | 47 +++++++++++++++++++++++++++++++++++++++- init/plugins/plugins.vim | 18 +++++---------- 3 files changed, 52 insertions(+), 15 deletions(-) diff --git a/LICENSE b/LICENSE index 472ac23..75bebc6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ MIT License -Copyright (c) +Copyright (c) 2021 Jef Roosens Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/init/plugins/README.md b/init/plugins/README.md index ee76a3d..81d7cd2 100644 --- a/init/plugins/README.md +++ b/init/plugins/README.md @@ -1 +1,46 @@ -# Plugins Used +# Plugins +I use quite a lot of plugins, as they greatly improve my workflow or just add +features that you most definitely need if you want to use Vim as your main +editor. + +## List of plugins + +* [CoC](https://github.com/neoclide/coc.nvim): my autocomplete plugin of + choice. It provide full LSP support, so many of its plugins use the exact + same setup as a VSCode plugin. +* [CtrlP](https://github.com/ctrlpvim/ctrlp.vim): a fuzzy search tool which I + use for most navigation. +* [vim-fugitive](https://github.com/tpope/vim-fugitive): an amazing Git client + for Vim. It has support for all the usual stuff (commits, adding/removing + files etc.), as well as a merge conflict resolver using Vim's built-in diff + view. +* [vim-surround](https://github.com/tpope/vim-surround): adds mappings to + change/remove surrounding characters (e.g. (), "", '' etc.). It integrates + really well with already existing bindings, making it feel like it's a + built-in feature. +* [vim-commentary](https://github.com/tpope/vim-commentary): adds mappings for + commenting/uncommenting lines easily. It has support for basically all + languages I ever use. +* [tagbar](https://github.com/preservim/tagbar): a sidebar chowing you the + layout of the current file. It helps me orient myself within the file/class + I'm currently working on, as well as easing the movement between + classes, functions etc... +* [vim-gitgutter](https://github.com/airblade/vim-gitgutter): shows Git + diff markers in the sidebar. +* [indentline](https://github.com/Yggdroot/indentLine): shows a visual line to + indicate which lines are on the same indentation level. +* vim-python-pep8-indent: makes Vim properly indent Python according to PEP8 +* [vim-indent-object](https://github.com/michaeljsmith/vim-indent-object): + allows you to select the current indentation block using the same bindings as + paragraphs, inner brackets, etc... +* NERDTree: file browser, useful for getting your bearings in a large project. +* [vim-toml](https://github.com/cespare/vim-toml): syntax highlighting for toml + files +* [auto-pairs](https://github.com/jiangmiao/auto-pairs): auto-insert matching + pairs +* [Tabular](https://github.com/godlygeek/tabular): useful plugin for aligning + text +* [haskell-vim](https://github.com/neovimhaskell/haskell-vim): indentation for + Haskell +* [ion-vim](https://github.com/vmchale/ion-vim): syntax highlighting for the + [ion shell](https://github.com/redox-os/ion) (my current shell). diff --git a/init/plugins/plugins.vim b/init/plugins/plugins.vim index a3fe4d1..1466078 100644 --- a/init/plugins/plugins.vim +++ b/init/plugins/plugins.vim @@ -1,19 +1,15 @@ -" =====PLUGINS===== +" See README.md for more information about the plugins +" " Load the plugins call plug#begin('~/.config/nvim/plugged') -" Gutentags creates a ctags file asynchronously. This allows me to jump to -" definitions easily. -" Plug 'ludovicchabant/vim-gutentags', { 'commit': '31c0ead' } +" Powerful auto-complete engine +Plug 'neoclide/coc.nvim', {'branch': 'release'} " Fast file navigation using fuzzy search -" -" https://github.com/ctrlpvim/ctrlp.vim Plug 'ctrlpvim/ctrlp.vim' " Git client within Vim -" -" https://github.com/tpope/vim-fugitive Plug 'tpope/vim-fugitive' " Change surrounding quotes, brackets... @@ -22,9 +18,6 @@ Plug 'tpope/vim-surround' " Comment out lines easily Plug 'tpope/vim-commentary' -" Powerful auto-complete engine -Plug 'neoclide/coc.nvim', {'branch': 'release'} - " Show ctags in sidebar, useful for navigation Plug 'majutsushi/tagbar' @@ -41,8 +34,7 @@ Plug 'hynek/vim-python-pep8-indent' Plug 'michaeljsmith/vim-indent-object' " Sidebar showing file structure -Plug 'scrooloose/nerdtree' | - \ Plug 'Xuyuanp/nerdtree-git-plugin' +Plug 'scrooloose/nerdtree' " Toml syntax highlighting Plug 'cespare/vim-toml'