From f062f6f908ba190a347567ad7794865cb0c2ef85 Mon Sep 17 00:00:00 2001 From: Olivia Date: Sat, 16 Nov 2024 16:31:18 +0100 Subject: [PATCH] Turns out vim-autopairs links to my version now. Pretty neat --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 12b3150..f2805a6 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ Nvim is no longer a drop-in replacement for Vim, and hasn't been for quite some ## Installation +### Using a Vim package manager + **NOTE:** Auto-pairs currently requires at least vim 8.1 with patch 1114. See [#37](https://github.com/LunarWatcher/auto-pairs/discussions/37) There's several installation methods, and you're free to use whatever you want, but I personally cannot recommend [vim-plug](https://github.com/junegunn/vim-plug) enough, in part because of the previous line of text. Installation, if you expect a more or less working variant, should be done with: @@ -44,6 +46,14 @@ Plug 'LunarWatcher/auto-pairs', {'branch': 'develop'} **Note:** As of 4.0.0, `let g:AutoPairsCompatibleMaps = 0` is the default. Set the variable to 1 to use jiangmiao-compatible keybinds. +### Using distro package managers + +Note that using Vim package managers is the recommended option, as this allows for easier updates (in my biased opinion). If you still prefer, some Linux distros have packages for the plugin: + +* Ubuntu, Debian, and derivatives: `vim-autopairs` (Package sources: [Ubuntu](https://launchpad.net/ubuntu/+source/vim-autopairs), [Debian](https://packages.debian.org/search?searchon=names&keywords=vim-autopairs)) + +**Note:** I do not maintain these packages. + ### Note to migrating users If you're migrating from jiangmiao's version, it's highly recommended that you read `:h autopairs-migrating` after installing. There have been a number of breaking changes made in this fork, as well as changes to default behavior. See the migration guide for important differences that are may affect your workflow.