

ION FUNCTIONS

These functions can be used in the 'bindings' section of the configuration
file.


Navigation
----------

switch_nth, n		Switch to n:th client within frame
switch_next		Switch to next client within frame
switch_prev		Switch to previous client within frame
goto_above_frame	Go to above frame
goto_below_frame	Go to below frame
goto_right_frame	Go to next frame left
goto_left_frame		Go to next frame right
goto_previous		Goto previously active client
switch_ws_name, "name"	Go to named workspace
switch_ws_nth, n	Go to n:th workspace
switch_ws_next		Go to next workspace
switch_ws_prev		Go to previous workspace


Resize and split
----------------

resize_vert		Start resizing vertically
resize_horiz		Start resizing horizontally
maximize_vert		Maximize vertically
maximize_horiz		Maximize horizontally
split_vert		Split vertically
split_horiz		Split horizontally


In resize mode (moveres_bindings):

grow			Increase frame size  by CF_WIDTH/HEIGHT_UNIT
shrink			Decrease frame size  by CF_WIDTH/HEIGHT_UNIT
end_resize		Leave resize mode
cancel_resize		Leave resize mode, size unchanged if xor-resize
			enabled


Close and destroy
-----------------

close			Close current client
kill			Kill current client
closedestroy		Close current client if any or destroy_frame
destroy_frame		Destroy current frame moving remaining clients to
			"sister" frame. If the frame is last on the
			workspace, the workspace is destoyed as well, unless
			no other workspaces are left, when any action is
			refused.


General
-------

restart			Restart Ion
restart_other, "cmd"	Restart other window manager
exec, "cmd"		Run command
exit			Exit Ion


Queries
-------

query_runfile, "prompt", "cmd"		Run command with user given file
query_runwith, "prompt", "cmd"		Run command with user input as
					argument
query_yesno, "prompt", "function"	Query user if function should be run
query_function	       			Query user for ion function.
					Only simple, argumentless, functions
					from FUNTAB_MAIN currently supported.
query_exec				Query user for command to run.
					If the command is prefixed with a
					colon (:) it is run in an xterm
					(ion-runinxterm)
query_attachclient			Query for client to attach
query_gotoclient			Query for client to go to
query_workspace				Query for new workspace to create or
					existing to go to
query_workspace_with			Query for new workspace to create with
					current client


Tags
----

toggle_tagged		Toggle client tagged-flag
clear_tags		Clear all clients' tagged-flag
attach_tagged		Attach tagged clients to frame


Pointer
-------

tab_switch		Switch to client
p_tabdrag		Drag tab
p_resize		Resize



LINE-EDITOR FUNCTIONS

These functions can be used in 'edln_bindings'


Movement
--------

back			Go backward character
forward			Go forward character
bol			Go to beginning of line
eol			Go to end of line
skip_word		Skip word
bskip_word		Backward skip  word


Deletion
--------

delete			Delete next character
backspace		Delete previous character
kill_to_eol		Delete to end of line
kill_to_bol		Delete to beginning of line
kill_line		Delete whole line
kill_word		Delete word
bkill_word		Backward delete word


Selection
---------

set_mark		Set mark (start selection)
cut			Cut selection
copy			Copy selection
paste			Paste


Completion and history
----------------------

complete		Complete or show possible completions
scrollup		Scroll completion listing or message up
scrolldown		Scroll completion listing or message down
history_next		Next history entry
history_prev		Previous history entry


The rest
--------

finish			Finish, accept query
cancel			Cancel query


