diff --git a/Todo.txt b/Todo.txt index 54080fe..a11e133 100644 --- a/Todo.txt +++ b/Todo.txt @@ -1,12 +1,12 @@ -(A) 2011-05-30 Sort lines per priority @ftplugin (A) 2011-06-03 Accept variable space length between fields @syntax (B) 2011-05-31 Start documentation @doc (C) 2011-05-30 Create README.markdown to be published in github @doc (C) 2011-06-01 Improve syntax file @syntax -2011-05-30 Map commands to add, rm, ls, pri, depri etc @ftplugin 2011-05-30 Contact main project for reference -X 2011-05-31 Stop breaking lines automatically @ftplugin -X 2011-05-30 Implement filetype detection @ftdetect +2011-05-30 Map commands to add, rm, ls, pri, depri etc @ftplugin X 2011-05-30 Implement colorized priorities @syntax +X 2011-05-30 Implement filetype detection @ftdetect +X 2011-05-30 Sort lines per priority @ftplugin X 2011-05-31 Highlight date, project and context of tasks with no priority @syntax X 2011-05-31 Stop breaking lines automatically @ftplugin +X 2011-05-31 Stop breaking lines automatically @ftplugin diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index d384c56..c1a6724 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -5,11 +5,10 @@ " Website: http://github.com/freitass/todo.txt.vim " Version: 0.2 -" TODO uncomment -"if exists("g:loaded_todo") -" finish -"endif -"let g:loaded_todo = 1 +if exists("g:loaded_todo") + finish +endif +let g:loaded_todo = 1 let s:save_cpo = &cpo set cpo&vim @@ -17,66 +16,4 @@ set cpo&vim setlocal textwidth=0 setlocal wrapmargin=0 -if !hasmapto('TodoSortlines') - map s TodoSortlines -endif - -"TODO replace -"noremap