playground:vps_-_plan9front_-_fn_reply_and_prompt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 00:06] – [function (fn)] hc9 | playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:42] – [reply with selected text] hc9 | ||
---|---|---|---|
Line 7: | Line 7: | ||
^# | ^# | ||
- | |**1**|'' | + | |**1.**|...[[: |
- | |**2**|// | + | |//a.//|'' |
- | |// | + | |**2.**|//Grep, but force listing of filename: |
- | |**3**|// | + | |//a.// |
- | |// | + | |**3.**|//Tree enumerator (simple " |
+ | |//a.// | ||
**Example #1:** | **Example #1:** | ||
Line 32: | Line 33: | ||
profile.edit: | profile.edit: | ||
q | q | ||
+ | cpu% | ||
+ | </ | ||
+ | |||
+ | === whatis vim: === | ||
+ | |||
+ | < | ||
+ | cpu% whatis vim | ||
+ | fn vim { | ||
+ | sam $* | ||
+ | } | ||
cpu% | cpu% | ||
</ | </ | ||
Line 42: | Line 53: | ||
</ | </ | ||
- | |1|select text to include in reply with button 1| | + | |1.|select text to include in reply with button 1| |
- | |2|type **'' | + | |2.|type **'' |
- | |3|run **'' | + | |3.|run **'' |
- | |4|use the button 1,3 chord to paste text into reply| | + | |4.|use the button 1,3 chord to paste text into reply| |
- | |5|remove Include: line from message and type your reply.| | + | |5.|remove Include: line from message and type your reply.| |
Start acme to access the mbox. | Start acme to access the mbox. | ||
Line 66: | Line 77: | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail**| | |**New Cut Paste Snarf Sort Zerox Delcol Mail**| | ||
|**/// | |**/// | ||
- | |2/|:::|⇐ An Email messages is here.| | + | |2/|:::|⇐ An Email messages is here. Mouse button 3 press #2.| |
|1/| | |1/| | ||
- | |**/// | + | |**/// |
|From: ne1nb00k@9p.sdf.org| | |From: ne1nb00k@9p.sdf.org| | ||
|To: | |To: | ||
Line 88: | Line 99: | ||
^# | ^# | ||
- | |**1**|//To set your prompt in rc to reflect your current directory add this to your profile.// | + | |**1.**|//To set your prompt in rc to reflect your current directory add this to your profile.// |
- | |// | + | |//a.// |
- | |**2**|//If you make frequent use of cpu's -'' | + | |**2.**|//If you make frequent use of cpu's -'' |
- | |// | + | |//a.// |
- | |// | + | |//b.// |
**Example #1:** | **Example #1:** | ||
Line 113: | Line 124: | ||
profile.edit: | profile.edit: | ||
q | q | ||
+ | cpu% | ||
+ | </ | ||
+ | |||
+ | === whatis cd: === | ||
+ | |||
+ | < | ||
+ | cpu% whatis cd | ||
+ | fn cd { | ||
+ | builtin cd $* && prompt=(`{ | ||
+ | pwd | ||
+ | }^% '' | ||
+ | } | ||
cpu% | cpu% | ||
</ | </ | ||