The plug-in Drawit For vim to draw a text graph in vim, you can use the drawit plug-in [plain] + ------------------------- ++ ----------- + | + ------------- + | IDT table | <--- + -- | IDTR Register | C | + ----------- + P | ^ | U | + ------------- + | Local APIC | + ------ + | + --------- + ------------- + | | v + ------------- + interrupt ------> | io apic | + ------------- + many open-source documents are plain text, many of them are plain text. It is very convenient to have a plug-in called drawit, which is an English document:
[1] http://www.drchip.org/astronaut/vim/index.html?drawit%2] http://www.vim.org/scripts/script.php? Script_id = 40 [3] http://www.drchip.org/astronaut/vim/doc/DrawIt.txt.html refer to the documentation in [2], the installation process is as follows: 1) download Drawit, drawit download drawit.vba.gz 2 from vim.org [2 via vimball) use vim in the current directory to open the file vim DrawIt.vba.gz and execute the following command in vim to install: so % exit vim. vim has two more plug-ins ls ~ /. Vim/plugin/cecutil. vim DrawItPlugin. vim: If so % is executed, The following error is reported: (Vimball) The current file does not appear to be a Vimball! (I used Fedora17, that's the problem) download DrawIt from [1] and try again wget http://www.drchip.org/astronaut/vim/vbafiles/DrawIt.vba.gz 3) Use vim test to input \ di in command mode, enable drawit (or execute: DIstart) and then enter the upper and lower keys to see the effect. to end the drawit mode, Type \ di, or: DIstop common symbols and key ing relationships are as follows: up, down, left, and top arrows ^ down arrow v left arrow shift + <right arrow shift +>