Xed*buttons*orientation:		horizontal
Xed*buttons*showGrip:			False
Xed*input:                              TRUE

! Autofill
Xed*editWindow.autoFill:		True

! Scrollbar
Xed*editWindow.scrollVertical:	        Always

! Width in number of characters
Xed.textwidth:				80

! Height in number of characters
Xed.textheight:				40

! AutoIndent Yes or No
Xed.AutoIndent:				True

! Wrapmode
Xed*editWindow.wrap:			Never

! Command for printing
! %t will be replaced with real filename
! %f will be replaced with temporary filename witch is to be printed
Xed.PrintCommand:			lpr -p -T %t %f

! Default Tabsize
Xed.Tabsize:				8

! Creating backup file
Xed.EnableBackups:			FALSE
Xed.BackupNameSuffix:			.bak

! Usefull for slow machines
Xed.MaxScrollbreak:			3

! Clear Inputfield with Escape Key
Xed*value.translations:  #override \
                                <Key>Escape: select-all() delete-selection()
Xed*tab_text.translations: #override \
                                <Key>Escape: select-all() delete-selection() \n \
				<Key>Return: no-op()
Xed*sed_text.translations: #override \
                                <Key>Escape: select-all() delete-selection()
Xed*search_text.translations: #override \
                                <Key>Escape: select-all() delete-selection()                
Xed*replace_text.translations: #override \
                                <Key>Escape: select-all() delete-selection()
Xed*command_text.translations: #override \
                                <Key>Escape: select-all() delete-selection()\n \
				<Key>Return: no-op()
Xed*pipe_text.translations: #override \
                                <Key>Escape: select-all() delete-selection()\n \
				<Key>Return: no-op()
Xed*line_text.translations: #override \
				<Key>Escape: select-all() delete-selection()

! Menu Labels
Xed.filemenu.load.label:	Open          o
Xed.filemenu.insert.label:	Insert        i
Xed.filemenu.save.label:	Save          s
Xed.filemenu.saveas.label:	Save as
Xed.filemenu.savesel.label:	Save Selection
Xed.filemenu.print.label:	Print
Xed.filemenu.printsel.label:	Print Selection
Xed.filemenu.quit.label:	Exit          e

Xed.editmenu.cut.label:	Cut
Xed.editmenu.paste.label:	Paste
Xed.editmenu.right.label:	Shift Selection right
Xed.editmenu.left.label:	Shift Selection left

Xed.jumpmenu.line.label:	Line          l
Xed.jumpmenu.begin.label:	Begin
Xed.jumpmenu.end.label:		End
Xed.jumpmenu.selstart.label:	Selection Start
Xed.jumpmenu.selend.label:	Selection End

Xed.searchmenu.search.label:		Search          f
Xed.searchmenu.search_selection.label:	Search Selection
Xed.searchmenu.replace.label:		Replace         f
Xed.searchmenu.replace_selection.label:	Replace Selection
Xed.searchmenu.find_bracket.label:	Find bracket
Xed.searchmenu.check_brackets.label:	Check brackets

Xed.spezialmenu.options.label:	Options
Xed.spezialmenu.call_sed.label:	Call sed
Xed.spezialmenu.help.label:	Help
Xed.spezialmenu.about.label:	About

Xed.commandsmenu.command0.label:	Command
Xed.pipesmenu.pipe0.label:	Pipe

! Some useful user commands and pipes
Xed*commands: LatexPS	latex $stripped; dvips $stripped.dvi -o $stripped.ps; ghostview $stripped.ps &\n\
LatexDVI	latex $stripped; xdvi $stripped.dvi &\n\
Make	make\n\
CC	cc $stripped.c -o $stripped\n\
NewXed	1>/dev/null 2>/dev/null xed &\n\
Manual	mantitle=`head $selection`;man $mantitle | sed "s/.//g"
Xed*pipes: Date	date

! Keybindings for textwindow
! Bindings starting with <Tab> differ from default textwidget bindings
! L10,R7,R9,R13,R15 are special for sun Keyboards
! Next,Prior,Home,End are special for MFII Keyboards
! Meta<key>x ist special for NeXT Keyboards

! Keybindings in Overwrite mode
Xed.overwritetranslations:  #replace \
	Meta<Key>i: xedCallMenu(filemenu.insert) \n \
	Meta<Key>o: xedCallMenu(filemenu.load) \n \
	Meta<Key>s: xedCallMenu(filemenu.save) \n \
	Meta<Key>e: xedCallMenu(filemenu.quit) \n \
	Meta<Key>l: xedCallMenu(jumpmenu.line) \n \
	Meta<Key>f: xedCallMenu(searchmenu.search) \n \
	Meta<Key>x: kill-selection() \n \
	<Key>L10:kill-selection() \n \
	<Key>R7: beginning-of-file() \n \
	<Key>R9: previous-page() \n \
	<Key>R13: end-of-file() \n \
	<Key>R15: next-page() \n \
	<Key>Home: beginning-of-file() \n \
	<Key>Prior: previous-page() \n \
	<Key>End: end-of-file() \n \
	<Key>Next: next-page() \n \
	Shift<Key>Up: previous-page() \n \
	Shift<Key>Down: next-page() \n \
	Shift<Key>Left: backward-word() \n \
	Shift<Key>Right: forward-word() \n \
	Ctrl<Key>Up: beginning-of-file() \n \
	Ctrl<Key>Down: end-of-file() \n \
	Ctrl<Key>Left: beginning-of-line() \n \
	Ctrl<Key>Right: end-of-line() \n \
	Meta<Key>m: xedCallMenu(paned.buttons.editmode) \n \
Ctrl<Key>A:	beginning-of-line() \n\
Ctrl<Key>B:	backward-character() \n\
Ctrl<Key>C:	insert-selection(CUT_BUFFER0) \n\
Ctrl<Key>D:	delete-next-character() \n\
Ctrl<Key>E:	end-of-line() \n\
Ctrl<Key>F:	forward-character() \n\
Ctrl<Key>G:     multiply(Reset) \n\
Ctrl<Key>H:	delete-previous-character() \n\
Ctrl<Key>J:	newline-and-indent() \n\
Ctrl<Key>K:	kill-to-end-of-line() \n\
Ctrl<Key>L:	redraw-display() \n\
Ctrl<Key>M:	newline() \n\
Ctrl<Key>N:	next-line() \n\
Ctrl<Key>O:	newline-and-backup() \n\
Ctrl<Key>P:	previous-line() \n\
Ctrl<Key>R:	search(backward) \n\
Ctrl<Key>S:	search(forward) \n\
Ctrl<Key>T:     transpose-characters() \n\
Ctrl<Key>U:	multiply(4) \n\
Ctrl<Key>V:	next-page() \n\
Ctrl<Key>W:	kill-selection() \n\
Ctrl<Key>Y:	insert-selection(SECONDARY) \n\
Ctrl<Key>Z:	scroll-one-line-up() \n\
Meta<Key>B:	backward-word() \n\
Meta<Key>F:	forward-word() \n\
Meta<Key>I:	insert-file() \n\
Meta<Key>K:	kill-to-end-of-paragraph() \n\
Meta<Key>Q:     form-paragraph() \n\
Meta<Key>V:	previous-page() \n\
Meta<Key>Y:	insert-selection(PRIMARY, CUT_BUFFER0) \n\
Meta<Key>Z:	scroll-one-line-down() \n\
:Meta<Key>d:	delete-next-word() \n\
:Meta<Key>D:	kill-word() \n\
:Meta<Key>h:	delete-previous-word() \n\
:Meta<Key>H:	backward-kill-word() \n\
:Meta<Key>\\<:	beginning-of-file() \n\
:Meta<Key>\\>:	end-of-file() \n\
:Meta<Key>]:	forward-paragraph() \n\
:Meta<Key>[:	backward-paragraph() \n\
~Shift Meta<Key>Delete:		delete-previous-word() \n\
 Shift Meta<Key>Delete:		backward-kill-word() \n\
~Shift Meta<Key>BackSpace:	delete-previous-word() \n\
 Shift Meta<Key>BackSpace:	backward-kill-word() \n\
<Key>Home:	beginning-of-file() \n\
:<Key>KP_Home:	beginning-of-file() \n\
<Key>End:	end-of-file() \n\
:<Key>KP_End:	end-of-file() \n\
<Key>Next:	next-page() \n\
:<Key>KP_Next:	next-page() \n\
<Key>Prior:	previous-page() \n\
:<Key>KP_Prior: previous-page() \n\
<Key>Right:	forward-character() \n\
:<Key>KP_Right: forward-character() \n\
<Key>Left:	backward-character() \n\
:<Key>KP_Left:	backward-character() \n\
<Key>Down:	next-line() \n\
:<Key>KP_Down:	next-line() \n\
<Key>Up:	previous-line() \n\
:<Key>KP_Up:	previous-line() \n\
<Key>Delete:	delete-previous-character() \n\
:<Key>KP_Delete: delete-previous-character() \n\
<Key>BackSpace:	delete-previous-character() \n\
<Key>Linefeed:	newline-and-indent() \n\
<Key>Return:	newline() \n\
:<Key>KP_Enter:	newline() \n\
Ctrl<Key>backslash:	reconnect-im() \n\
<Key>Kanji:	reconnect-im()\n\
	<Key>:		xedskiplineend() delete-next-character() insert-char() \n\
<EnterWindow>:	enter-window() \n\
<LeaveWindow>:	leave-window() \n\
<FocusIn>:	focus-in() \n\
<FocusOut>:	focus-out() \n\
<Btn1Down>:	select-start() \n\
<Btn1Motion>:	extend-adjust() \n\
<Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
<Btn2Down>:	insert-selection(PRIMARY, CUT_BUFFER0) \n\
<Btn3Down>:	extend-start() \n\
<Btn3Motion>:	extend-adjust() \n\
<Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)

!Keybindings in Insert mode
Xed.inserttranslations:  #replace \
	Meta<Key>i: xedCallMenu(filemenu.insert) \n \
	Meta<Key>o: xedCallMenu(filemenu.load) \n \
	Meta<Key>s: xedCallMenu(filemenu.save) \n \
	Meta<Key>e: xedCallMenu(filemenu.quit) \n \
	Meta<Key>l: xedCallMenu(jumpmenu.line) \n \
	Meta<Key>f: xedCallMenu(searchmenu.search) \n \
	Meta<Key>x: kill-selection() \n \
	<Key>L10:kill-selection() \n \
	<Key>R7: beginning-of-file() \n \
	<Key>R9: previous-page() \n \
	<Key>R13: end-of-file() \n \
	<Key>R15: next-page() \n \
	<Key>Home: beginning-of-file() \n \
	<Key>Prior: previous-page() \n \
	<Key>End: end-of-file() \n \
	<Key>Next: next-page() \n \
	Shift<Key>Up: previous-page() \n \
	Shift<Key>Down: next-page() \n \
	Shift<Key>Left: backward-word() \n \
	Shift<Key>Right: forward-word() \n \
	Ctrl<Key>Up: beginning-of-file() \n \
	Ctrl<Key>Down: end-of-file() \n \
	Ctrl<Key>Left: beginning-of-line() \n \
	Ctrl<Key>Right: end-of-line() \n \
	Meta<Key>m: xedCallMenu(paned.buttons.editmode) \n \
Ctrl<Key>A:	beginning-of-line() \n\
Ctrl<Key>B:	backward-character() \n\
Ctrl<Key>C:	insert-selection(CUT_BUFFER0) \n\
Ctrl<Key>D:	delete-next-character() \n\
Ctrl<Key>E:	end-of-line() \n\
Ctrl<Key>F:	forward-character() \n\
Ctrl<Key>G:     multiply(Reset) \n\
Ctrl<Key>H:	delete-previous-character() \n\
Ctrl<Key>J:	newline-and-indent() \n\
Ctrl<Key>K:	kill-to-end-of-line() \n\
Ctrl<Key>L:	redraw-display() \n\
Ctrl<Key>M:	newline() \n\
Ctrl<Key>N:	next-line() \n\
Ctrl<Key>O:	newline-and-backup() \n\
Ctrl<Key>P:	previous-line() \n\
Ctrl<Key>R:	search(backward) \n\
Ctrl<Key>S:	search(forward) \n\
Ctrl<Key>T:     transpose-characters() \n\
Ctrl<Key>U:	multiply(4) \n\
Ctrl<Key>V:	next-page() \n\
Ctrl<Key>W:	kill-selection() \n\
Ctrl<Key>Y:	insert-selection(SECONDARY) \n\
Ctrl<Key>Z:	scroll-one-line-up() \n\
Meta<Key>B:	backward-word() \n\
Meta<Key>F:	forward-word() \n\
Meta<Key>I:	insert-file() \n\
Meta<Key>K:	kill-to-end-of-paragraph() \n\
Meta<Key>Q:     form-paragraph() \n\
Meta<Key>V:	previous-page() \n\
Meta<Key>Y:	insert-selection(PRIMARY, CUT_BUFFER0) \n\
Meta<Key>Z:	scroll-one-line-down() \n\
:Meta<Key>d:	delete-next-word() \n\
:Meta<Key>D:	kill-word() \n\
:Meta<Key>h:	delete-previous-word() \n\
:Meta<Key>H:	backward-kill-word() \n\
:Meta<Key>\\<:	beginning-of-file() \n\
:Meta<Key>\\>:	end-of-file() \n\
:Meta<Key>]:	forward-paragraph() \n\
:Meta<Key>[:	backward-paragraph() \n\
~Shift Meta<Key>Delete:		delete-previous-word() \n\
 Shift Meta<Key>Delete:		backward-kill-word() \n\
~Shift Meta<Key>BackSpace:	delete-previous-word() \n\
 Shift Meta<Key>BackSpace:	backward-kill-word() \n\
<Key>Home:	beginning-of-file() \n\
:<Key>KP_Home:	beginning-of-file() \n\
<Key>End:	end-of-file() \n\
:<Key>KP_End:	end-of-file() \n\
<Key>Next:	next-page() \n\
:<Key>KP_Next:	next-page() \n\
<Key>Prior:	previous-page() \n\
:<Key>KP_Prior: previous-page() \n\
<Key>Right:	forward-character() \n\
:<Key>KP_Right: forward-character() \n\
<Key>Left:	backward-character() \n\
:<Key>KP_Left:	backward-character() \n\
<Key>Down:	next-line() \n\
:<Key>KP_Down:	next-line() \n\
<Key>Up:	previous-line() \n\
:<Key>KP_Up:	previous-line() \n\
<Key>Delete:	delete-previous-character() \n\
:<Key>KP_Delete: delete-previous-character() \n\
<Key>BackSpace:	delete-previous-character() \n\
<Key>Linefeed:	newline-and-indent() \n\
<Key>Return:	newline() \n\
:<Key>KP_Enter:	newline() \n\
Ctrl<Key>backslash:	reconnect-im() \n\
<Key>Kanji:	reconnect-im()\n\
<Key>:		insert-char() \n\
<EnterWindow>:	enter-window() \n\
<LeaveWindow>:	leave-window() \n\
<FocusIn>:	focus-in() \n\
<FocusOut>:	focus-out() \n\
<Btn1Down>:	select-start() \n\
<Btn1Motion>:	extend-adjust() \n\
<Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
<Btn2Down>:	insert-selection(PRIMARY, CUT_BUFFER0) \n\
<Btn3Down>:	extend-start() \n\
<Btn3Motion>:	extend-adjust() \n\
<Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)


