Difference between revisions of "TF Common Variables And Files"

From AvatarWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
/histsize 100000<br>
 
/histsize 100000<br>
 
<br>
 
<br>
<nowiki>
+
<nowiki>;; allow space bar to continue page mode</nowiki><br>
;; allow space bar to continue page mode
 
</nowiki>
 
 
/require space-page.tf<br>
 
/require space-page.tf<br>
 
<br>
 
<br>
;; keybindings like those in bash (allows you to use up/down arrow keys<br>
+
<nowiki>;; keybindings like those in bash (allows you to use up/down arrow keys to navigate command history, for example)</nowiki><br>
;; to navigate command history, for example)<br>
 
 
/require -q kb-bash.tf<br>
 
/require -q kb-bash.tf<br>
;; let ctrl-D delete word to the right<br>
+
<nowiki>;; let ctrl-D delete word to the right</nowiki><br>
 
/bind ^D = /dokey DWORD<br>
 
/bind ^D = /dokey DWORD<br>
 
<br>
 
<br>
Line 25: Line 22:
 
/ticksize 30<br>
 
/ticksize 30<br>
  
; visual mode off<br>
+
<nowiki>;; visual mode off</nowiki><br>
 
/visual off<br>
 
/visual off<br>
  
 
[[Category: TinyFugue Scripting]]
 
[[Category: TinyFugue Scripting]]

Revision as of 09:01, 12 October 2005

These are some common TF variable settings and library files to load that are quite useful.

/set refreshtime=100
/set prompt_usec=100
/set wrapsize=88
/set wrapspace=2
/histsize 100000

;; allow space bar to continue page mode
/require space-page.tf

;; keybindings like those in bash (allows you to use up/down arrow keys to navigate command history, for example)
/require -q kb-bash.tf
;; let ctrl-D delete word to the right
/bind ^D = /dokey DWORD

/load -q alias.tf
/load -q tools.tf
/load -q speedwalk.tf
/speedwalk
/load -q tick.tf
/ticksize 30

;; visual mode off
/visual off