junegunn / junegunn/vim-easy-align

Alignement fails when digraph character used as pattern

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
4.2k
Forks
122
PR merge metrics
No merged PRs in 30d

Description

Vim-align-easy and Vim digraphs (`he digraph`) apparently don't cohabitate well together. Any idea how to fix this?

Admit you want to align the following on the `→` character which is a digraph obtained in Vim by typing - BS \>.

```
https://github.com/jesseduffield/lazygit (Go) → build OK
https://github.com/tstack/lnav (C++) → build OK
```

You would normally type g a i p - BS \>. I presume that the backspace key gets intercepted too early and consequently an error is raised:

```
:EasyAlign (_) (Unknown delimiter key: >)
```

Happy to hear if I did something wrong or if there is a workaround :-)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.