Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there anyway that we do this mapping in pentadactyl :

map <Leader><Esc> :<C-z><Esc><cr>

I've tried but it doesn't work. Thanks :)

P/S: I knnow that it's not possible to send the <Esc> to browser but I don't know if we can send a combination of it.

share|improve this question
    
please avoid these kind of questions . They dont provide positive discussion. –  adithya Aug 13 '13 at 19:32

2 Answers 2

That must be possible, as some users configuration shows:

You can inspire you from their configurations.

The problem in your case is that you must use map, nmap, cmap and so one (regarding what mode you want to edit) to map keys. set is to define values, options. Not keys.

share|improve this answer
    
sorry, I typed it wrong. In those configuration, they only map from other keys which don't combine with <Esc> to <Esc> –  nXqd May 3 '13 at 11:18
up vote 0 down vote accepted

I was my typo problem

Wrong:

map <Leader><Esc> :<C-z><Esc><cr>

Right:

map <Leader><Esc> <C-z><Esc><cr>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.