gvim

justify my love of gvim

I have been using gvim at work for a year or so, just at the point where I'm loving it, getting the hang of it and trying to j,k all over Microsoft Outlook. Then my computer died. Now, originally I had installed gvim myself, which at the time was a "no-no" and is now is really a bad idea (what with all the people introducing viruses to...

Vim: gf opens directories, not files

I am trying to configure vim's 'path' and 'suffixesadd' so when I use gf over FILE_NAME, and pwd is /some/dir/, it opens /some/dir/FILE_NAME/File_Name.xml In vimrc I put: set suffixesadd=.xml set path=.,dir/** But, instead of opening File_Name.xml it opens the directory FILE_NAME What should I do to configure vim so it looks for fil...

NERDTree open in a new tab, as last tab in gvim?

In NERDTree ShiftT opens file in a new tab, but tab is positioned after the tab in which NERDTree is opened. It is possible to open the new tab at the end of tabs? ...

Regular Expression in gVim to Remove Duplicate Domains from a List

I need a regular expression written to use in gVim that will remove duplicate domains from a list of URLs (gVim can be downloaded here: http://www.vim.org/download.php I have a list of over 6,000,000 URLs in a .txt file (which opens in gVim for editing). The URLs are in this format: http://www.example.com/some-url.php http://example2...

How come whenever I run 'gvim' from Terminal in Ubuntu 10.04 Linux, I get a GLib-GObject-CRITICAL gvim error?

When I run gVim from Terminal in Ubuntu 10.04 with Gnome I get this error: (gvim:6226): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed It looks like that everytime except that the number in between the parans (gvim: ) is always slightly different. How can I fix this with out having to run gksudo gv...

Gvim delete buffer when close tab

How to delete buffer when after right click on tab I choose close? ...

Disable Scrollbar in NERDtree with MacVim

I have been able to fully disable scrollbars in MacVim. However, when I startup NERDtree, NERDtree brings up a scrollbar of it's on the left. How can I disable NERDtree's scrollbar? Thank you in advance. I appreciate the help. ...

Can't use macro more than once in gVIM

in gVim, I am trying to do q 2 dd j q Then @2 at several points later. It works the first time (meaning vim deletes three lines and moves down when I type @2), but anytime after that, my screen blinks and the cursor moves down once. Is there a setting I need in vimrc or something to allow this macro? ...

What is the best way to do smooth scrolling in vim?

The main scrolling commands in VIM are: 1. Ctrl-B and Ctrl-F, as well as PageUp and PageDown scroll by full page 2. Ctrl-U and Ctrl-D scroll half a page by default 3. Ctrl-Y and Ctrl-E scroll one line I lose visual context every time for the former two, so I have developed the bad habit of hitting the latter (Ctrl-Y and Ctrl-E) repetiti...