воскресенье, 3 января 2016 г.

Vim search for a pattern and if occurs delete to end of line

:%s/{pattern}.*//

Комментариев нет: