Questions tagged [plugin-easy-align]

vim-easy-align is a plugin to align text

Filter by
Sorted by
Tagged with
0 votes
2 answers
230 views

using EasyAlign in a function

I frequently use EasyAlign in my tex files to align tables around the $ delimiter such that this header1 & header2 & header3 \\ data1 & data2 & data3 \\ becomes this header1 & ...
joharr's user avatar
  • 103
-1 votes
1 answer
36 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 ":'<...
Fisher's user avatar
  • 1,086
4 votes
1 answer
724 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 ...
Fisher's user avatar
  • 1,086
2 votes
1 answer
230 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 ...
Fisher's user avatar
  • 1,086
2 votes
3 answers
2k 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 ...
hqt's user avatar
  • 193
3 votes
1 answer
3k 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>...
ana's user avatar
  • 31
3 votes
1 answer
633 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 ...
Cometsong's user avatar
  • 581