Added an example to be reference

This commit is contained in:
Leandro Freitas
2011-06-02 00:08:37 -03:00
parent 6b467019c8
commit 912cb936df
2 changed files with 58 additions and 3 deletions

View File

@@ -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

View File

@@ -1,3 +1,57 @@
" Vim Todo.txt plugin
" Last Change: 2011 Jun 01
" Maintainer: Leandro Freitas <freitass@gmail.com>
" 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 <Bram@vim.org>
"" 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('<Plug>TypecorrAdd')
" map <unique> <Leader>a <Plug>TypecorrAdd
"endif
"noremap <unique> <script> <Plug>TypecorrAdd <SID>Add
"
"noremenu <script> Plugin.Add\ Correction <SID>Add
"
"noremap <SID>Add :call <SID>Add(expand("<cword>"), 1)<CR>
"
"function s:Add(from, correct)
" let to = input("type the correction for " . a:from . ": ")
" exe ":iabbrev " . a:from . " " . to
" if a:correct | exe "normal viws\<C-R>\" \b\e" | endif
" let s:count = s:count + 1
" echo s:count . " corrections now"
"endfunction
"
"if !exists(":Correct")
" command -nargs=1 Correct :call s:Add(<q-args>, 0)
"endif
"
"let &cpo = s:save_cpo
let g:loaded_todo = 1