Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
fix(visual_mode): jump to the start of selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
ofirgall committed Feb 19, 2023
1 parent af49476 commit af159da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/SelectEase/lib/select_mode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ end
-- other functions prefixed with eg. normal have to be in that mode, the
-- initial esc removes that need.
function M.any_select(b, e, opts)
local visual_mode = opts.visual_mode and "" or "o<C-G><C-r>_"
local visual_mode = opts.visual_mode and "o" or "o<C-G><C-r>_"

-- stylua: ignore
M.replace_feedkeys(
Expand Down

0 comments on commit af159da

Please sign in to comment.