From: Mike D. Lowis Date: Thu, 24 Jan 2013 19:12:57 +0000 (-0500) Subject: Added Todo command and fixed comment for ToFn command X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=bd6d7705615f8b038e50c64ae8334120702cdfa8;p=archive%2Fvim_config.git Added Todo command and fixed comment for ToFn command --- diff --git a/vimrc b/vimrc index 0f062ae..986cc40 100644 --- a/vimrc +++ b/vimrc @@ -72,9 +72,12 @@ set statusline+=%<%=[%l][%c][%P][%L]%< " Function and Command Definitions "============================================================================== -" ToFn - Converts a group of C function prototypes to definitions ---- +" ToFn - Converts a group of C function prototypes to definitions command! -range=% -nargs=0 ToFn execute ",s/;/\r{\r\r}\r/" +" Todo - Opens ~/.todo.md for editing +command! Todo edit ~/.todo.md + " LoadProject - Searches for and loads project specific settings function! LoadProject() let proj = findfile("project.vim", ".;")