File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,10 @@ Changelog
163163
164164* Added items highlighting
165165
166+ #### 0.5.1
167+
168+ * Fixed the annoying noise when navigating over items in default mode
169+
166170Credits
167171-------
168172
Original file line number Diff line number Diff line change @@ -196,6 +196,10 @@ SOFTWARE.
196196
197197* Added items highlighting
198198
199+ 0.5.1
200+
201+ * Fixed the annoying noise when navigating over items in default mode
202+
199203==============================================================================
2002048. Credits *VimTodoListsCredits*
201205
Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ function! VimTodoListsGoToNextItem()
236236 normal ! $
237237 silent ! exec ' /^\s*\[.\]'
238238 silent ! exec ' noh'
239- normal ! f [
240239 normal ! l
241240endfunction
242241
@@ -246,7 +245,6 @@ function! VimTodoListsGoToPreviousItem()
246245 normal ! 0
247246 silent ! exec ' ?^\s*\[.\]'
248247 silent ! exec ' noh'
249- normal ! f [
250248 normal ! l
251249endfunction
252250
@@ -261,6 +259,9 @@ function! VimTodoListsToggleItem()
261259 call VimTodoListsForEachChild (line (' .' ), ' VimTodoListsSetItemNotDone' )
262260 endif
263261
262+ " Restore the cursor position
263+ normal ! f [l
264+
264265 call VimTodoListsUpdateParent (line (' .' ))
265266endfunction
266267
You can’t perform that action at this time.
0 commit comments