Skip to main content

Home/ Groups/ VIM Editor
1More

clipboarded: vim as an IDE - 0 views

  • File exploringAlright. You need two plugins, NERDTree and BufExplorer.NERDTree is started by typing :NERDTree and it will give you a much better file explorer than any other IDE. BufExplorer is started by typing \be and it will allow you to access a list of recently used files, and switch between them quickly.You might also want to bone up on windows and tabs (:help windows and :help tabs)
3More

Renumbering lists automatically within vim - 0 views

  •  (1) blah blah  (2) more blah blah (3) still more blah blah (4)... (5)... Now I finish point (2) and delete the line from my list. I manually renumber a long list for all points after (2). Does vim make this task any easier?
  • There's visincr... You can get visincr from:
  • Abusing the "\=" replacement evaluation described at    :help sub-replace-special you can do something like   :.,$s/(\zs\d\+\ze)/\=submatch(0)-1
1More

Vimplugin - The best of two worlds [Vimplugin] - 0 views

  • Vimplugin is an Eclipse plugin that brings the power of the editor Vim to the Eclipse IDE. Vim is one of the most powerful editors around. But it is not an IDE. On the other hand, Eclipse is one of the most powerful IDEs. But its editor lacks many of the features vim offers. Vim is lean, Eclipse is extensible. So, just take the best of two worlds.
1More

python_match.vim - Extend the % motion and define g%, [%, and ]% motions for Python fil... - 0 views

  •  
    This script redefines the % motion so that (in addition to its usual behavior) it cycles through if/elif/else, try/except/catch, for/continue/break, and while/continue/break structures. The script also defines g% to cycle in the opposite direction. Two ot
1More

VimOutliner.org :: Work fast. Think well. - 0 views

  • Vim Outliner is a vim plugin that turns the powerful vim editor into a powerful outliner of the likes of GrandView, More and MaxThink. It is keyboarder friendly and very fast. If you can touchtype, you can outline as fast as you think.
1More

genutils - General utility functions : vim online - 0 views

  • This script provides many useful utility functions for buffers, windows and other misc things. I needed a place to share all the misc. utility functions so I renamed bufNwinUtils.vim and started adding these additional functions. I intend to create/collect many more useful functions and add to this script.
1More

vim : Message: RE: repeating action between marks - 1 views

  • RE: repeating action between marks >Say for example I'd like to indent the text between lines 10-20. I'd >like to use marks points to indicate the lines through which to >repeat the last action I performed on a single line (in this case an >indentation), how would I do that? >I know I could for example do some regex like this: >:'a,'bs/^/ / >and clearly I can do this with a visual selection. >but how could I repeat the last action I performed over two marks: >:'a,'b<something goes here to indicate 'repeat last action'> '&' is a good start. Eg, if I use a 's///' command on one line just to see if it works as expected, I can repeat it through the entire file with :g//& :.,$& :15,20& etc., and it'll redo the 's///' command on the rest of the file or whatever limits you impose. If you do a non-'s///' command, eg, ":10,30>" to indent lines instead, you can look for patterns, etc., and do things like :/beginpattern/,/endpattern/> too. Not quite sure if that's what you were asking about, but if not, just yell back...
1More

shortcut for ex ranges - vim_use | Google Groups - 0 views

  • > Hi, > After reading the thread on asynchronous processes I was just looking > at the help for the ! command which I rarely use, and after playing > with it I realized that it translates a motion from normal mode into a > range for an ex command, i.e. doing !2j gives you an ex command line > of :.,+2! to start your filter with.  This made me wonder: Is there a > way to do this without the filter?  In other words, instead of having > to type :.,+2s I could get there with a 2j combined with something.  I > realize I can do it with the ! itself by just backspacing over the ! > at the end of the ex command, but is there a more 'official' way to do > this? No, there isn't. But in your example, you know the number of lines you want to get in your range, so you can type     3: to get     :.,.+2 In general: !2j  has the form {operator}{motion}     :h operator You can create a custom operator (and name it e.g. "g:") with     :h g@ Once it has been done here (from Jan 2008, see the whole discussion) http://groups.google.com/group/vim_dev/msg/c6fb56645c188244 The details are somewhat tricky (if this reads better than ugly ...).
1More

Vim as Development Environment » Articles » Lucumr - 0 views

  • The Wildmenu The best vim feature is the wildmenu. Add a set wildmenu to your vimrc and discover the possibilities of filesystem surfing ^^ Enter :e in the command line and press ^D. Vim will show you all possibitilites in a nice little window. By entering the start of a filename and pressing tab it completes for you then. If it was a folder you can now press ^D again to get the contents. Once you finished the command this window will disappear again and you can continue working. Works of course for all commands not only the open command.
1More

SourceForge.net: pyclewn - 0 views

  • Pyclewn is a python program that allows the use of the vim editor as a front end to a debugger. Pyclewn currently supports the gdb debugger.
1More

Tip #1439 - Using vim as an IDE all in one : vim online - 0 views

  • I've read a lot of tips about how to make vim as an IDE like editor. Most of them are really useful, and I want to sum up them in this tip, and then add some of my experiences.
1More

Search for visually selected text - Vim Tips Wiki - a Wikia wiki - 0 views

  • With the following, you can use g/ (or g?) to search forwards (or backwards) for the currently selected text.
1More

VimMate - 0 views

  • VimMate is a graphical add-on to Vim with IDE-like features: it does more than the plain Vim while still being lightweight. Even with the additional features, it stays out of the way for it's main task: editing files with Vim. VimMate adds functionality to Vim by embedding Vim GTK GUI (gVim) within VimMate.
1More

[vim] deleting a pair of matching (), [] or {} - Application Development and Programming - 0 views

  • Assuming you're in normal mode and cursor is on a '('. %x<C-O>x -ap
« First ‹ Previous 61 - 80 Next › Last »
Showing 20 items per page