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

learn more… | top users | synonyms

1
vote
2answers
468 views

gvim startup slow: huge GUI delay

vim starts up quickly. gvim takes ages, with or without loading plugins. The --startuptime option shows: 733.162 467.301: starting GUI 733.945 000.783: reading viminfo 25801.849 25067.904: GUI ...
1
vote
2answers
682 views

Shortcuts in gvim

I'm trying to migrate from Windows to Linux and am having difficulties with the shortcuts in gvim. For something as simple a copying you press "+y and I'm wondering 1)does order matter when ...
1
vote
3answers
106 views

How to Copy words highlighted after search directly into command line with shortcut?

Here is the situation, for example, I have several lines like this: foo test foo I searched "foo" with "/" and all the two "foo"s above are highlighted. And now I want to replace "foo" with ...
1
vote
1answer
1k views

Gvim fails to open: E25: GUI cannot be used: Not enabled at compile time

I'm new to Linux, and I just installed Linuz Mint under VMware Player. I'm trying to learn how to program, and I was trying Gvim (Vim's GUI). I installed Vim using sudo apt-get install vim and tried ...
0
votes
2answers
86 views

How to unbold listchars

My listchars characters looks like they are in bold as shown in screenshot below. How do I unbold them? I think it's set under the colorscheme but I don't know which setting to change.
2
votes
1answer
128 views

vim on Windows -Turn syntax highlighting OFF

I have downloaded Vim 7.4 on Windows 7 64 bit, and would like to turn off syntax highlighting. I have been using Vim for a long time on Unix, so I know to place "syntax off" in my vimrc. However, ...
0
votes
1answer
62 views

regarding swp files and same file opened in different vnc

I have different VNCs at work and many times, i forget to save or close some files opened in gvim. Later, I'll open up the same file in another VNC. Though it'll tell me that it is already opened ...
1
vote
2answers
786 views

Why there are '~(tilde)' in every file's extention when I edited with gVIM?

I'm using gVIM on Windows. Everytime I edit text file and save it, VIM makes a file with '~(tilde)' in extention - like this : 'crappycode.txt~' It's so annoying that I have to delete it manually. ...
1
vote
1answer
2k views

Why isn't the scripts in my autoload folder being executed in Vim?

I'm trying to use Pathogen to manage my Vim extensions. My bundle folder looks like this: .../bundle/ ├── vim-pathogen │   └── autoload │   └── pathogen.vim └── vim-smoothscroll └── autoload ...
0
votes
0answers
1k 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 ...
0
votes
1answer
313 views

Czech language input method and font support in gvim 7.4 on Windows 7

I would like to reopen a question related to the following: (Czech) character set support in gvim 7.3 on Windows 7 Basically, in that post I noticed that some Czech characters were being displayed ...
1
vote
1answer
86 views

Return control to shell DURING `gvim -f`

I occasionally use gvim -f to start gvim but force the shell to wait for the gvim session to end before resuming execution of whatever it's doing (for instance, I usually edit my bash aliases using an ...
0
votes
1answer
610 views

Gvim on Windows 7: ALT codes not working

I would like to be able to enter ALT codes in Gvim on Windows 7 as documented on the following site: Alt Codes On Windows (Windows 7 in my case), to generate a character via an ALT code you ...
0
votes
1answer
97 views

vim default save is no file type? default setting advisable?

I just came across a problem that I seemed to have found a solution, but was a little surprised by the issue. In gVim, when I save a new document (new from "within" gVim), ala :w afile I ...
0
votes
1answer
26 views

mvim: display number of columns in window?

I'm transitioning to MacVim from terminal vim, and I've gotten used to the "80 x 24" display at the top of terminal windows (COLS x ROWS). Is there a way to enable some such display in MacVim?
3
votes
1answer
378 views

Unable to copy from vim to system clipboard

I read and tried several different solutions but I am still unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard ...
0
votes
2answers
101 views

Multi level or progressive or incremental file search [closed]

I am looking for a GUI tool in Windows, where I can do search and pass the result to next search and continue. I know I can do this in command line by piping one search result to another, but I am ...
4
votes
0answers
129 views

Windows 8 start screen does not do partial name matching for all apps

When I bring up the Windows 8 start screen and start typing the name of an App, it will do a partial match, on most apps but not all apps. For example, if I type "wor" it finds "Word 2013" and ...
1
vote
1answer
145 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
612 views

How to compile a gvim from source using the latest version? [duplicate]

I'm using Ubuntu. I performed the following commands in the vim source folder: sudo apt-get build-dep vim ./configure --with-features=huge --enable-gui=gtk2 --enable-rubyinterp=yes ...
0
votes
1answer
124 views

gvim mapping keys to ex commands while in visual mode?

So in gvim, after I press <Shift> + v it goes into visual mode. I normally have an ex command set for the letting 'm'. When I go into visual mode and then hit 'm' it says No range allowed ...
3
votes
1answer
122 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 = [ ...
3
votes
2answers
92 views

Replacing the pager inside vim?

Note: Not using vim as a pager. That's covered extensively on the Internet. When you press Tab to complete various kinds of stuff inside vim/gvim, it brings up a fairly basic pager. For example, ...
1
vote
2answers
1k views

gvim how to change exisitng colorscheme's syntax colors?

I use gvim and the color scheme which I use is called 'slate'. I mostly just code in python, html and css and I like slate's syntax coloring except for a few syntax colors. Is it possible for me to ...
3
votes
1answer
2k 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
1answer
255 views

gvim how to change entire background color

Okay so im my .vimrc file, I did type hi Normal guibg=#000000 changing the background color to black, however, this only changes the background color of the lines where I have typed out text. If ...
0
votes
1answer
220 views

gvim how to remove word highlighting

Okay so I am using the 'slate' color scheme in gvim and it is really great and I like it a lot except recently I have starting working with html and css files and for some reason, it starts ...
0
votes
0answers
120 views

gvim how to open different FileTypes in different color schemes

okay so I want gvim to open all my files using the 'slate' color scheme except for .html and .css files. I want it to open .html and .css files using the 'ron' color scheme. I tried doing colo slate ...
1
vote
1answer
147 views

(Czech) character set support in gvim 7.3 on Windows 7

I have received the following text on a Skype conversation, so I assume it is encoded in UTF-8. The special characters are from the Latin 2 (e.g. Czech) character set. Štěpánka Now I have tried to ...
0
votes
1answer
124 views

SingleCompile plugin Installation in vim

I'm using debian wheezy. I've downloaded SingleCompile plugin and I installed in vim 7.4. As there's no directory like ~/.vim I created one using mkdir ~/.vim and move the extracted plugins to ...
2
votes
2answers
121 views

Opening search results with Vim ONLY if they exist

:) In my never-ending effort to get lazier, I am looking for a way to improve my "Open Grep/Ack-results in Vim"-snippet. What I'm currently using to open found files is: vim $(ack -il "pattern") ...
0
votes
1answer
76 views

Move display line with Ctrl-E in Vim?

I've set noremap j gj and k gk in gVim for particular filetypes, to make Vim move by display lines rather than "actual" lines during navigation. However, I also frequently use the Ctrl-E shortcut to ...
3
votes
1answer
565 views

'Fixing' the right click menu in gvim in Ubuntu

I have installed gvim in Ubuntu 12.04 and it has no right click menu. For example, if I select a block of text and right click in the region, the size of the selection changes up to the cursor ...
1
vote
1answer
746 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 ...
1
vote
1answer
1k views

Unable to load any usable fontset

I have recently upgraded to VIM 7.4 from 7.3 on system A, and set up a clean install of 7.4 on system B. When launching gvim on A I get : Warning: Missing charsets in String to FontSet conversion ...
1
vote
2answers
392 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 ...
0
votes
1answer
50 views

Why is GVim displaying the output from system() function as ^M and ^@

function! g:insert_date() let l:pattern="\\d\\{2}:\\d\\{2}" let l:match=match(getline('.'),l:pattern) let l:curline=getline('.') echo "Current line: ". l:curline normal gg ...
0
votes
1answer
146 views

Start gvim at specific line, from a doubleclick on line in sumatraPDF

I use sumatraPDF and gVim to edit LaTeX files. Sumatra supposedly has a feature to open an editor at a specific line by the variable %l. As far as I can see, I can start gVim with the +<num> ...
0
votes
3answers
426 views

Making MacVim/gVim “block” the terminal until closed

A long time ago, before I switched to vims, I used an editor for OS X known as TextMate. (Anyone remember that? ;) Its command-line binary, mate, allowed for a mate -w flag, which would block the ...
3
votes
2answers
1k 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 ...
0
votes
1answer
235 views

gvim: Map a command which uses the current file name (%) in vimrc

In gVim in windows, I want to map a command in the vimrc file that uses the current file (%). I write something like: map <F5> !mycommand % But then, when gVim first loads, it runs vimrc and ...
0
votes
1answer
57 views

Autohotkey's text expansion not working in gVim

All other hotkeys are working, but a simple expansion like the following are not working. :*:po::p{^}o :oc:win::Windows They work fine on terminals and other applications, just not in gVim. I ...
3
votes
1answer
223 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?
1
vote
1answer
591 views

Open all files in a VIM split window view with grep/ack command

I did a ack-grep on files that contain a string. I then want to open these files in a VIM veritcal split window view. How can this be done via the terminal?
2
votes
1answer
113 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
198 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 ...
0
votes
1answer
207 views

Can I make the font size in my NERDTree window smaller than in all other windows of Vim?

Can I make the font size in my NERDTree window smaller than in all other windows of gvim? I like large font size of 15 but I'd like the folder tree window of NERDTree to be 12 - is this possible to ...
-1
votes
2answers
87 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
0
votes
1answer
762 views

How to run NERDTree manually it it was setup with pathogen?

I'd like to install NERDTree (I'm on 32-bit Win 7, anyway). And to make vim plugins management easier, pathogen needs to be installed first. So here's the steps: Take pathogen.vim and put it on ...
0
votes
1answer
984 views

gVim does not source .bashrc, .bash_profile, or .profile from non-interactive non-login shell

I have the following on my .vimrc set shell=C:/cygwin/bin/bash set shellcmdflag=-c set shellxquote=\" So the shell I am using is non-interactive and non-login. I thought that non-login shells ...