# # Menu items and key bindings for ez # # addkey textview-beginning-of-text \eW textview # Top of file addmenu frame-visit-file-uninterpreted "ez,Visit Raw File~30" textview # Cycle cut buffer command addmenu textview-rotate-paste "Cycle Cut Buffer~80" # Window commands addmenu frame-new-window "Window~50,New Window~10" addmenu frame-delete-window "Window~50,Delete Window~20" addmenu frame-visit-file "Window~50,Visit File~30" # Buffer commands addmenu frame-list-buffers "Buffer~60,List Buffers~10" addmenu frame-visit-buffer "Buffer~60,Visit Buffer~20" addmenu frame-delete-buffer "Buffer~60,Delete Buffer~30" # Make/Debug commands addmenu compile-build "Make~70,Start Compile~10" srctextview compile inherit "" addmenu compile-kill-build "Make~70,Kill Compile~11" srctextview compile inherit "" addmenu compile-next-error "Make~70,Next Error~20" srctextview compile inherit "" addmenu compile-previous-error "Make~70,Previous Error~21" srctextview compile inherit "" # Ezdiff commands addmenu ezdiff-start "Ezdiff,Start~80" textview addmenu ezdiff-current "Ezdiff,Current~20" textview addmenu ezdiff-next "Ezdiff,Next~21" textview addmenu ezdiff-last "Ezdiff,Prev~22" textview addmenu ezdiff-change "Ezdiff,Change~30" textview # Tag commands addmenu "tags-rebuild-tags" "Tags,Rebuild Tag File~90" ctextview addmenu "tags-find-tag" "Tags,Find Tag~10" ctextview addmenu "tags-goto-tag" "Tags,Goto Tag~11" ctextview addmenu "tags-load-tag-file" "Tags,Load New Tag File~20" ctextview # File commands addmenu textview-toggle-expose-styles "File,Toggle Expose Styles~90" textview addmenu textview-toggle-color-styles "File,Toggle Color Styles~91" textview # Binding compile/debug commands to keys addkey compile-build ^X^E srctextview compile inherit "" addkey compile-kill-build ^X^K srctextview compile inherit "" addkey compile-next-error ^X^N srctextview compile inherit "" addkey compile-previous-error ^X^P srctextview compile inherit "" # Additional key bindings addkey frame-exit-recursive-edit \e^C # Media menus addmenu textview-insert-inset-here "Media,Writestamp" textview textview noinherit "writestamp" addmenu textview-insert-inset-here "Media,Note" textview textview noinherit "note" addmenu textview-insert-inset-here "Media,Layout" textview textview noinherit "layout" addmenu textview-insert-inset-here "Media,PostScript" textview textview noinherit "ps" addmenu textview-insert-inset-here "Media,Header/Footer" textview textview noinherit "header" addmenu textview-insert-inset-here "Media,Table (spreadsheet)" textview textview noinherit "table" addmenu textview-insert-inset-here "Media,Raster (mono image)" textview textview noinherit "raster" addmenu textview-insert-inset-here "Media,Ness" textview textview noinherit "ness" addmenu textview-insert-inset-here "Media,Image (GIF/JPEG)" textview textview noinherit "image" addmenu textview-insert-inset-here "Media,Hyperlink" textview textview noinherit "link" addmenu textview-insert-inset-here "Media,Figure" textview textview noinherit "figure" addmenu textview-insert-inset-here "Media,Equation" textview textview noinherit "eq" #addmenu textview-insert-inset-here "Media,Chart" textview textview noinherit "chart" #addmenu textview-insert-inset-here "Media,Animation (fad)" textview textview noinherit "fad" addmenu textview-insert-inset-here "Media,By name ...~99" textview textview noinherit # make these menus disappear when editing raw files, because they may lead the user to believe that their style changes will get SAVED addmenu "" "File~10,Edit Styles~30" rawtextview addmenu "" "File~10,Add Template~31" rawtextview # HTML support from Nick Williams addmenu "htmlview-set-title" "HTML~5,Set Title...~1" htmlview addmenu htmlview-set-indexable "HTML~5,Make Document Searchable~1" htmlview addmenu htmlview-edit-attributes "HTML~5,Edit Attributes at Point...~30" htmlview addmenu htmlview-add-image "HTML~5,Insert Image..." htmlview addmenu htmlview-add-hrule "HTML~5,Insert Rule" htmlview addmenu htmlview-set-link "HTML~5,Make region hyperlink...~70" htmlview addmenu htmlview-set-link-type "HTML~5,Set type of hyperlink...~70" htmlview # The key bindings prevent the backspace key from working #addkey "htmlview-set-title" ^HT htmlview #addkey htmlview-set-link ^Hh htmlview # [F8] Set highlighted area to a link addkey htmlview-set-link \eR htmlview addmenu htmlview-make-list "Lists~6,Itemize~10" htmlview htmlview inherit "ul" addmenu htmlview-make-list "Lists~6,Enumerate~10" htmlview htmlview inherit "ol" addmenu htmlview-make-list "Lists~6,Menu~10" htmlview htmlview inherit "menu" addmenu htmlview-make-list "Lists~6,Directory~10" htmlview htmlview inherit "dir" addmenu htmlview-make-list "Lists~6,Glossary~10" htmlview htmlview inherit "dl" addmenu htmlview-unlistify "Lists~6,Unlistify~100" htmlview htmlview # Include file which associates file types with views and templates include /usr/andrew/lib/global.filetypes