1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-12-29 22:31:20 +00:00

Add firstspace Tabularize pattern

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-05-22 22:16:15 +02:00
parent 4617d6bd44
commit 0623f11094
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -12,6 +12,7 @@ set cpo&vim
" Use on ~/.ssh/config: %Tabularize ssh_config " Use on ~/.ssh/config: %Tabularize ssh_config
AddTabularPattern! ssh_config /^[ ]*[^ ]*\zs /l2l0 AddTabularPattern! ssh_config /^[ ]*[^ ]*\zs /l2l0
AddTabularPattern! crontab /\t/r1l0r1l0r1l0r1l0r1l0l0 AddTabularPattern! crontab /\t/r1l0r1l0r1l0r1l0r1l0l0
AddTabularPattern! firstspace /^ *[^ ]*\zs /l0c0l0
" Restore the saved value of 'cpo' " Restore the saved value of 'cpo'
let &cpo = s:save_cpo let &cpo = s:save_cpo