This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
draw_table [2013/10/18 05:32] kyxap |
draw_table [2013/10/18 05:40] kyxap |
||
---|---|---|---|
Line 7: | Line 7: | ||
1,my table,another field | 1,my table,another field | ||
2,my table,yet another field</code> | 2,my table,yet another field</code> | ||
- | - Выделяем блок данных в VISUAL MODE и выполняем: <code> | + | - Выделяем блок данных в VISUAL MODE и выполняем: |
- | '<,'>!tab</code> | + | * для создания таблицы<code> |
+ | :'<,'>!tab</code> | ||
+ | * для удаления таблицы<code> | ||
+ | :'<,'>!untab</code> | ||
- Получаем <code> | - Получаем <code> | ||
------------------------------------ | ------------------------------------ | ||
Line 20: | Line 23: | ||
Лучи добра засылать [[http://stackoverflow.com/questions/10402680/create-table-around-text|сюда]]. | Лучи добра засылать [[http://stackoverflow.com/questions/10402680/create-table-around-text|сюда]]. | ||
- | <code=perl> | + | <file perl tab> |
#!/usr/bin/env perl | #!/usr/bin/env perl | ||
#=============================================================================== | #=============================================================================== | ||
Line 485: | Line 488: | ||
} | } | ||
- | </code> | + | </file> |