際際滷

際際滷Share a Scribd company logo
10      Vim


     mootoh
Vim M #1
Vim M #1
Emacs



? wb-line-number
 ?   http://homepage1.nifty.com/blankspace/emacs/wb-line-number.html
Vim M #1
Reading
 Vim
?               ?   GUI


?               ?   UI


?               ?
?

    wc *.[ch] ★ 373,424
?   buffer.c    ?   memline.c

?   edit.c      ?   move.c

?   eval.c      ?   normal.c

?   ex_cmds.h   ?   ops.c
    ?   ex
                ?   search.c

?   ex_+.c      ?   undo.c

    ?   ex      ?   structs.h:
                    ?
?   getchar.c

?   main.c      ?   vim.h

?   mark.c

?   memfile.c
?   diff.c            ?   misc?.c

?   feature.h         ?   option.[ch]

    ?   WITH_FEATUE   ?   proto.h


?   fileio.c              ?
?   fold.c            ?   quickfix.c

?   globals.h         ?   regexp.[ch]

    ?                 ?   tag.c


?   hardcopy.c        ?   version.[ch]


?   hashtab.c         ?   vimio.h


?   keymap.h

?   macros.h

?   message.c
? arabic.[ch]   ? farsi.[ch]
? ascii.h       ? hangulin.c
? charset.c     ? mbyte.c
? digraph.c
 ?
?   os_*                ?   NetBeans

?   DOS                     ?   nbdebug.[ch]

    ?   dosinst.[ch]        ?   netbeans.c

    ?   uninstal.c      ?   Sun Visual Workshop

?   Windows                 ?   integration.[ch]

    ?   dlldata.c           ?   workshop.[ch]

    ?   glbl_ime.h          ?   wsdebug.[ch]

    ?   iid_ole.c       ?
    ?   vimrun.c
                            ?   term.[ch]
    ?   vimtbar.h
                            ?   termlib.c
    ?   xpsm_w32.[ch]
                            ?   pty.c
? GUI           ? UI
 ? gui_*         ? screen.c
 ? menu.c        ? ui.c
 ? popupmnu.c    ? window.c

                ?
                    ? if_*
?
    ? Just Single Directory
    ?
      ? : undo.c
?
    ? misc1.c, misc2.c...
a
? GDB attach
  ? CFLAGS = `-O0 -g¨
?                       b

?
b normal.c:8692
nv_edit


? normal.c: L8692
    ?   Handle "A", "a", "I", "i" and <Insert> commands.

?                               invoke_edit()
invoke_edit

? normal.c: L8792
?                   edit()

? edit
edit

? edit.c : L299
?
? ESC
fmfm
?             ?

? backtrace
bt
(gdb) bt

#0   nv_edit (cap=0xbffff9a0) at normal.c:8696

#1   0x000cc9a0 in normal_cmd (oap=0xbffffa50, toplevel=1)

               at normal.c:1152

#2   0x0009202c in main_loop (cmdwin=0, noexmode=0) at main.c:1181

#3   0x00091c43 in main (argc=2, argv=0xbffffbe4) at main.c:940

(gdb) fr 1

#1   0x000cc9a0 in normal_cmd (oap=0xbffffa50, toplevel=1)

               at normal.c:1152

1152         (nv_cmds[idx].cmd_func)(&ca);
? normal.c : L220
? nv_cmds:
 ?
? normal.c: L512: ?nd_command
 ?
!
? Vim
? `a¨
  ?
?       undo ?

More Related Content

Vim M #1

  • 1. 10 Vim mootoh
  • 4. Emacs ? wb-line-number ? http://homepage1.nifty.com/blankspace/emacs/wb-line-number.html
  • 7. ? ? GUI ? ? UI ? ? ? wc *.[ch] ★ 373,424
  • 8. ? buffer.c ? memline.c ? edit.c ? move.c ? eval.c ? normal.c ? ex_cmds.h ? ops.c ? ex ? search.c ? ex_+.c ? undo.c ? ex ? structs.h: ? ? getchar.c ? main.c ? vim.h ? mark.c ? memfile.c
  • 9. ? diff.c ? misc?.c ? feature.h ? option.[ch] ? WITH_FEATUE ? proto.h ? fileio.c ? ? fold.c ? quickfix.c ? globals.h ? regexp.[ch] ? ? tag.c ? hardcopy.c ? version.[ch] ? hashtab.c ? vimio.h ? keymap.h ? macros.h ? message.c
  • 10. ? arabic.[ch] ? farsi.[ch] ? ascii.h ? hangulin.c ? charset.c ? mbyte.c ? digraph.c ?
  • 11. ? os_* ? NetBeans ? DOS ? nbdebug.[ch] ? dosinst.[ch] ? netbeans.c ? uninstal.c ? Sun Visual Workshop ? Windows ? integration.[ch] ? dlldata.c ? workshop.[ch] ? glbl_ime.h ? wsdebug.[ch] ? iid_ole.c ? ? vimrun.c ? term.[ch] ? vimtbar.h ? termlib.c ? xpsm_w32.[ch] ? pty.c
  • 12. ? GUI ? UI ? gui_* ? screen.c ? menu.c ? ui.c ? popupmnu.c ? window.c ? ? if_*
  • 13. ? ? Just Single Directory ? ? : undo.c ? ? misc1.c, misc2.c...
  • 14. a
  • 15. ? GDB attach ? CFLAGS = `-O0 -g¨ ? b ?
  • 17. nv_edit ? normal.c: L8692 ? Handle "A", "a", "I", "i" and <Insert> commands. ? invoke_edit()
  • 19. edit ? edit.c : L299 ? ? ESC
  • 20. fmfm
  • 21. ? ? ? backtrace
  • 22. bt (gdb) bt #0 nv_edit (cap=0xbffff9a0) at normal.c:8696 #1 0x000cc9a0 in normal_cmd (oap=0xbffffa50, toplevel=1) at normal.c:1152 #2 0x0009202c in main_loop (cmdwin=0, noexmode=0) at main.c:1181 #3 0x00091c43 in main (argc=2, argv=0xbffffbe4) at main.c:940 (gdb) fr 1 #1 0x000cc9a0 in normal_cmd (oap=0xbffffa50, toplevel=1) at normal.c:1152 1152 (nv_cmds[idx].cmd_func)(&ca);
  • 23. ? normal.c : L220 ? nv_cmds: ? ? normal.c: L512: ?nd_command ?
  • 24. !
  • 25. ? Vim ? `a¨ ? ? undo ?