Skip to content

Commit

Permalink
Turns out vim-autopairs links to my version now. Pretty neat
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Nov 16, 2024
1 parent 4ee4028 commit f062f6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit f062f6f

Please sign in to comment.