gVim is a powerful, feature-rich and highly configurable text editor

learn more… | top users | synonyms

1
vote
1answer
27 views

GVim no longer launches from Unity after customizing .desktop file

I customized the Exec line in: ~/.local/share/applications/gvim.desktop [Desktop Entry] Version=1.0 Name=GVim 7.4 GenericName=Text Editor Comment=View and edit text files ...
0
votes
1answer
19 views

Use gnome-terminal as the Fzf launcher in GVim

How can you use gnome-terminal as the launcher of fzf in GVim instead of the default xterm: https://github.com/junegunn/fzf let g:fzf_launcher = 'xterm -e bash -ic %s' I want to use gnome-terminal ...
1
vote
1answer
63 views

How do I set gvim as default application? [duplicate]

I compiled and installed vim 7.4 in Ubuntu 12.04. I want to set gvim as the default application for all text and C/C++ files. I tried : Right click > Open With Other Application. But couldn't find ...
0
votes
2answers
37 views

How to insert a line in vim

In my python application i need to write import import pdb; pdb.set_trace() for debugging. And after debugging line is removed. Is there any way in gvim to insert this line by key mapping, so that i ...
0
votes
0answers
96 views

How To Install Vundle on GVim in Ubuntu 14.04 64bit?

I want to install Vundle + YouCompleteMe Autocomplete Plugin in GVim on Ubuntu 14.04. How can I accomplish my task?
3
votes
2answers
146 views

Switch off search highlighting in gVim

When I do search in gVim (package gnome-vim), the search results are highlighted. How can I turn-off this highlighting when I don't need it any longer? Now it looks like persistent.
0
votes
1answer
81 views

I'd like to edit the window style for gVim is that possible?

I'd like to change the way gnome styles the window for gVim specifically (maybe firefox in the future) I want to remove the thin white/off white border, and possible recolor the title bar area to ...
1
vote
1answer
2k views

Which vim version can I use?

I recently installed vim on Ubuntu (14.04) with Unity. As it turns out, vim does not support yanking text to the clipboard (usind + or *). I read here that I have to install GVim in order to add this ...
1
vote
1answer
57 views

Nautilus open files in a running GVim instance as tab

Is it possible in (Unity) Ubuntu 12.04 to launch files in a running gVim instance as new tab from Nautilus? I can do that in a shell by 'gvim --remote-tab-silent' but i want this behavior also in ...
1
vote
1answer
37 views

Guake behavior for other apps

I use and love the guake terminal emulator, so i wonder if it is possible to get the toggle behavior work for other applications. For example i want to press F11 and my current running gVim instance ...
0
votes
1answer
650 views

Upgrade vim/gvim on Ubuntu 12.04

Ubuntu 12.04 has vim 7.3.429, which has an issue with match() function, because of it I need to upgrade vim and gvim. I need for vim >= 7.3.829 && <= 7.3.1268, or >= 7.4.018 (because of ...
4
votes
1answer
102 views

How can I launch a specific application bypassing the global menu in Unity?

So, trying to get up to speed with LaTex in vim/gvim... problem is the beginners tutorial for vim-latexsuite assumes gvim and the gui menus. Okay, got gvim right here. Problem is, under Unity and the ...
0
votes
1answer
72 views

Modifying the appearance of gvim

I wanted to set the color scheme of gvim to 'evening' and have line numbers displayed everytime I start. But I can't find the right .gvimrc file and how can I set these default settings. Help much ...
1
vote
0answers
143 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 ...
2
votes
1answer
191 views

Ubuntu 12.04 graphics crashing when GVIM opens TEX files

I am having a little problem everytime when I open GVIM to edit *.tex files. The Menus die, Windows jiggle (maximize and minimize quickly) and I get a internal error crash report from ubuntu (12.04). ...
24
votes
4answers
9k views

Gvim GLib-GObject-WARNING in ubuntu 13.10

I upgraded from ubuntu 13.04 to ubuntu 13.10 this afternoon. And when I try starting vim form the terminal after the upgrade, I get these warnings (gvim:4054): GLib-GObject-WARNING **: Attempt to ...
1
vote
1answer
676 views

vim-airline status bar not shown when only single file is open

I am recently start using Vim (Vim-gnome) and also use plugin vim-airline. Everything is fine but when i have only single file open, Status bar shown but not rendered correctly(not exact airline bar, ...
0
votes
1answer
86 views

How fix or reinstall Gvim in Ubuntu

I tried to use my .vimrc file from Windows in Ubuntu 12.04 but i am not having success. I also pasted the .vimrc file at the native vimrc file at usr/share/vim but no success. Tried to create another ...
2
votes
1answer
340 views

Optimizing GVim Fonts in Ubuntu 13.04

I'm using Tweak Tool to optimize font settings like anti-aliasing and font-hinting in Ubuntu 13.04. While this affects everything else on my system, the fonts in the GVim window (the actual code) ...
-1
votes
1answer
91 views

gvim produces error when hitting the close window on ubuntu 13.04

Everytime I close a gvim window with the little x on the window or Alt + F4. I get the following error and have to hit return to get my command prompt back. Has anyone seen this? (gvim:26639): ...
0
votes
1answer
320 views

gvim warning: LIBDBUSMENU-GLIB-WARNING

In gvim, if I do gvim . it uses netrw to show directory structure. Then if I open a file and then, without editting, do :E and then open the file again I get, LIBDBUSMENU-GLIB-WARNING **: Trying to ...
1
vote
1answer
245 views

Application running in foreground?

Gvim has the -f option. Its man page says, -f Foreground. For the GUI version, Vim will not fork and detach from the shell it was started in. What does this mean? I ...
1
vote
1answer
168 views

How to open scripts from Second Life viewer into console vim

I want everything that has to do with text to be edited within console vim with tabs. My problem is that I can't open files in console vim from GUI, I can only open them in gvim. Does anyone know ...
1
vote
0answers
133 views

Mapping Windows key in Gvim

How do I map the Windows key in Gvim? I've tried referencing it as T as suggested here and it doesn't seem to work.
1
vote
1answer
436 views

Anti-aliasing in Gvim

Apparently there's no anti-aliasing in vim-gtk in Xubuntu so the console version looks better than GUI one. Is there a way to turn it on?
1
vote
4answers
1k views

Problem installing latest vim on ubuntu 12.10

I am trying to install the latest version of vim on Ubuntu 12.10. But when I use this command sudo apt-get install vim It gives me such an error How to solve this?
15
votes
7answers
19k views

how can I change file association globally?

gedit is set by default to open about any source file. I've gone through the file properties and changed default application to VIM for C and C++ files. I'd need to do this for any source file I open ...
0
votes
1answer
302 views

Is Vim-gnome FuzzyFinder plugin broken since Ubuntu 13.04?

After Ubuntu 13.04 installation I simply unzip an archive with all my gvim setup, ie. .vim/ .vim-fuf .viminfo .vimrc After doing a clean install of Ubuntu 13.04, I unzipped my Vim config as usual. ...
24
votes
1answer
24k views

What is the difference between the different vim packages available in Ubuntu

The difference between vim-gtk and vim-gnome has been discussed here. Ubuntu usually offers more than these two options for vim : vim-nox vim-athena vim-* It is not clear which vim package ...
1
vote
1answer
149 views

Gvim always starts in the home directory!

I use gvim to edit my tex files and it is the default editor. So I just double click on the tex files to edit them and that opens them with Gvim. However, the working directory for Gvim is always the ...
3
votes
2answers
533 views

gvim doesn't show up in unity apps menu

if i enter "vim" in unity search (after pressing Super key") nothing shows up. I can only start gvim by using Alt+F2 and entering gvim. Why does this happen?
3
votes
1answer
278 views

Does vim support unicode?

I recently changed my system language to Tamil (a language used in India) from English. While I was enjoying Ubuntu in Tamil, my favorite editor vim has run into an issue because of the system ...
2
votes
1answer
923 views

How can I fix GVim Window size?

This might not be a bug, but I've installed the Vim plugin package, spf13-vim. My GVim window looks like this screenshot, which seems too big: This might not be an issue with spf13-vim, since ...
2
votes
0answers
302 views

How to edit files directly on server with GVim when ssh is mounted from Dolphin?

I would like to use GVim to edit external files that are accessed through Dolphin. I have an external server with files to be modified I access the server using SSH using Dolphin's built-in module I ...
2
votes
1answer
494 views

Using Vim as external editor using only one instance

I'm playing a game that has a scripting language. It has a button to open the scripts in external editor. You can set the command that will trigger the editor from within the game's interface. ...
2
votes
2answers
96 views

How to remove anomalous warning after closing gvim

I have added the function gvim(){ /usr/bin/gvim -f "$@" & true; } to my .bashrc file. but I still have a problem. I open file 111 with gvim and close it and a warning like [10]+ ... /usr/bin/gvim ...
5
votes
3answers
4k views

I can't install vim on my terminal

whenever i try to execute vim, the terminal shows this: The program 'vim' can be found in the following packages: * vim * vim-gnome * vim-tiny * vim-athena * vim-gtk * vim-nox Try: sudo apt-get ...
5
votes
1answer
497 views

Vim disables ibus IME — is this a bug?

I'm using ibus IME to input Japanese text into GVim. I have the following Vim script that I source when GVim starts up: autocmd InsertLeave * :call bug#onInsertLeave() function! bug#onInsertLeave() ...
2
votes
0answers
130 views

“Timeout was reached” error when opening file with gvim [duplicate]

I am new to linux Ubuntu 12.04. Every time I open a file with the gvim editor it gives me following warning: ** (gvim:4620): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached What ...
4
votes
1answer
213 views

Devanagari characters do not render properly in gvim

Devnagari characters do not render properly in gvim. They appear just as they do when typed in vim running in a terminal (consonants and vowels separated.) Is there any way we can make vim handle ...
0
votes
1answer
1k views

How do I fix the “Cannot source a directory: $HOME/.vimrc” error which pops up when I open GVim?

I created the $HOME/.vimrc folder manually. When I delete the folder the error does not appear.
4
votes
1answer
620 views

How can I put gVim in my gnome-shell favorites?

I use Ubuntu 12.04 with gnome-shell and I would like to have gVim in the favorites bar. How can I put it there? I can't find it under applications but it is installed.
1
vote
2answers
3k views

Can't install Gvim

I've installed Gvim and synaptic package manager on 12.04, Gvim had a warning each time I ran it from terminal. So I removed it and tried to install again but came with the following error from ...
2
votes
2answers
2k views

Why does it take so long to start gvim?

When I start gvim: $ date; /usr/bin/gvim; date Tue May 29 10:45:45 CST 2012 ** (gvim:6030): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached Tue May 29 10:46:11 CST 2012 To stop ...
1
vote
2answers
280 views

How do I make gvim start on desktop?

I mean, whenever I start and save files using gVim, have it know to save the files into my home directory. This is annoying because each time I save any file using any program then I save it on ...
2
votes
1answer
254 views

Keyboard shortcuts gone from menus in some programs in Ubuntu 12.04

I have noticed that keyboard shortcuts from GVim and Inkscape are gone from the menus of those programs in Ubuntu 12.04. In Ubuntu 10.04 these shortcuts were displayed in the menus. Are there ways ...
33
votes
5answers
12k views

How to get global application menu for gvim?

Gvim does not have a global menu (appmenu / application menu) in 12.04, and when starting gvim from a terminal, the following warning appears in the terminal after 25 seconds: ** (gvim:20320): ...
3
votes
1answer
2k views

How do I compile the latest gvim from source

I have found that I need to compile the lastest gvim due to a bug I have reported, but how do I proceed?
1
vote
0answers
194 views

How to skip to create Ubuntu Menu in status bar? [duplicate]

Possible Duplicate: How to get global menu for gvim? When I type gvim in the terminal, I wait for ~20 seconds, then I get this error message: ** (gvim:30499): WARNING **: Unable to create ...
5
votes
1answer
1k views

gVIM has too much space between characters

I installed ubuntu 12.04 lts yesterday, and didn't change any system setting, but gvim can't get correct font display, there's too much space between character. Screeshot : ...