I want to align C variables declariations with the Align plugin using \adec as parameter, the problem is that it doesn't do anything.

struct mutex {
    pthread_mutex_t listmsg;
    pthread_rwlock_t entity_rw;

I select the two lines in the struc in visual mode and then enter :Align \ adec but nothing happens.

1 Answer 1


\adec is not a parameter to :Align, it is a key mapping.

Don't type :Align \adec

Just hit the keys \adec

  • okay ! and \ is the leader key. Thanks I'm happy now with that plugin in my toolbox :) Apr 16, 2016 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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