File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,19 +173,19 @@ function OrgMappings:toggle_checkbox()
173
173
end
174
174
175
175
function OrgMappings :timestamp_up_day ()
176
- return self :_adjust_date (vim .v .count1 , ' d' , config .mappings .org .org_timestamp_up_day )
176
+ return self :_adjust_date (vim .v .count1 , ' d' , vim . v . count1 .. config .mappings .org .org_timestamp_up_day )
177
177
end
178
178
179
179
function OrgMappings :timestamp_down_day ()
180
- return self :_adjust_date (- vim .v .count1 , ' d' , config .mappings .org .org_timestamp_down_day )
180
+ return self :_adjust_date (- vim .v .count1 , ' d' , vim . v . count1 .. config .mappings .org .org_timestamp_down_day )
181
181
end
182
182
183
183
function OrgMappings :timestamp_up ()
184
- return self :_adjust_date_part (' +' , vim .v .count1 , config .mappings .org .org_timestamp_up )
184
+ return self :_adjust_date_part (' +' , vim .v .count1 , vim . v . count1 .. config .mappings .org .org_timestamp_up )
185
185
end
186
186
187
187
function OrgMappings :timestamp_down ()
188
- return self :_adjust_date_part (' -' , vim .v .count1 , config .mappings .org .org_timestamp_down )
188
+ return self :_adjust_date_part (' -' , vim .v .count1 , vim . v . count1 .. config .mappings .org .org_timestamp_down )
189
189
end
190
190
191
191
function OrgMappings :_adjust_date_part (direction , amount , fallback )
You can’t perform that action at this time.
0 commit comments