Skip to content

Comments

fix: delete_line mapping should use delete_line_file_current#277

Open
aplus01 wants to merge 1 commit intonvim-pack:masterfrom
aplus01:fix/delete-line-current
Open

fix: delete_line mapping should use delete_line_file_current#277
aplus01 wants to merge 1 commit intonvim-pack:masterfrom
aplus01:fix/delete-line-current

Conversation

@aplus01
Copy link

@aplus01 aplus01 commented Jan 28, 2026

The <leader>rd mapping calls run_delete_line() which defaults to all entries, deleting lines in all files instead of just the current one.

delete_line_file_current() already exists and does the right thing - it gets the current entry and passes it to run_delete_line().

The <leader>rd mapping was calling run_delete_line() which defaults to
deleting ALL entries when called without arguments. This caused the
mapping to delete lines in all files instead of just the current line.

Changed to use delete_line_file_current() which correctly gets the
current entry and passes it to run_delete_line().
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.

1 participant