Source

arco-emacs /

Filename Size Date modified Message
bin
config
debian
template
yasnippet
1.6 KB
7.2 KB

Modular Emacs Configuration

It is a set of configuration "fragments" that you may use independently.

To use one of these in your Emacs you must install the arco-emacs debian package adding next line to your /etc/apt/sources.list:

deb http://babel.esi.uclm.es/arco sid main

And running:

$ sudo apt-get install arco-emacs
$ sudo apt-get install arco-emacs-python

Them, write down something like that in your ~/.emacs:

(add-to-list 'load-path "/usr/share/arco-tools/emacs")
(load "tabbar.cfg")
(load "maximize.cfg")

auto-complete.cfg

Minimal configuration for auto-complete mode. This minor mode is not activated by default. You must run:

M-x auto-complete-mode

auto-insert.cfg

It contains a set of templates that are automatically inserted when you create empty files. It includes default headers for Python, bash, LaTeX and others.

docbook.cfg

nxml-mode configuration for DocBook 4.5.

flymake.cfg

custom faces for flymake error highlight.

flyspell.cfg

Better config and colors for the flyspell minor mode. It is automatically loadad for LaTeX, resT, conf and sgml modes.

To load on other modes add something like next to your config:

(add-hook 'foo-mode-hook 'turn-on-flyspell)

global-zoom.cfg

It provides zoom on emacs in a similar way to web browsers or text processors suites.

Keystrokes:

  • C-<plus> or C-mousewheel-up: increases font size.
  • C-<minus> or C-mousewheel-down: decreases font size.
  • C-0 reverts font size to default.

In contrast to zoom.cfg this version persists across multiple areas of the document with specific minor modes (e.g. noweb documents)

highlight-changes.cfg

Activate highlight-changes-mode and set better colors. It highlights all modifications since file open.

Keystrokes:

F6: shows/hide hightlight (deactivated by default).

hl.cfg

Highlight the current line.

  • Deactivate temporally:

    M-x global-hl-line-mode
    
  • Deactivate per major-mode:

    (add-hook 'ruby-mode-hook 'local-hl-line-mode-off)
    

latex.cfg

Activates and binds RefTeX minor mode. It provides a live checker for flymake (disabled by default). To enable it:

M-x flymake-mode

maximize.cfg

Maximize the Emacs X window.

Keystrokes:

  • F11: toogles fullscreen.
  • C-F11: toogles vertical maximization.

minimal.cfg

Basic customization useful for most of users. It does not provide new keystrokes or commands.

paren-autoclose.cfg

Automatic close for parentheses (and other pair stuff) when you write the opening one.

psgml.cfg

  • Better faces and highlight for sgml-mode
  • Automatic DTD detection and loading.

python.cfg

flymake configuration for python-mode (enabled by default). Set pyflakes as Python syntax checker. Run with C-c C-v

speedbar.cfg

It provides F9 to show/hide the speedbar, and set position to right.

strip.cfg

On save, automatically:

  • remove trailing spaces at end of lines,
  • assure an empty line at end of buffer

Keystrokes: None

tabbar.cfg

A very good customization for tabbar-mode.

  • Better faces for tabs.
  • Separate buffers in three independent groups: user files, dired and messages.

Keystrokes:

  • C-S-left and C-S-right to change among buffers in the same group.
  • C-S-up and C-S-down to change among groups.

toggle-split.cfg

Keystrokes:

  • C-x 4: Changes among vertical and horizontal two-window layouts.

uniquify.cfg

uniquify customization to use directory instead of a number to differentiate buffers with the same filename.

Keystrokes: None

zoom.cfg

It provides zoom on emacs in a similar way to web browsers or text processors suites.

Keystrokes:

  • C-<plus> or C-mousewheel-up: increases font size.
  • C-<minus> or C-mousewheel-down: decreases font size.
  • C-0 reverts font size to default.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.