Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support wide characters such as 『』 #361

Closed
KSR-Yasuda opened this issue Aug 15, 2022 · 2 comments
Closed

[Feature Request] Support wide characters such as 『』 #361

KSR-Yasuda opened this issue Aug 15, 2022 · 2 comments

Comments

@KSR-Yasuda
Copy link

Could you support wide characters such as 『』 (U+300E, U+300F)?

In Unicode, the categories below are paired:

@pilgrimlyieu
Copy link

pilgrimlyieu commented Aug 27, 2022

Firstly, use https://github.com/tomtomjhj/vim-surround which is equipped with #355 instead.

Then add the following code to your vimrc file.

let g:surround_{char2nr('q')} = "\r"

Finally you can use q as a stand for 『...』.

@tpope tpope closed this as completed Aug 27, 2022
@KSR-Yasuda
Copy link
Author

Okay, I'll try it. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants