Difference between revisions of "TF Common Variables And Files"
Jump to navigation
Jump to search
(Some default varialbes and library files useful for TinyFugue) |
|||
Line 1: | Line 1: | ||
+ | These are some common TF variable settings and library files to load that are quite useful. | ||
+ | <nowiki> | ||
+ | /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 | ||
+ | </nowiki> | ||
+ | |||
+ | [[Category: TinyFugue Scripting]] |
Revision as of 07:57, 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