Menu

Emacs c-typer

emacs (1)
Aleksandr.Slobodeniuk

Description

Plugin for emacs that helps to insert trivial pieces of c-language code, like 'if' statement, for , etc.

You just type a keyboadrd combination, for example "C-c f", and it inserts for "statement"

for () {

}

Installation

just put next line to your ~/.emacs config:

(load-file "path to emacs-ctyper.el")

Usage

"C-c I" = #include
"C-c i" = " if " statement
"C-c f" = " for " statement
"C-c d" = #define
"C-c e" = find end of statement end insert else
"C-c s" = define new struct type
"C-c b" = insert break;
"C-c w" = "while" statement
"C-c D" = "do-while" statement
"C-c p" = ( *) pointer cast

Project Members:


MongoDB Logo MongoDB