All about the VIM editor in one of its graphical incarnations.

learn more… | top users | synonyms

2
votes
2answers
128 views

Vim: Moving around using relativenumber and adding it to the jump list for use with CTRL-O

I have relativenumber enabled and often navigate to a specific line by pressing 25k or 7j, etc. The problem is that after I've changed the line I often find myself wanting to go back to where I was ...
0
votes
3answers
155 views

In Vim, how to move text to be edited to the middle of the window?

Is it possible to have the text in a (g)Vim window in the middle? This is the default: And this is what I would like to achieve (mockup created with gimp):
2
votes
2answers
213 views

How to compile GTK2 on Linux machine without administrator privileges?

I'm working on a "SUSE Linux Enterprise Server 10 (x86_64)" machine, which has GVim version 6.4.6, which is quite old, and not supported by some plugins. This is a corporate machine, and no one will ...
2
votes
2answers
286 views

gvim missing menu on arch/xfce

See topic. set guioptions? guioptions=aegirLtmT The normal tip is to delete ~/.gnome2/Vim, but this file doesn't exist. The strange thing is that after installing some plugins, Plugin shows as a ...
1
vote
2answers
1k views

How do I compile gVim.exe as a 64 bit executable? (Windows 8)

Very straight-forward question. I have downloaded mingw32 and the Vim source code and I have edited Make_mind.mak to use the correct Python version and location. I'm located in the src directory and I ...
1
vote
3answers
1k views

How do I get Vim to automatically load .vimrc config from the current directory?

I have a few projects that need different commands for running, building and testing, so I've put a .vimrc file in each of the project directories that define mappings to some F buttons. In the vim ...
1
vote
1answer
573 views

gVim crashing while opening 8GB text file

I have an 8GB text file which contains output from a structural analysis program. The output is in the form of lines corresponding to time steps - with each line representing state of a system at a ...
1
vote
1answer
163 views

Using vim autocmd with edit problems

I'm currently attempting to create a basic screen layout for gvim that shows up every time it opens. I'm also attempting to open buffers in a certain window. Because of the GUI init timing I'm ...
1
vote
1answer
304 views

Monospace font which supports at least both of Korean hangul and the Georgian alphabet?

Being both a language enthusiast and a programmer, I find myself often doing programming or text processing involving foreign language alphabets and scripts. One annoyance however is that CJK fonts ...
3
votes
1answer
419 views

How to open gvim to current window in command line?

Background: I'm using Ubuntu and have an existing Gvim GUI opened. Now I want to edit a file from command line gvim test.txt, the command will open another new Gvim GUI. Is there any method to open ...
0
votes
2answers
297 views

Vim snippets pop-up but don't complete

I'm using spf13-vim in Fedora. When I try to use a snippet, I get options that pop up but when I don't know how to actually insert the snippet. For example, if I type for in a .cpp file, I get four ...
-1
votes
2answers
757 views

Paste multiple lines before a line in vim?

How do I copy multiple lines and paste them as a block before a line? As an example I have the following code and I want to copy and paste the three lines after the if statement to after the else ...
0
votes
2answers
159 views

GVim Windows 7 PATH issues

Interesting problem, I had a gvim73 distribution running under Windows XP. Worked great. Copied it to (it wasn't an installer, but an archive file + runtime files method of installation) Windows 7, ...
0
votes
2answers
359 views

Change location of gvimrc file on Windows?

Is there a way to configure gvim to look in a different location for gvimrc? I know about -U but I'm curious if there's another method. EDIT: I'm specifically looking for a self contained solution. ...
0
votes
1answer
46 views

Vim remap to change directory

I'd like to have a shortcut in gvim to switch directories. I have the following in my gvimrc. "noremap <F6> :cd "c:\\project\\working\\code"<return>" I can't get it to work, though. ...
1
vote
0answers
364 views

Remote GVIM with Xming hangs when lost and restored focus

I have a following setup: a Windows 7 laptop with Xming installed and FreeBSD with GVIM in VirtualBox. I set up everything (set DISPLAY env variable, opened ports, allowed Xming to accept connections ...
0
votes
1answer
210 views

How to compare two unsaved pieces of texts in Vim?

What I want to do is: (1) Copy a piece of code and paste into a buffer in Vim; (2) Copy another piece of code and paste into another buffer in Vim; (3) Compare these two buffers directly without ...
3
votes
1answer
369 views

Is there any way to use multiple fonts simultaneously in Vim?

I'm looking to use Consolas and Helvetica (for example) within the same buffer.
4
votes
1answer
370 views

Vim digraphs is not working

I've tried to input digraphs in Vim (without vi compatibility), and unfortunately I can't. After using ControlKP * it should input big greek pi letter. I've also tried using PBS * with :set digraph, ...
3
votes
2answers
633 views

Replace gvimext.dll in Windows 8

How can I get the "Edit with ... using tabs" functionality in gVim on Windows 8 (64-bit)? I'd like to swap out gVim's stock gvimext.dll for one that adds an "Edit with ... using tabs" option to ...
1
vote
1answer
571 views

Look strange on gvim after applying Source Sans Pro font

I downloaded the Source Sans Pro font and install on my Fedora17(Xfce). I did mkfontscale, mkfontdir, fc-cache -fv, and after fc-list, could see it on the list. Then I changed guifont in gvim to ...
1
vote
1answer
208 views

Vim - web Preview files in Browser

I have been toying around with vim. I have too many plugins and unknown things in my vim rc. Going to start again with it basic. Wanting to get back into vim and use it as a web editor. One thing I ...
0
votes
1answer
81 views

How to convert part of file to lowercase?

Using gVIM on XP How can I convert the left side of this file to lowercase while keeping right side unchanged? %s/**what goes here?**/g CONVERTTOLOWERCASE###Keep CaSe AAAA###AeiOu BBBB###qWerTy ...
2
votes
1answer
858 views

VIM: how to select a line, up to the cursor, including the char under the cursor?

From normal mode I select what's before the cursor with: v<Home> Is adding to the selection what's under the cursor possible? Thanks!!
3
votes
2answers
395 views

Different size text for different lines: GVIM or any other IDE

In an effort to get more lines of text on the screen in widescreen monitors1 I have tried decreasing the font size. I find that I can get enough2 lines of text at font size 8px or 10px, but I prefer ...
1
vote
0answers
165 views

gvim case-insensitive not working on Solaris 10

Ok, so totally frustrated here. Running gvim (VIM - Vi IMproved 7.1 (2007 May 12, compiled May 27 2008 23:56:31). Have set up my .vimrc to have case insensitive search (set ic). ( No difference ...
3
votes
3answers
470 views

Bidi support in Vim, should I revert to Notepad++?

Good day everyone, Seven weeks ago, I started learning Vim. I tried it in the past a lot, but this time wasn't like every instance in the past. I got it, and Vim became a habit that I can't quit. I ...
0
votes
1answer
674 views

How to install macvim on OS X 10.7 Lion from its .tbz package?

I got a .tbz file from http://code.google.com/p/macvim/ I am a new Mac User. And i would like to use macvim for my development. How can I upzip this file and make installation for that .tbz file? ...
2
votes
2answers
183 views

vim (gvim) marking occurrences on the vertical bar?

When I search for a string, vim(gvim) highlights all the occurrences, which is great. But is there a way to show the occurrences with markers on the vertical bar on the right hand side, so if I click ...
4
votes
1answer
59 views

How to use Vim buffer window as Unix Shell

Is it possible use a split a window in (g)vim as unix shell?
1
vote
3answers
540 views

Missing toolbar in gvim 7.3

I recently compiled gVim 7.3.592 using gcc 4.7.1 from the MinGW distro available through nuwen.net. It was built with Python 2/3 and Ruby language interfaces (or more specifically, I had set the ...
2
votes
1answer
2k views

gvim on Lubuntu [duplicate]

Possible Duplicate: How to install gvim on Ubuntu 10.10? I can't seem to use gvim on lubuntu. After installing vim with sudo apt-get install vim I cannot seem to start it: $ gvim The ...
2
votes
1answer
253 views

Is it possible to show gridlines in the background in vim?

Is it possible to show gridlines in the background in vim (ideally each four characters)? Or, if not possible in vim, is it possible in MacVim?
3
votes
2answers
328 views

in Vim, how can i select enclosing block or paragraph

I want to select a current block recursively . for example i have this ruby code 1 def function 2 if true 3 if also_true 4 do this 5 end 6 end 7 end for example im in the 4th ...
1
vote
1answer
1k views

How to move previous opened file in NERDTree?

Does NERDTree have a stack to track opened files? I want to go back to previous file easily(As like ctags does by Ctrl+T). But I can't find the feature in it's manual. Is it even possible?
1
vote
1answer
407 views

How can I set Vim to obey accents of my spoken language?

When pressing w or e in sentences with accents (written in my native language), such as the first one (marked **) here: **Éj-mélyből fölzengő** - csing-ling-ling - száncsengő. Száncsengő - ...
1
vote
1answer
337 views

Python not Working in Vim

I have a new install of VIM from the automatic windows installer: gvim73_46.exe I have Python 2.7 (32 bit) installed. If I open gvim, and type: :set python? I get E518: Unknown option. If I try ...
10
votes
3answers
4k views

Vim - dynamic list of open buffers in a window

I've investigated a few ways to maintain a list of open buffers in Vim, and some of them are very good, but none of them seem to behave the way I'd like. It's very possible that nothing like what I ...
1
vote
1answer
531 views

Setting 'dead' area background colour in gVim

In gVim on Linux (confirmed on Windows as well), depending on the selected font family & size and the window dimensions, sometimes a 'dead' area appears on the right and bottom of the window as ...
2
votes
2answers
679 views

How to disable mouse in gvim without breaking selection?

If I select text from command-line vim and copy it to the clipboard, it includes line numbers (from set relativenumber). Gvim is smart about selection and does not copy the line numbers. However, if I ...
1
vote
2answers
6k views

VIM: Save a file as a different filename, but keep :w as the current filename

As a sort of poor-mans version control, I need to save a file someFile.c as someOtherFile.c, but I want :w to continue saving as someFile.c. Is this possible? The environment is Windows XP SP3, but I ...
0
votes
1answer
169 views

GVIM: diff against the saved file in Windows

Under Linux, I diff the currently open file against the saved file like so: :w !diff % - Is there any way to do this under Windows in GVIM? Thanks.
1
vote
1answer
3k views

No syntax highlighting in GVIM on Windows with _vimrc

My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not perform syntax highlighting if there exists a _vimrc file, at least not PHP and C. Even explicitly mentioning set syntax=php I get ...
4
votes
1answer
540 views

Is it possible to get gVim to execute external commands in cygwin by default?

Is it possible to get gVim (on windows) to execute external commands in cygwin by default? i.e. !ps will open a cygwin terminal showing the currenty running processes?
0
votes
1answer
610 views

How to set PHP syntax highlighting in GVIM on Windows?

My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not seem to have PHP syntax highlighting. I have added this file to C:\Documents and Settings\myUsername\vimfiles\syntax and set this ...
1
vote
1answer
2k views

How do I install plugins in Gvim?

I want to do R scripts in Gvim. I downloaded a zip file called vim-r-plugin-0.9.6.zip Then what?
1
vote
1answer
546 views

Gvim --remote to open file and focus on the newly opened file

I got a fairly old gvim (6.3) on CentOS 4.5. There's no --remote-tab-silent option yet. Instead, I use --remote to open file in same gvim instance. However, there's a problem that all files are ...
1
vote
3answers
126 views

VIM disable highlighting upon search deletion

I recently learned a new shortcut in VIM that I find extremely useful. d/search_text Which will delete everything up to, but not including, "search_text", from the current position. However, the ...
2
votes
1answer
384 views

How can I set a particular shortcut key for an item in the Windows 7 Explorer right-click context menu?

For me, this issue is specific to opening files through the context menu with gVIm, but it probably applies to more general situations too. In particular, I want to get gVim to open a file with a ...
4
votes
1answer
145 views

What are those tildes in gVim for?

I realize this is probably a very, very obvious question, but I couldn't find anything on it. (Probably because it was so obvious) What are all those tildes in gVim at the end of the file? I can't ...