Time, Attention, and Creative Work. After 4 years and a lot of productivity pr0n, we’re shifting gears. Re-learn how to use 43 Folders. Then back to work. [»]
”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.
gtd with vim like in emacsAs far as I know,...Submitted by mdl on March 26, 2007 - 12:58pm.
As far as I know, there's nothing quite like emacs org-mode for VI. But you might want to check out this bunch of scripts for plain text GTD from the command line: A great outlining tool is here: You could use Vim or Vim Outliner with GTD by adding context and/or project tags to each line/task. For example walk dog p:dogcare @home You could also add priority codes if desired. Then simply grep the file to pull up all the lines associated with a particular project and/or context. VimOutliner would work well for this because you could do hierarchical, check-box project planning in the outliner and then search (grep) it by context. »
I ended up doing this: i...Submitted by ezichko on March 27, 2007 - 12:38am.
I ended up doing this: to add a new task i added this to .bash_profile so i just type: then to see all my next actions by context i am using a perl script (the same one used in that org-mode page) you just do like this: the code is here:
1 use strict;
2 use warnings;
3
4 # Read an org file and create lists by context (tag)
5 # Written by Charles Cave charles.cave (at) gmail.com
6 # 28th June 2006
7
8 my $orgfile = shift;
9 defined($orgfile) or die "syntax is orghip.pl orgfilename\n";
10
11 open(my $org, "<", $orgfile) or die "Cannot open $orgfile\n";
12 my %lists = ();
13 my $now = localtime();
14
15 while (<$org>) {
16 my $line = $_;
17 chomp($line);
18 if ($line =~ /^\s*(.*?)@([A-Za-z]+)/) {
19 my $hdng = "$1";
20 my $tag = $2;
21 if ( defined($lists{$tag}) ) {
22 $lists{$tag} = $lists{$tag}."\n".$hdng;
23 } else {
24 $lists{$tag} = $hdng;
25 }
26 }
27 }
28
29 print "Date Printed: $now\n";
30 print "\n";
31 print "NEXT ACTIONS";
32 process_context("work");
33 process_context("home");
34 process_context("calls");
35 process_context("city");
36 # print any remaining contexts
37 foreach my $key (sort keys %lists) {
38 process_context($key);
39 }
40
41 sub process_context {
42 my $context = shift;
43 print "\n\n$context:\n";
44 foreach my $item( split(/\n/, $lists{$context}) ) {
45 print "[ ] $item\n";
46 }
47 delete $lists{$context};
48 }
this is modified from the original to read all lines that have a @context and group them. to edit it and Another thing I have is a simple shell script called pda.sh This sends my next actions to the pda and copies my recent notes on the pda to my home folder for processing. Then all this is rsynced to my server 2 times a day. Works quite nicely. If anyone needs help i could create a more detailed post. »
Have you looked at this? http://todotxt.com/ It's...Submitted by GOD on April 1, 2007 - 11:11am.
Have you looked at this? It's so amazing what you can do with plain text. It just warms my heart. Maybe that's why I love vim so much... »
yes but i didnt like...Submitted by ezichko on April 2, 2007 - 1:33am.
yes but i didnt like it so much. I prefer what I have for now. »
Perl error messagesSubmitted by hoby on April 12, 2007 - 6:40am.
I just started using org-mode for my GTD needs, and I love it! However, I tried to use the Perl script written by Charles Cave, and I have to admit to being completely over my head. I have my GTD file set up a little bit differently from his example file. First off, I have different contexts (tags), all of which have an @ symbol at the beginning. Secondly, I use TODOs as well to assign status to each of my actions. I tried changing all of the contexts after "process_context" in his Perl script to my contexts, adding in the extras I needed. That didn't work, and I got the following error for each of my contexts (@MAC context seen here): Global symbol "@MAC" requires explicit package name at ./orghip.pl line 31. Any ideas on how I can fix this? »
I tried changing all of...Submitted by jason.mcbrayer on April 12, 2007 - 6:57am.
hoby;8916 wrote:
It looks like a quoting problem. Either your context names are not in quotes, or you have not backslash-quoted your @ sign like this: '\@MAC'. The backslash is required because without it, Perl thinks you are trying to interpolate the value of a list named @MAC into your string. (I haven't used perl in years, so this is partly a guess). All that said, the emacs-orgmode mailing list is discussing exporting org agenda views, which has the promise of reducing the need for external scripts like orghip.pl. »
Thanks a lot, Jason. ...Submitted by hoby on April 12, 2007 - 7:07am.
Thanks a lot, Jason. I added in the forward slashes, and that took care of my first problem. But now I'm having a different problem. My new output produces the following for each context: Use of uninitialized value in split at ./orghip.pl line 56, <$org> line 176. Thanks for the tip on the mailing list discussions, too. I'll be sure to subscribe. »
About ezichko |
|
| EXPLORE 43Folders | THE GOOD STUFF |