Functions to remove all todo items that are done (#906)
Add function VimwikiRemoveDone that will delete lines with todo list items marked as done. Works on ranges as well as without range on the current list. Co-authored-by: Tinmarino <tinmarino@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							61093f4f2a
						
					
				
				
					commit
					a9f21c6d4a
				
			@@ -297,6 +297,7 @@ command! -buffer VimwikiRemoveCBInList call vimwiki#lst#remove_cb_in_list()
 | 
			
		||||
command! -buffer VimwikiRenumberList call vimwiki#lst#adjust_numbered_list()
 | 
			
		||||
command! -buffer VimwikiRenumberAllLists call vimwiki#lst#adjust_whole_buffer()
 | 
			
		||||
command! -buffer VimwikiListToggle call vimwiki#lst#toggle_list_item()
 | 
			
		||||
command! -buffer -range VimwikiRemoveDone call vimwiki#lst#remove_done(1, "<range>", <line1>, <line2>)
 | 
			
		||||
 | 
			
		||||
" table commands
 | 
			
		||||
command! -buffer -nargs=* VimwikiTable call vimwiki#tbl#create(<f-args>)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user