0

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.

3

\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 :) – Nicolas Scotto Di Perto Apr 16 '16 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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