Veröffentlicht 13. August 200223 j Hi @ all, gibt es bei dem emacs-Editor die Möglichkeit die Schriftgröße zu ändern und vielleicht noch die Syntax farblich hervor zu heben? mfg kueken_mac_nugget :marine
13. August 200223 j Ja klar gibt es diese Möglichkeiten... du kannst den Emacs mit der Option -fn (font) z.B. 6x12 oder 6x10, etc aufrufen (guck dir da mal die Man-Page vom emacs an) Außerdem gibt es im Emacs den Befehl: m-x-text-mode bzw. m-x-shell-scipt-mode (SuSE 7.3) (m = Alt-Taste) Hier noch ein paar nützliche Hilfen: ###### Starting, Stopping and Undoing ###### emacs rufe Emacs auf emacs filename rufe Emacs mit folgender Datei auf, um diese Datei zu bearbeiten C-x C-f um eine Datei zu suchen C-x C-s um eine Datei abzuspeichern C-x s um alle Daten abzuspeichern C-x C-c um den Emacs verlassen C-g Stop command in progress C-x u Undo C-z Suspend Emacs C-x b Move to another buffer C-x k Kill buffer ESC Access menus from a text-based terminal ###### Moving Around ###### C-f or right cursor nach rechts C-b or left cursor nach links C-p or up cursor nach oben C-n or down cursor nach unten C-v or PageUp Ein Bild nach vorne ESC v or Page Down Ein Bild nach hinten ESC < or Home Anfang der Datei ESC > or End Ende der Datei ESC f Ein Wort vorwärts ESC b Ein Wort rückwärts C-a Zeilenanfang C-e Zeilenende ###### Cutting and Posting ###### C-d um das Zeichen unter dem Cursor zu löschen DEL um das vorherige Zeichen zu löschen ESC d um das nächste Wort zu löschen ESC DEL um das letzte Wort zu löschen C-k um ab dem Cursor bis zum Ende der Zeile zu löschen C-, C-SPACE, oder <- Mark the beginning (or end) of a region C-w Cut region ESC w, C-INSERT, -> Copy region C-y Einfügen ESC y After C-y, paste previous ###### Search and Replace ###### C-s Incremental search forward C-r Incrementel search backward C-s C-s Repeat last search Enter Exit search ESC % Query-replace SPACE or y Replace DEL or n Dont`t replace ! Replace all and don`t ask Enter Exit query-replace ###### Windows ###### C-x 2 or C-right Divide current window horizontally C-x o Move to other window C-x 0 Delete the current window C-x 1 Delete all windows but this one ESC C-v Scroll other window C-x 4 f Find file in other window ###### Shortcuts ###### TAB In minibuffer or shell, complete file, directory, or command name C-x ESC ESC Repeat last complex command ESC p In minibuffer or shell, display previous input ESC n In minibuffer or shell, display next input C-t Transpose two letters ESC t Transpose two words ESC u Uppercase word ESC l Lowercase word ESC c Capitalize first letter of word C-x r m Set a bookmark for this fie C-x r b Jump to a bookmark C-x r l List bookmarks ESC ; Insert a comment marker ###### Starting Tools ###### ESC x ispell-buffer Run Ispell on this buffer ESC x shell Start shell buffer C-x d Start Dired, the directory editor C-x m Write mail message C-c C-c Send mail message ESC x rmai Read mail h Display RMAIL summary list C-x C-b Display buffer list ESC x gnus Start Gnus newsreader ESC x w3 Start W3 browser (if installed) ESC x telnet Open Telnet connection C-x C-f /username@sytemname: /path/file Find file on remote system using ###### Moving Around Gnus, RMAIL, Buffer List, Dired, & W3 n Move to next item p Move to previous item SPACE Scroll text buffer or move to next item d Mark item for deletion x Delete marked items Enter Select item q Exit ###### Regular Expression Search and Composition ###### ESC C-s Enter Search for a regular expression forward ^ Match the beginning of a line $ Match the end of a line . Match any single character .* Match any group of zero or more charakte \< Match the beginning of a word \> Match the end of a word [] Match any character specified within the for example, [a-z] matches any alphabetic character
13. August 200223 j Zum Teil wird das Syntax-Highlighting auch automatisch gestartet, sowie Du eine Datei laedst fuer die ein entsprechender "font-lock-mode" definiert ist. Ansonsten laesst sich das auch im "Options" Menue ein und ausschalten bzw. konfigurieren. Nic
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.