Changeset b950088 for examples


Ignore:
Timestamp:
Jun 29, 2002, 11:55:06 AM (22 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
855ebe7
Parents:
61d27fb
Message:
* Added --no-move option to delete command.
        In particular, delete-and-always-move-down may now
	be implemented with
	'( delete --no-move ; next --skip-deleted )'.
* Folded the nextmsg and prevmsg commands and functions together into
        one command which takes arguments.
	Added '--filter <name>' option (eg, for next_personal),
	'--skip-deleted' option, and
	'--last-if-none'/'--first-if-none' options.
	Help updated accordingly.
	In particular, the 'personal' view is now used
	for 'next personal'.
* Updated examples/owlconf.erik with the above.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/owlconf.erik

    r7d4fbcd rb950088  
    11### The owlconf config file   -*- perl -*- 
    22###  $Id$
     3
     4### !!!!!WARNING!!!!! !!!!!WARNING!!!!! !!!!!WARNING!!!!! !!!!!WARNING!!!!!
     5### This is an example file intended to demonstrate how to use
     6### various features of owl.  Some of the key bindings, in particular,
     7### are more for examples than things you may actually want to use.
     8### Make sure to read through it first and understand it before just using it.
     9### Don't blame me if anything in here ends up vaporizing your dog.
     10### !!!!!WARNING!!!!! !!!!!WARNING!!!!! !!!!!WARNING!!!!! !!!!!WARNING!!!!!
     11
    312###
    413### This file is interpreted by the perl interpreter.
     
    7786    owl::command("alias zc zwrite -c");
    7887
     88    # Send zephyrs with "C-c C-c". 
     89    # Note that this will cause "C-c" to not work...
    7990    owl::command("bindkey editmulti \"C-c C-c\" command editmulti:done");
     91
     92    # Make "d" ignore current movement direction
     93    owl::command("bindkey recv d command ( delete --no-move ; next --skip-deleted )");
     94
     95    # Useful keys for reading and deleting by class/instance
    8096    owl::command("bindkey recv M-k command ( smartnarrow ; delete view )");
    8197    owl::command("bindkey recv M-l command ( expunge ; view all )");
    8298    owl::command("bindkey recv M-K command ( smartnarrow ; delete view ; expunge ; view all )");
     99
     100    # Make 'M-s' insert a <scritchscritchscritch> sequence with a random
     101    # number of scritches.
    83102    owl::command(q(bindkey edit M-s command perl owl::command("edit:insert-text <".("scritch"x int(1+rand(5))).">")));
    84103
Note: See TracChangeset for help on using the changeset viewer.