
# $Id: FvwmTabs-DefaultSetup,v 1.1 2006/11/23 01:05:49 chapuis Exp $

# Author: Scott Smedley ss@aao.gov.au

# See the FvwmTabs(1) man page for how to use the FvwmTabs module.
#
# This is the default USER CONFIGURATION file.
# Many of the functions used here are defined in ConfigFvwmTabs which
# is read automatically by the FvwmTabs module.


# Make sure you have a line like this in your .fvwm2rc file (your menu
# might not be called 'WindowOps'):
#	Mouse 0 1 A Function PopUp WindowOps
Once FvwmTabs_AddTabizeMenuItem AddToMenu WindowOps "&Tabize" Popup TabbersMenu Item 85 c

# Key bindings for creating new FvwmTabbers, adding windows
# to tabbers, switching b/w tabs, etc.
# Note that most bindings only work when an FvwmTabs window is focused.

# Pick & add new window with CTRL-ALT-A.
Key (FvwmTabs*) A		A	CM	Function AddTab
Key (FvwmTabs*) C		A	CM	Function CloseTabber
Key (FvwmTabs*) D		A	CM	Function EnableDND 0
Key (FvwmTabs*) E		A	CM	Function EnableDND 1
Key (FvwmTabs*) I		A	CM	Function ReleaseIconifyTab
Key (FvwmTabs*) I		A	SCM	Function ReleaseIconifyAllTabs
Key (FvwmTabs*) L		A	CM	Function LastTab
Key (FvwmTabs*) M		A	CM	Function MultiAddTab
# Show next tab with CTRL-ALT-TAB.
Key (FvwmTabs*) Tab		A	CM	Function NextTab
# Show next tab with CTRL-ALT-N.
Key (FvwmTabs*) N		A	CM	Function NextTab
# Show previous tab with CTRL-ALT-P.
Key (FvwmTabs*) P		A	CM	Function PrevTab
Key (FvwmTabs*) R		A	CM	Function ReleaseTab
Key (FvwmTabs*) R		A	SCM	Function ReleaseAllTabs
# CTRL-ALT-T for a new tabber.
Key T		A	CM	Function NewTabber
Key X		A	CM	Function SwallowNewIfFocused rxvt
Key X		A	SCM	Function SwallowNew rxvt
Key Z		A	CM	Function CreateTabberWithWin
# Move tab position left.
Key (FvwmTabs*) Left	A	CM	Function SwapLeft
# Move tab position right.
Key (FvwmTabs*) Right	A	CM	Function SwapRight


# CTRL-ALT-K to save state & kill the FvwmTabs module.
Key K	A	CM	Function SaveStateAndKill
# CTRL-ALT-SHIFT-K to kill the FvwmTabs module.
Key K	A	SCM	KillModule FvwmTabs
# CTRL-ALT-S to start the FvwmTabs module.
Key S	A	CM	Module FvwmTabs

# Real Computer Scientists start counting at zero, but this might not be
# intuitive to everyone - you might want to bind CTRL-ALT-1 to the **first**
# tab (actually 0).

# Show 1st tab in tabber with CTRL-ALT-0.
Key (FvwmTabs*) 0	A	CM	Function ShowTab 0
# Show 2nd tab in tabber with CTRL-ALT-1.
Key (FvwmTabs*) 1	A	CM	Function ShowTab 1
Key (FvwmTabs*) 2	A	CM	Function ShowTab 2
Key (FvwmTabs*) 3	A	CM	Function ShowTab 3
Key (FvwmTabs*) 4	A	CM	Function ShowTab 4
Key (FvwmTabs*) 5	A	CM	Function ShowTab 5
Key (FvwmTabs*) 6	A	CM	Function ShowTab 6
Key (FvwmTabs*) 7	A	CM	Function ShowTab 7
Key (FvwmTabs*) 8	A	CM	Function ShowTab 8
Key (FvwmTabs*) 9	A	CM	Function ShowTab 9

# Drag-&-drop doesn't work well with OpaqueMove.
# This might upset some users.
OpaqueMoveSize 0
