junegunn/vim-easy-align

how to globally disable left and right margins?

tkossak opened this issue · 2 comments

When I align by some phrase (ga CTRL+X <PHRASE>), spaces are automatically inserted around the phrase. I disable this feature in interactive mode by pressing CTRL+L and CTRL+R and setting this values to 0, but how to set this behaviour as default? I tried:

let g:easy_align_left_margin=0
let g:easy_align_right_margin=0

But it doesn't work (spaces are still inserted by default).
Thank you in advance for help.

I am curious if you found a solution to disable margins by default?

It was so long time ago that I don't remember anything about this plugin :). I actually don't use it at all anymore, because I moved to Spacemacs - it's vim editing style inside emacs and has everything I need.