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.

I know how to map single key strokes to vimium commands, but I would like to be able to have 'dd' for closing a tab instead of 'd'. It seams like this should be supported given that 'gg' is mapped to 'scrollToTop'.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I figured it out after reading the source. It wasn't working since the default for 'd' (scrollDown) was still there. The logic takes the first available match so even though 'dd' was in the mapping, it could never get there. The solution was to 'unmap d' before 'map dd removeTab'.

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.