Skip to content

Commit 6eee479

Browse files
authored
fix(capture): Do not yank cursor placeholder (#404)
1 parent b25ebf4 commit 6eee479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/capture/templates.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function Templates:setup()
7070
local initial_position = vim.fn.search('%?')
7171
local is_at_end_of_line = vim.fn.search('%?$') > 0
7272
if initial_position > 0 then
73-
vim.cmd([[norm!c2l]])
73+
vim.cmd([[norm!"_c2l]])
7474
if is_at_end_of_line then
7575
vim.cmd([[startinsert!]])
7676
else

0 commit comments

Comments
 (0)