void grep_init(void) { funmap_add(compile_goto_error, "compile-goto-error"); funmap_add(next_error, "next-error"); funmap_add(grep, "grep"); funmap_add(compile, "compile"); funmap_add(gid, "gid"); maps_add((KEYMAP *)&compilemap, "compile"); }
void dired_init(void) { funmap_add(dired, "dired"); funmap_add(d_undelbak, "dired-backup-unflag"); funmap_add(d_copy, "dired-copy-file"); funmap_add(d_expunge, "dired-do-deletions"); funmap_add(d_findfile, "dired-find-file"); funmap_add(d_ffotherwindow, "dired-find-file-other-window"); funmap_add(d_del, "dired-flag-file-deleted"); funmap_add(d_otherwindow, "dired-other-window"); funmap_add(d_rename, "dired-rename-file"); funmap_add(d_undel, "dired-unflag"); maps_add((KEYMAP *)&diredmap, "dired"); dobindkey(fundamental_map, "dired", "^Xd"); }
void cmode_init(void) { funmap_add(cmode, "c-mode"); funmap_add(cc_char, "c-handle-special-char"); funmap_add(cc_brace, "c-handle-special-brace"); funmap_add(cc_tab, "c-tab-or-indent"); funmap_add(cc_indent, "c-indent"); funmap_add(cc_lfindent, "c-indent-and-newline"); maps_add((KEYMAP *)&cmodemap, "c"); }
void theo_init(void) { funmap_add(theo, "theo"); maps_add((KEYMAP *)&theomap, "theo"); }