Problem Solving with Vim - 6 (Regular expression, scriptin arg)
Автор: denvaar
Загружено: 2023-03-18
Просмотров: 5393
A programming challenge/puzzle in which we use various vim motions and commands to find the first position where there are four consecutive, distinct characters within a sequence.
Problem Source: https://adventofcode.com/2022/day/6
My Solution Explanation: https://github.com/denvaar/advent_of_...
Sorry about the sub-par audio, someday I will get a mic.
00:00 Problem Explanation
01:20 Solution Overview
02:36 Simplify Problem
04:12 Record a macro
04:40 Use execute command to help replay macro
06:16 Chop off unwanted characters via normal command
06:48 Regex explanation
09:23 Jump to point in buffer with search command
10:01 Utilize expression register
11:42 Use Vim's scriptin arg
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: