When reading new code, especially code in a language I’m unfamiliar with, I sometimes have to translate each symbol/method very methodically in order to understand what the code is trying to do. Often, I’ll put my notes in the code as comments. While this helps me, this can make the code more bulky and difficult to read for those who are familiar with the code/language. Ideally, I’d like a vim plugin in which I can keep notes on a file, without actually changing it. Anyone know of such a plugin?
Although vimperator is awesome, I’ve run into a couple of snags.
For example, I haven’t figured out how to select text. From what I understand, to select text, you enter caret mode by pressing i, then hit v for visual mode, then use the movement keys (hjkl) to select the text. However, when I do so, I get this error message:
Processing keypress event: [Exception... "Component returned failure code: 0x80004003 (NS_ERROr_INVALID_POINTER) [nsISelectionController.lineMove]" nsresult: "0x80004003 (NS_ERROR_POINTER)" location: "JS frame :: chrome://liberator/content/editor.js :: anonymous :: line 148" data: no]
Anyone know why it’s happening? This ticket is the only thing that came up in a google search on the error.
Also, when I use the user command “goog” (as defined below in my .vimperatorrc file), I get this error message:
Anyone know of an easy way to see all of the keywords defined for Firefox and Del.icio.us? A google search didn’t turn up much.
FYI, I’m running Vimperator 2.1 running on Firefox/3.0.13 on Intel Mac OS X 10.5, rv:126.96.36.199.
Vimperator rocks!. My .vimperatorrc file is below the cut. Anybody else use it?