Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
197 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
302 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
324 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
567 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
487 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
181 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
76 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
620 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
332 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
156 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 ...
2
votes
3answers
406 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
516 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? ...
1
vote
2answers
163 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
424 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
228 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
288 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
771 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
311 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
297 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 ...
9
votes
3answers
3k 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
420 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 ...
1
vote
2answers
618 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
4k 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
162 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
493 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
553 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
449 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
123 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
340 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
135 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 ...
1
vote
1answer
688 views

Snipmate + Pathogen + Git - Custom Snippets don't work on Windows

Here is my setup: My .vim directory is under source control with git I use Pathogen for managing my plugins My SnipMate plugin is a git submodule under .vim/bundle/snipmate This means I can't ...
1
vote
0answers
21 views

How can I select a vertical column of text in GVim? [duplicate]

Possible Duplicate: How to select a rectangular range in VIM? I am very new to Vim, I am using gVim for Windows... Is it possible to select a "vertical column" of text? If I wanted to ...
0
votes
1answer
152 views

Disable tab pages completely in vim

I want to disable tab pages in Vim completely to let Vim open every file in the same single tab page. How to disable tab pages in Vim?
3
votes
1answer
283 views

Can I view gvim tabs in separate windows?

I'd like different tabs to be visible at once, managed as separate windows (window manager windows, not Vim windows). This is impossible, right? Just checking.
0
votes
1answer
301 views

vim mksession colorsheme issue

I can sees that when I use mksession it writes file to save session. The file looks ok and session is loading ok. But It change my colorsheme when I load the session whith so. After session is opened ...
0
votes
1answer
320 views

vim missing bottom toolbar on Linux Mint

I've been trying Vim/Gvim, in both Windows and Linux (Mint), but something seems to be missing. I'm missing the bottom "status" bar on the Linux version, the one that indicates the key pressed. ...
0
votes
1answer
366 views

Changing gvim double-click behavior

When I double click in gvim it causes the current word to be selected. However, by default, a 'word' excludes special characters. I would like, for example, to be able to double click on a UNIX or ...
5
votes
1answer
365 views

!xdg-open <URL> doesn't open the website in my default browser

I am using gvim 7.3.401 on archlinux. The shell command :!xdg-open http://www.vim.org doesn't open my default browser with that link. In fact, it appears to do nothing. This works as expected within ...
1
vote
1answer
173 views

gvim text select with mouse misses last character

In gvim, if I click on a character and drag the mouse backwards in the text, I get a highlighted text selection. However, the actual character I click on, which I expect to be the last character in ...
2
votes
3answers
692 views

Should I learn Vim without mapping keys?

I have been using vim for a few months its been a love/hate relationship. I love the concept of modal editing and never having the need to move you hands from the keyboard. The problem is that a lot ...
1
vote
3answers
241 views

Is it possible to page up/down in Vim without moving the cursor?

Is it possible to move to another page in gVim without moving the cursor from its present location? Splits don't count :)
6
votes
3answers
4k views

Alternate page-up in vim?

I just stumbled on shift+enter to page-down in vim. I'm wondering if there is something as useful (i.e. easier to reach than ctrl+B) for paging up. I'm looking for something that is already there, ...
0
votes
2answers
578 views

How do I switch buffer with gVim?

If I create multiple buffers on gVim (gnome interface for vim), how do I switch buffer ? Vim doc says it's F8 key but it doesn't work... Any idea ?
1
vote
1answer
201 views

Opening files from Eclipse in gvim skips vimrc and gvimrc

When I try to open a file in an Eclipse project in gvim (using Eclipse's "open with -> other"), gvim seems to skip loading the global gvimrc and vimrc files and opens a bare white window with the ...
0
votes
1answer
224 views

set file type in vim according to the hashbang line

In vim, how can I set the file type not only according to the extension, but according to the #! line at the beginning? For instance, I would like vim to recognize files as coffee-script files when ...
5
votes
5answers
1k views

Disable mouse clicks in gvim on ubuntu

How do I make gvim ignore mouse clicks. I'm really sick of the trackpad making my cursor all over the place. I use xubuntu if that means anything.