We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b25ebf4 commit 6eee479Copy full SHA for 6eee479
lua/orgmode/capture/templates.lua
@@ -70,7 +70,7 @@ function Templates:setup()
70
local initial_position = vim.fn.search('%?')
71
local is_at_end_of_line = vim.fn.search('%?$') > 0
72
if initial_position > 0 then
73
- vim.cmd([[norm!c2l]])
+ vim.cmd([[norm!"_c2l]])
74
if is_at_end_of_line then
75
vim.cmd([[startinsert!]])
76
else
0 commit comments