Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-easy-align]

vim-easy-align is a plugin to align text

-1
votes
1answer
19 views

EasyAlign: Why first line is not aligned?

I have below shortcut and function to align code. map <leader>vga :call Vhdl_GA_All()<CR> " Alignment function! Vhdl_GA_All() exe ":'<,'> EasyAlign *<space>" exe ":'<...
4
votes
1answer
233 views

vim-easy-align: How to align multiple characters with single command?

I've created several keys and each key is working fine. Want to find a way to do multiple alignments with single command. Like to create a key mapping, when it's running it can align the specific ...
3
votes
1answer
80 views

How to align first column with vim-easy-align?

Not sure how to align the first column with EasyAlign. Visual select below two lines and ga*space wr_strobe <= abc dc asdf rd_strobe <= asd sdfk asdfasd Only first ...
1
vote
3answers
543 views

Vim-easy-align: how to align delimeter on right

Fo example, this piece of code in rails: t.string :receipt_number t.timestamp :transaction_timestamp t.string :transaction_type t.decimal :cash_amount t.decimal :card_amount Now, I want ...
2
votes
1answer
761 views

Why does nmap work but nnoremap not work to set up vim-easy-align shortcut?

The vim-easy-align plugin says to assign the following keymaps: xmap ga <Plug>(EasyAlign) nmap ga <Plug>(EasyAlign) I thought these would work equally well with: xnoremap ga <Plug>...
2
votes
1answer
309 views

easy-align spaces around delimiters

I'm using vim-easy-align plugin and when in bash scripts I try to align $ at the beginning of variable names, the aligning adds spaces around the delimiter, i.e. <space>$<space> which of ...