Skip to content
Browse files

Updates some names and improves Makefile

  • Loading branch information...
1 parent 315cbce commit bee237bb77a16565c79cf8d77e1f7dc84e07625d David O'Callaghan committed Aug 23, 2010
Showing with 28 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +3 −2 Makefile
  3. +23 −0 README
  4. 0 doc/{todotxt-vim.txt → todotxt.txt}
  5. 0 {plugin → ftplugin}/TodoTxt.vim
View
2 .gitignore
@@ -0,0 +1,2 @@
+.*.swp
+*.tar.gz
View
5 Makefile
@@ -1,5 +1,6 @@
+DIRS=doc ftdetect ftplugin plugin syntax
todotxt.tar.gz:
- tar zcvf todotxt.tar.gz doc/ ftdetect/ syntax/
+ tar -zcvf todotxt.tar.gz --exclude '*.swp' $(DIRS)
deploy:
- rsync -av doc ftdetect syntax $(HOME)/.vim
+ rsync -av --exclude '*.swp' $(DIRS) $(HOME)/.vim
View
23 README
@@ -0,0 +1,23 @@
+Some files to make editing todo.txt files in vim more enjoyable.
+
+To use IndentSort.vim copy to your .vim/plugins directory.
+
+In vim use spaces to indent your child tasks. Then either highlight a range or
+use :%Indent.
+
+To use todo.vim copy the file to your .vim/syntax directory.
+
+Also copy filetype.vim to you .vim/ftdetect directory.
+
+You might also want to set the following in your .vimrc file:
+
+set shiftwidth=4
+set expandtab
+set foldlevel=0
+set foldminlines=3
+
+if has("autocmd")
+ filetype plugin on
+ autocmd FileType todo set syntax=todo foldmethod=indent
+endif
+
View
0 doc/todotxt-vim.txt → doc/todotxt.txt
File renamed without changes.
View
0 plugin/TodoTxt.vim → ftplugin/TodoTxt.vim
File renamed without changes.

0 comments on commit bee237b

Please sign in to comment.
Something went wrong with that request. Please try again.