by gsvolt7 · 14y ago · 0 comments
i decided to write here how i use vim in no particular preference:
vim's J keystroke (that joins the line in succession with the one you're on) is the most frequent reason i use vim on whatever platform.
next, s/this/that/g search and replace is quick for regex based string replacements
next, vim -d file1 file2 visual difference is pretty great in console or in the gui mode (gvim)
next, on a unix system if you're dealing with C sources for a big project, ctags allows vim to provide the feature where you press CTRL-] and it takes you to the definition of that symbol. This is similar to other editor's right click and 'go to definition' context menu.
i'm not trying to sell vim to you or readers of HN; i'm simply advising to read :help in vim to the best of your abilities the same way you would read about other editor's help pages/cheat sheets and the sort to determine value for yourself. i do agree that examples sometimes enable you to associate with one or the other editor; i dislike using vim for editing all sorts of files. i use vim for things i can quickly get done in it, using other tools for whatever they're good at, if that makes sense.
Do you have a link to the port?