Questions tagged [alignment]

Alignment is the organization of content elements by tokens/symbols and/or by column or line locations.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
134 views

How to align a Latex table that uses \multicolumn?

I want to align a Latex table the way it appears in the final document. There are various Vim plugins for aligning tables (2, 3, 4), but none of them handle the spanning cell correctly. The code ...
1
vote
0answers
16 views

How to align only visually without changing the underlying code?

How can I set vim to only visually align assignments without actually changing the underlying code? Or is there a plugin which can do so? Input: int c = 8; int result = 123; Visualization: int c ...
0
votes
0answers
16 views

How do I align text to itself?

If I have the text: The quick brown fox jumped over the lazy dog How do I align it "to itself": The quick brown fox jumped over the lazy dog Basically, I want the smallest amount of dashes ...
0
votes
0answers
21 views

Improve a repetitive copy-paste like pattern

To create new classes and data-related objects I find myself often doing the following pattern -- where I copy paste a 'base line' and then I need to update one or two values, for example: Here is a ...
0
votes
0answers
23 views

How to prevent Smart-Tabs plugin from overriding youcompleteme tab completion

I've been looking for a solution to "tabs for indentation, spaces for alignment" and found that the Smart-tabs plugin does exactly what I want. However, when this plugin is active, it breaks the tab ...
-1
votes
1answer
25 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 ":'<...