Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .