From 912cb936dffeecb7d4402b42403ab6a45d890a52 Mon Sep 17 00:00:00 2001 From: Leandro Freitas Date: Thu, 2 Jun 2011 00:08:37 -0300 Subject: [PATCH] Added an example to be reference --- Todo.txt | 7 +++--- ftplugin/todo.vim | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 3 deletions(-) diff --git a/Todo.txt b/Todo.txt index d519038..4397054 100644 --- a/Todo.txt +++ b/Todo.txt @@ -1,9 +1,10 @@ -(A) 2011-05-31 Stop breaking lines automatically @ftplugin +(A) 2011-05-30 Sort lines per priority @ftplugin (B) 2011-05-31 Start documentation @doc -2011-05-30 Sort lines per priority @ftplugin +(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 Create README.markdown to be published in github 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 X 2011-05-30 Implement colorized priorities @syntax X 2011-05-31 Highlight date, project and context of tasks with no priority @syntax diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index 01e6268..c8c853b 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -1,3 +1,57 @@ +" Vim Todo.txt plugin +" Last Change: 2011 Jun 01 +" Maintainer: Leandro Freitas +" License: This file is placed in the public domain. + +if exists("g:loaded_todo") + finish +endif + " Stop breaking lines automatically set textwidth=0 set wrapmargin=0 + +"" Vim global plugin for correcting typing mistakes +"" Last Change: 2000 Oct 15 +"" Maintainer: Bram Moolenaar +"" License: This file is placed in the public domain. +" +"if exists("g:loaded_typecorr") +" finish +"endif +"let g:loaded_typecorr = 1 +" +"let s:save_cpo = &cpo +"set cpo&vim +" +"iabbrev teh the +"iabbrev otehr other +"iabbrev wnat want +"iabbrev synchronisation +" \ synchronization +"let s:count = 4 +" +"if !hasmapto('TypecorrAdd') +" map a TypecorrAdd +"endif +"noremap