gVim's configuration file.

learn more… | top users | synonyms

0
votes
0answers
22 views

Hide buffers not tied to a file from bnext/bprev buffer list

I love VIM buffers and do use :bnext and :bprev to navigate my buffer list. I even have mapped them to <tab> when in normal mode. Simple and convenient: " Maping next/prev buffer to <TAB> ...
0
votes
1answer
25 views

How do I open multiple files as part of gVim's launch procedure?

I use gVim a lot in Windows at work to edit text files. I want $VIMRC to always be in buffer 1, and my vim_cheatsheet to always be in buffer 2. I tried putting "e $VIMRC" in my .vimrc, which didn't ...
1
vote
2answers
49 views

How to determine what buffer was changed externally with gVim?

I am using the following Vim autocommand in my .gvimrc file: augroup MyAuGroup autocmd MyAuGroup FileChangedShell * call FileChanedEvent_BuffUpdate() augroup END function ...
1
vote
2answers
102 views

Why is there a difference in the popup dialog from .gvimrc and command line?

I am using gVim's confirm() function to pop a dialog waiting for the user to click a button. However, there seems to be a difference in the appearance of the dialog when called from .gvimrc: Using ...
1
vote
1answer
61 views

Vim completion based on language

Right now if I hit ctrl + n it will complete words that are in the current document. I've also found a way to define a dictionary. I'm just unsure how to get vim to complete based on keywords in a ...
1
vote
1answer
239 views

Vim not making font italic when it should?

I use gvim and use the colorscheme called slate. I modified it a bit and saved the changes in .vim/colors/slate-mine.vim and all the changes take effect except for one. I wanted to make all comments ...
0
votes
1answer
231 views

Should I bother moving stuff from vimrc to gvimrc?

Is is worth moving gui-related options out of my vimrc and into a gvimrc if there's only a couple such options? I'm kind of inclined to keep everything in one place and house gui options inside if ...
0
votes
0answers
702 views

Gvim 7.4: how to save the default font setting? Any improvements from gvim 7.3?

As the following post demonstrates: How to change the default font of gVim on Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely ...
2
votes
1answer
800 views

how to turn off gvim error highlighting?

I use gvim as my text editor and the syntax coloring is great except it highlights "errors" and gives it a white background with red font. How do I turn off error highlighting? I find it annoying and ...
0
votes
2answers
67 views

What vim settings do I need so vim ftp write does not convert to dos format?

This question is really about being able to write a file using gVim or command line vim without its file type (Unix) being changed to DOS. This problem is not happening in command line vim directly on ...
0
votes
3answers
124 views

How to make my vim recognize filetype and load the corresponding syntax file

Currently, I load my syntax manually in vim by :set filetype=python. Depending on what kind of file I'm working on, I change it manually. I think there should be a more smarter way. Probably some ...
0
votes
1answer
104 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. ...
1
vote
1answer
158 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 ...
0
votes
1answer
45 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. ...
4
votes
1answer
524 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?
1
vote
3answers
125 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 ...
1
vote
1answer
218 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 ...
2
votes
1answer
802 views

Having files opening in tabs in GVim

I'm having trouble with gvim and tabs. Using Ubuntu, there is the gedit editor, which opens files in new tabs, but gvim opens a new window for each file i open. I definitely prefer to have tabs, just ...
2
votes
2answers
882 views

Gvim paste using Control+Shift+V, while leaving Visual Block Mode Control+V

Is there a way to map paste to control+shift+v, and leave visual block mode as control+v in gvim? I use both quite often.
5
votes
1answer
1k views

How to configure MacVim to quit on exit?

When I close MacVim using the standard vim command :q, the MacVim window closes, but the program is still running. This causes trouble when other processes try to spawn an instance of MacVim, because ...
0
votes
1answer
86 views

GVim Stop at end of line with arrows

When using the arrow keys in Vim on Linux, they act the same way as h and l , stopping when the end of a line is reached. GVim on Windows doesn't do this, instead allowing the arrow keys continue ...
2
votes
2answers
445 views

.vimrc use filename that is currently editing

I have a plugin for VIM which is basically provides an interface for my SVN (vcscommand.vim). And I've mapped :VCSUpdate and :VCSCommit commands of vcscommand plugin in my .vimrc. Everything is ...
1
vote
1answer
436 views

Running gVim on a USB Drive

How could I run gVim on a USB drive (I can't install software on the computer) preferably I'd like to load it on the USB drive with a mac (so I can't install an exe - but I could use a pc) and also ...
4
votes
3answers
5k views

How to make gVim transparent on Ubuntu 10.10?

I have a .gvimrc file that works fine on OS X 10.6, but won't work on Ubuntu. It contains a line that reads set transparency=15, and when i run gVim it reports: Error detected while processing ...
1
vote
0answers
409 views

Vim mapping acts different when switching between Mac OS X/Linux

I've been working with Vim on two different machines, one running Ubuntu 10.04 (gVim) and the other Snow Leopard (MacVim). I copied my .vimrc file and .vim folder to both, and noticed a few minor ...
0
votes
2answers
493 views

Ubuntu 10.04 problems - GVIM and Sound

Well, i have 2 problems .. not exactly problems, but one is a question, and the other is a problem . QUESTION I have installed gVim on my laptop and now i want to install plugins and customize my ...