# More couples for the matching\_pairs option

**URL:** <https://discuss.kakoune.com/t/more-couples-for-the-matching-pairs-option/56>\
**Category:** Recipes & Guides\
**Created:** [September 19, 2018, 8:09pm UTC](https://discuss.kakoune.com/t/more-couples-for-the-matching-pairs-option/56 "2018-09-19T20:09:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delapouite](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/delapouite/32/10_2.png) [@Delapouite](https://discuss.kakoune.com/u/Delapouite)\
**Post date:** [September 19, 2018, 8:09pm UTC](https://discuss.kakoune.com/t/more-couples-for-the-matching-pairs-option/56/1 "2018-09-19T20:09:45Z")

</div>

Last year, this [commit](https://github.com/mawww/kakoune/commit/7f51e51fcbfc1b3070711d2421dd248cdb1b8b22) introduced the `matching_pairs` option to be used with the `m` key.

By default, it offers the 4 following couples that are suitable for programming: `( ) { } [] < >`

While editing prose document, I believe that other common typographic pairs can be useful to append:

```auto
set -add global matching_pairs « » “ ” ‘ ’

```

Note that in some countries, as described here [https://en.wikipedia.org/wiki/Quotation\_mark#Summary\_table](https://en.wikipedia.org/wiki/Quotation_mark#Summary_table)  
some variations may occurs like `„ “` in central Europe.

---

<div class="post-metadata">

**Author:** ![Delapouite](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/delapouite/32/10_2.png) [@Delapouite](https://discuss.kakoune.com/u/Delapouite)\
**Post date:** [October 3, 2018, 5:49pm UTC](https://discuss.kakoune.com/t/more-couples-for-the-matching-pairs-option/56/2 "2018-10-03T17:49:46Z")

</div>

And now, thanks to laelath, the `show_matching` highlighter honors the couples in the `matching_pairs` option. Great!

> <https://github.com/mawww/kakoune/commit/f3f52fc8189750fa8e8876003b73409941353fc2>
