Skip to content

Make delete shortcut can delete visual selection in ChatFinder #213

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
delete one debug line
  • Loading branch information
LLMChild committed Sep 23, 2024
commit eb9351d9508ea753b05f9d65e1984247b0b9494d
1 change: 0 additions & 1 deletion lua/gp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,6 @@ M.cmd.ChatFinder = function()
vim.cmd([[execute "normal! \<ESC>"]])
local line1 = vim.api.nvim_buf_get_mark(0, "<")[1]
local line2 = vim.api.nvim_buf_get_mark(0, ">")[1]
vim.g.lines = { line1, line2 }
if line1 == line2 then
M.helpers.delete_file(picker_files[line1])
return
Expand Down
Loading