vim-auto-tabstop

A Vim plugin for automatically setting tabstop size
git clone https://git.ce9e.org/vim-auto-tabstop.git

commit
a0701d2d7fd7b18a05a7b03d04ab9cb972c975c7
parent
1648ec962e39a1226da045c29094d95f9903a9ca
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-10-06 07:54
Fix markdown indentation

Diffstat

M README.md 24 ++++++++++++------------

1 files changed, 12 insertions, 12 deletions


diff --git a/README.md b/README.md

@@ -2,22 +2,22 @@ A Vim plugin for automatically setting tabstop size
    2     2 
    3     3 This is mostly useful to align tsv files like this:
    4     4 
    5    -1   James\tSmith\t38,313
    6    -1   Michael\tSmith\t34,810
    7    -1   Robert\tSmith\t34,269
    8    -1   Maria\tGarcia\t32,092
   -1     5     James\tSmith\t38,313
   -1     6     Michael\tSmith\t34,810
   -1     7     Robert\tSmith\t34,269
   -1     8     Maria\tGarcia\t32,092
    9     9 
   10    10 With a tabstop of 2 this will look like this:
   11    11 
   12    -1   James Smith 38,313
   13    -1   Michael Smith 34,810
   14    -1   Robert  Smith 34,269
   15    -1   Maria Garcia  32,092
   -1    12     James Smith 38,313
   -1    13     Michael Smith 34,810
   -1    14     Robert  Smith 34,269
   -1    15     Maria Garcia  32,092
   16    16 
   17    17 Pressing <c-t> will automatically set the tabstop to the value required to get
   18    18 proper alignment (in this case 8):
   19    19 
   20    -1   James   Smith   38,313
   21    -1   Michael Smith   34,810
   22    -1   Robert  Smith   34,269
   23    -1   Maria   Garcia  32,092
   -1    20     James   Smith   38,313
   -1    21     Michael Smith   34,810
   -1    22     Robert  Smith   34,269
   -1    23     Maria   Garcia  32,092