Skip to content

How can I remap ACE editor shortcuts? #1400

Answered by nemya9066
mskar asked this question in Q&A
Discussion options

You must be logged in to vote

I used this mapping to delete to start of the line:
aceVimMap('<C-u>', '<Esc>d0xi', 'insert');
You can use this to delete a character to the right but it won't work with <C-d> which is what you want to use
aceVimMap('<C-s>', '<Esc>lcl', 'insert')
Apparently Ctrl keys that are already mapped can't be remapped If there is a function to unmap a key in Ace maybe it will solve the problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mskar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants