File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ Changelog
124124
125125* Added items toggling in visual mode
126126* Improves work with indentations of list items
127+ * Fixed the error when trying to navigate the buffer that doesn't contain items
127128
128129Credits
129130-------
Original file line number Diff line number Diff line change 1- *vim-todo-lists.txt* Version 0.2 .0
1+ *vim-todo-lists.txt* Version 0.3 .0
22*vim-todo-lists*
33
44Plugin for TODO lists management.
@@ -156,6 +156,7 @@ SOFTWARE.
156156
157157* Added items toggling in visual mode
158158* Improves work with indentations of list items
159+ * Fixed the error when trying to navigate the buffer that doesn't contain items
159160
160161==============================================================================
1611628. Credits *VimTodoListsCredits*
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ endfunction
9393" Moves te cursor to the next item
9494function ! VimTodoListsGoToNextItem ()
9595 normal ! $
96- silent exec ' /^\s*\[.\]'
97- silent exec ' noh'
96+ silent ! exec ' /^\s*\[.\]'
97+ silent ! exec ' noh'
9898 normal ! f [
9999 normal ! l
100100endfunction
@@ -103,8 +103,8 @@ endfunction
103103" Moves te cursor to the previous item
104104function ! VimTodoListsGoToPreviousItem ()
105105 normal ! 0
106- silent exec ' ?^\s*\[.\]'
107- silent exec ' noh'
106+ silent ! exec ' ?^\s*\[.\]'
107+ silent ! exec ' noh'
108108 normal ! f [
109109 normal ! l
110110endfunction
You can’t perform that action at this time.
0 commit comments