Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(Visual-Block): Introduce Visual-Block support with minor changes #6

Merged
merged 3 commits into from
Jan 1, 2025

Conversation

JayLCypher
Copy link
Contributor

Improvement: Move _get_opening_char and _get_closing_char to _get_char function, returning both opening and closing char.

Feat: Introduce Visual-Block mode support. Visual and Visual-Line modes work as previous. Visual-Block mode will inject opening and closing char for the entirety of the visual block per line. This is essentially an automatic version of doing visual-block in front of a section and after a section to inject opening and closing char as a macro.

Future implementation can merge both approaches probably, but right now this is working.

Note: I added ignoring empty lines on Visual Block mode, which is different behavior to Visual and Visual Line modes.

JayLCypher and others added 3 commits September 20, 2024 21:28
Improvement: Move _get_opening_char and _get_closing_char to _get_char
function, returning both opening and closing char.
Feat: Introduce Visual-Block mode support. Visual and Visual-Line modes
work as previous. Visual-Block mode will inject opening and closing char
for the entirety of the visual block per line. This is essentially a
    automatic version of doing visual-block in front of a section and
    after a section to inject opening and closing char as a macro.
Should not be there lol.
@NStefan002 NStefan002 merged commit 4e4a0a9 into NStefan002:main Jan 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants