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

Multi-character mappings no longer work #30

Open
mon10a opened this issue Apr 20, 2015 · 5 comments
Open

Multi-character mappings no longer work #30

mon10a opened this issue Apr 20, 2015 · 5 comments

Comments

@mon10a
Copy link

mon10a commented Apr 20, 2015

It no longer works to map 2 characters to a command or function. For example:

imap jj <esc> no longer works to map "jj" to the <escape> key. 

Similarly, mapleader no longer works. For example:

let mapleader = "," does not work to allow "," to trigger another defined command or function.

Both of these worked fine a while ago and I can't remember if they broke in the last update of Vim for iPad or if it was after an iOS update.

Would it be possible to fix these?

@nicolasbraun
Copy link

related to #10 ?

@mon10a
Copy link
Author

mon10a commented Aug 24, 2017

Thanks for looking at this.

My issue may be related to #10, but I have not tested map or nnoremap (both mentioned in #10).

My narrower issue was that imap no longer works. This means that you can't substitute 'jj' or 'jk' or one of the other common alternatives for the escape character.

@mon10a mon10a closed this as completed Aug 24, 2017
@mon10a mon10a reopened this Aug 24, 2017
@mon10a
Copy link
Author

mon10a commented Aug 24, 2017

Sorry, did not mean to close the issue.

@nicolasbraun
Copy link

Yeah I saw, you cannot validate (enter does nothing) the imap command, do you experience the same behavior?

@nicolasbraun
Copy link

@laviallb notice that after setting this imap command taping the letter j lags a bit and the cursor takes time before moving to the end of line.

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

2 participants