NEW: For a prettier blog interface, see the Wordpress version!
Ion is available as a Debian package. To install, simplyapt-get install ion .
Some quirks:
~/.ion/ion.conf
screen 0 {
term_font "7x13"
include "look-greyviolet.conf"
}
# Emacs-friendly Ion configuration
bindings{
set_mod "Mod2"
kpress "S", "split_vert"
kpress "O", "goto_below"
kpress "N", "switch_next"
kpress "P", "switch_prev"
kpress "Tab", "switch_next"
kpress "1", "switch_nth", 0
kpress "2", "switch_nth", 1
kpress "3", "switch_nth", 2
kpress "4", "switch_nth", 3
kpress "5", "switch_nth", 4
kpress "6", "switch_nth", 5
kpress "7", "switch_nth", 6
kpress "8", "switch_nth", 7
kpress "9", "switch_nth", 8
kpress "0", "switch_nth", 9
kpress_waitrel "C", "closedestroy"
kpress "A", "query_attachclient"
kpress "G", "query_gotoclient"
kpress "V", "resize_vert"
kpress "H", "resize_horiz"
submap "K" {
set_mod "AnyModifier"
kpress "N", "switch_next"
kpress "P", "switch_prev"
kpress "K", "goto_previous"
kpress "S", "split_horiz"
kpress "H", "maximize_horiz"
kpress "V", "maximize_vert"
kpress "Tab", "goto_left"
kpress "X", "destroy_frame"
kpress "C", "kill"
kpress "1", "switch_nth", 0
kpress "2", "switch_nth", 1
kpress "3", "switch_nth", 2
kpress "4", "switch_nth", 3
kpress "5", "switch_nth", 4
kpress "6", "switch_nth", 5
kpress "7", "switch_nth", 6
kpress "8", "switch_nth", 7
kpress "9", "switch_nth", 8
kpress "0", "switch_nth", 9
}
kpress "F1", "query_runwith", "Manual page:", "ion-man"
kpress "F2", "exec", "x-terminal-emulator"
kpress "F3", "query_exec"
kpress "F4", "query_runwith", "SSH to:", "ion-ssh"
kpress "F5", "query_runfile", "Edit file:", "ion-edit"
kpress "F6", "query_runfile", "View file:", "ion-view"
kpress "F9", "query_workspace"
kpress "F11", "query_yesno", "Restart Ion (y/n)?", "restart"
kpress "F12", "query_yesno", "Exit Ion (y/n)?", "exit"
mdrag "Button3", "p_resize"
}
tab_bindings{
mclick "Button1", "switch_tab"
mdrag "Button1", "p_tabdrag"
mdrag "Button3", "p_resize"
}
input_bindings{
set_mod "Control"
kpress "F", "forward"
kpress "B", "back"
kpress "E", "eol"
kpress "A", "bol"
kpress "Z", "bskip_word"
kpress "X", "skip_word"
kpress "D", "delete"
kpress "H", "backspace"
kpress "J", "kill_to_eol"
kpress "Y", "kill_line"
kpress "W", "kill_word"
kpress "O", "bkill_word"
kpress "U", "scrollup"
kpress "V", "scrolldown"
kpress "P", "history_prev"
kpress "N", "history_next"
kpress "M", "finish"
kpress "G", "cancel"
submap "K" {
set_mod "AnyModifier"
kpress "B", "set_mark"
kpress "Y", "cut"
kpress "K", "copy"
kpress "C", "paste"
}
set_mod ""
kpress "Return", "finish"
kpress "Delete", "delete"
kpress "BackSpace", "backspace"
kpress "Home", "bol"
kpress "End", "eol"
kpress "Tab", "complete"
kpress "Up", "history_prev"
kpress "Down", "history_next"
kpress "Right", "forward"
kpress "Left", "back"
kpress "Escape", "cancel"
kpress "Page_Up", "scrollup"
kpress "Page_Down", "scrolldown"
mclick "Button2", "paste"
}
moveres_bindings{
set_mod "AnyModifier"
kpress "Escape", "cancel_resize"
kpress "Return", "end_resize"
kpress "V", "grow"
kpress "H", "grow"
kpress "S", "shrink"
}
# Kludges to get some programs working
include "/etc/X11/ion/kludges.conf"
~/.xmodmap
This maps your left Windows key to be Super and the key Ion uses as its modifier.
keycode 115 = Super_L clear Mod2 add Mod2 = Super_L
~/.xinitrc
xmodmap .xmodmap ssh-agent x-terminal-emulator & exec ion
or something like that.
I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at sacha@sachachua.com .