From 3a87fd222e7635b4e5fa767915c60e1c37844756 Mon Sep 17 00:00:00 2001 From: Hans Anderson Date: Fri, 31 Oct 2014 18:23:27 -0500 Subject: [PATCH 1/3] Easy to add a priority to the current line - several new leader keys to add priority to the current line - updated README --- README.markdown | 14 ++++++++++ ftplugin/todo.vim | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/README.markdown b/README.markdown index f330803..9335148 100644 --- a/README.markdown +++ b/README.markdown @@ -10,6 +10,20 @@ mappings, to help with edition of these files: `-s` : Sort the file +`-s+` : Sort the file on +Projects + +`-s@` : Sort the file on @Contexts + +`-j` : Lower the priority of the current line + +`-k` : Increase the priority of the current line + +`-a` : Add the priority (A) to the current line + +`-c` : Add the priority (B) to the current line + +`-b` : Add the priority (C) to the current line + `-d` : Insert the current date `date` : (Insert mode) Insert the current date diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index e892288..7dd9f39 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -45,6 +45,74 @@ if !hasmapto("s",'n') nnoremap