Skip to content

Commit

Permalink
Fix select mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Robitaille committed Oct 30, 2024
1 parent 01995ad commit 5adfe3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/dressing/input.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ local function set_mode(mode)
elseif mode == "visual" then
vim.api.nvim_command("normal! vg_")
elseif mode == "select" then
-- TODO
set_mode("visual")
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<C-g>", true, false, true), "n", true)
end
end

Expand Down

0 comments on commit 5adfe3e

Please sign in to comment.