0
votes
1answer
36 views

Vim line numbers in insert mode

For some reason, Vim (gVim for Windows) turns off the line numbers when I enter insert mode. This can be rather jarring, because it shifts all the code to the right or left when I leave or enter ...
0
votes
0answers
50 views

“Open with… Vim” does not load _vimrc settings

I use Vim (gVim to be precise) to write and edit files. When executing the editor directly, everything works fine. But if I open a file using the "Open with..." command on Windows, the _vimrc settings ...
0
votes
1answer
352 views

Can't get vundle or neobundle to work on GVim on Windows 7 64bit

Can't get these add-ons (vundle or neobundle) to work on my Windows 7 machine. Everytime I try to install plugins I'm getting the following error messages: Error detected while processing function ...
1
vote
1answer
36 views

In gvim on windows C-] does not work (but C left mouse works)

For some reason the follow tag (ctrl+]) in gvim on windows does not work for me, I know that the tags file is loaded since the ctrl+left mouse button works as intended. There is nothing on the help ...
0
votes
1answer
64 views

How to use sudo tee in GVIM for Windows

Can I use something like :w !sudo tee % in GVIM for Windows? Is there any analogue? Or can I disable UAC for one program only and always run it as administrator?
2
votes
1answer
51 views

gVim for Windows: How to properly escape filenames that will be used with !start?

I have this piece of code in my .vimrc in order to make files of different types be opened in different gVim instances. function GetSvrName(ext) if !exists('s:ext2srv') let s:ext2srv = [ ...
0
votes
0answers
31 views

Is there a way to use Tamil in Windows gVim?

Whether I type in new Tamil text or open a previously saved file, gVim displays only ??? characters in place of the Tamil characters. As I understand it, this is mainly a font issue, so: Is there a ...
1
vote
1answer
336 views

Changing drive in NERDTree (gVim, Windows)

If NERDTree starts up somewhere in the C: drive, once I reach C:\ itself (which NERDTree considers as "/"), I get the message "already at top dir" if I try to click on the double dot .. NERDTree's ...
0
votes
2answers
114 views

'show more fonts' option on gVim

In the Select Font... dialog of gVim, there's a link at the lower left that says Show more fonts. When I click it, I'm simply taken to the Fonts folder in Control Panel. How can I use that to set a ...
2
votes
2answers
461 views

How to invoke Windows' gvim in a Windows environment from within Cygwin?

When I give a gvim command in Cygwin, I want it to invoke the gvim I've installed in my Windows. I tried writing a function in my .bashrc called gvim that invokes the gvim.exe in my Program Files ...
2
votes
1answer
78 views

how to open cmd from gvim without waiting the cmd window to be closed

In gvim I can open cmd typying :!cmd, but gvim keeps waiting for the cmd window to be closed. Is there a way to tell gvim NOT to wait?
2
votes
1answer
92 views

gvim in windows, need to preserve or correct path casing (e.g., c:\windows vs. C:\Windows)

I use gvim in a windows environment and have ClearCase for source control. My problem is that windows paths aren't case-sensitive, however, ClearCase enforces case sensitivity. So, when editing a ...
1
vote
1answer
112 views

gvim view script output in realtime in quickfix window

I'm using gvim in a windows environment and have some custom scripts that I use to build with. Currently, all of my build output redirected to a new tab, but I have to wait for my build to finish ...
-1
votes
2answers
78 views

Is vim better installed in C:\Program files\

I've installed gVim and the install has gone into here: C:\Program Files (x86)\Vim Would there have been advantages to installing it in the following location?: C:\Users\myName\Vim
1
vote
1answer
156 views

How to change the default font of gVim

Edit: I moved the original question to 'The docked gVim in Windows 7 jumps upon tab switch' After struggling with my .vimrc, I am resorting to setting the font from windows registry instead, because ...
1
vote
1answer
310 views

Solved — Hide dot and dotdot (“./”, “../”) directories in NERDTree gVim

This is in gVim on Windows. NERDTree is registering ../ and ./ links in every directory. By the -> I thought perhaps they were shortcuts/symlinks that got added to all my directories, however in ...
1
vote
2answers
298 views

Git for Windows: Run vim in background without ampersand (&)

On my Windows machine, running gVim appears to tie up the git for windows shell, whereas if I run from the command prompt, this is not the case. How might I be able to run gVim (or any other program, ...
0
votes
1answer
85 views

Vim; Executing another application by :MyCommand

I want to execute "go install" in current directory (where currently open document resides) with a command (Like :GoInstall). How can I do that? Note: I want to see the output of that command too. ...
2
votes
1answer
119 views

How to force gvim to display All Files (*.*) in Edit File dialog box

I am using gvim on Windows 7. My question relates to the Edit File dialog box that appears when File->Open is selected from the gvim menu bar. At the bottom right of the Edit File dialog box is a ...
0
votes
2answers
904 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 ...
0
votes
1answer
246 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
2answers
3k 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
149 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.
0
votes
1answer
2k 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 ...
0
votes
1answer
504 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 ...
2
votes
2answers
906 views

How to open a new file in the current directory with gvim on Windows?

If I'm working on a file located on e.g. ~\myprojects\testproject\hello.txt and then want to open a new file in the same directory e.g. todo.txt (located on ~\myprojects\testproject\todo.txt), how can ...
1
vote
1answer
1k views

“E212: Can't open file for writing” when saving in gvim on Windows

I opened a new file with :e ~\mypath\myfile.txt using gvim on Windows. But when I try to save my file using :w I get this error message: E212: Cannot open file for writing How can I solve this? ...
4
votes
1answer
2k views

How to open a new file in gvim? E303: Unable to open swap file

I use gvim on Windows. How can I open a new file? I have tried with :e ~\mypath\myfile.txt but I get this error message: E303: Unable to open swap file for "C:\Users\Jonas\mypath\myfile.txt", ...
2
votes
1answer
2k views

How can I set the default font for gvim on Windows?

I use gvim on Windows. By default it uses the Fixedsys font, but I would like to use Consolas as the default font instead. I tried to set it using the menu option; it worked but it was reset the next ...
12
votes
3answers
9k views

Better GUI for vim?

I enjoy using vim, its endless features and the way it does things (for the most part). I've been using it on and off (not as my main editor) for at least 7 years now, so while I'm far from being an ...
2
votes
1answer
2k views

gvim font settings in windows

I want to use anti-aliasing and hinting with gvim on windows. On my *nix box I just added the following to my .Xresources file: Xft.antialias: true Xft.rgba: rgb Xft.hinting: true ...
6
votes
2answers
4k views

gVim - What is ctags, and how do I use it?

I am a regular gVim user on Windows, but don't do much more than install it, set up my small _vimrc file, and go. Now I am trying to both understand gVim Omni completion, and get it to work (I found ...
3
votes
2answers
228 views

Using Romanian keyboard with gVim

I'm using gVim to type in a journal paper that contains a lot of occurences of the unicode characters U+0219 "s with comma below" (ș) and U+021b "t with comma below" (ț). Both encoding and ...
1
vote
1answer
195 views

Edit files from Cyberduck in an existing Vim window

I use Cyberduck as my go to FTP client on Windows. I have but one complaint, and that is whenever I click the edit button to edit the remote file with a local version of gVim, it opens in a new ...
2
votes
1answer
894 views

How to get vim key-bindings for GVim in Windows?

GVim for Windows overwrites a lot of useful vim commands, such as ctrl+A and ctrl+Y. Is there a way to get these commands back without writing a remap for each and every command?
2
votes
2answers
461 views

How to view Windows eventlog items with GVim

Is it possible to read the Windows-eventlogItems using GVim? Our application logs errors in the eventlog, it would be nice if I could read them using GVim. A daily export to file is not an option: it ...
1
vote
1answer
393 views

GVIM to find and replace with a carriage return

I'm trying to automatically globally search through a file in a Windows system and replace certain strings with the found string, plus a carriage return (^r^n, or something like that). Here is what ...
0
votes
2answers
167 views

How to close last-opened tab in gvim?

How to close the last opened tab in gvim/windows without quitting gvim?
0
votes
1answer
352 views

Yank and put between two gvim instances in windows

I frequently work with a couple of gvim instances in windows, usually also with several tabs in each instance. Is is possible to have all the gvim instances share a common yank and put buffer, so that ...
4
votes
2answers
5k views

gVim utf-8 in windows

When I open gVim it's localized to Sweidish, which is fine. But warning/error messages that has Swedish characters in them don't display correctly. When trying to delete a buffer with unsaved changes ...
1
vote
5answers
1k views

Vimperator. Setting an external editor in Windows XP

This should be easy but I just cannot seem to get it working despite searching for answers, so I turn to you fine ladies and gentlemen. This is what my C:\Documents and Settings\user_vimperatorrc file ...
2
votes
5answers
670 views

How to hide gvim's backup files under Windows XP?

How to hide gvim's backup files under Windows XP? EDIT: I think I have mistaken backup files as swap files. Actually I mean the files that end with ~. Sorry.
4
votes
2answers
180 views

Preventing Windows version of Vim from destroying other file systems permissions

I am currently using the windows version of gVim to edit source files on a networked drive mapped to a linux system, as well as local files created in cygwin. The problem is that the windows version ...
1
vote
3answers
1k views

Alias to open gVim (Cream version) from Cygwin shell

I'm using the Cream version of gVim, and i'd like to make an alias to open files from a Cygwin shell in Cream. Running the gVim executable from Cygwin gives the following error (in a Windows cmd ...
1
vote
2answers
558 views

vimrc - Acess Denied

I'm trying to add in colorscheme desert at the bottom of my _vimrc file within Windows 7 and when trying to save it, I keep getting "Access Denied". I set my HOME variable to the "C:\Program Files ...
3
votes
1answer
886 views

Utf-8 option makes ALT key to insert accented characters in Vim. How to disable it?

I put the following lines to my _vimrc file in GVim on Windows XP: set encoding=utf-8 set fileencodings=ucs-bom,utf-8 Then, ALT key changed its behavior in insert mode. Now, ALT key inserts ...
1
vote
2answers
345 views

How to Hide or Delete Files created by Vim in Windows?

Whenever I open a file with Vim, the program automatically creates a copy of the file ending with a tilde~ When I'm done editing a few files, the folder is littered with extraneous files ending in ~ ...
1
vote
2answers
120 views

gVIM settings based on file opened, on Windows

I wish to set some gVIM settings based on the file I am opening. Specifically, when I open my file Activities.txt I want to set the window width to 40 columns and the height to 50 rows. I believe I ...
3
votes
2answers
1k views

How to make gVIM portable

Is it possible to make a default gVIM installation (Windows) portable so that I can carry it on a USB stick? I know there are a few portable distributions out there, but they all seem to be ...
6
votes
2answers
4k views

How do you change the default colorscheme in gvim?

In GVIM for Windows I know you are supposed to be able to add something to the $VIM/_vimrc file in order to customize the start up and I have managed how to figure out a few neat tricks with that but ...