Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gvim]

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

0
votes
0answers
79 views

Cant navigate or remove autocomplete popup in vim

I am using vim8.1 with YouCompleteMe plugin for auto-complete. When auto-complete list pop-up is triggered , If I ignore it and continue typing, nothing happen . But whenever I press arrow key, it ...
2
votes
1answer
320 views

gVim randomly spouting warning: invalid source position for vertical gradient

I run gVim from the command line and have for many, many years. But ever since upgrading to Ubuntu 18.04, I keep getting a long string of this warning a while after starting gVim: ** (gvim:5924): ...
0
votes
0answers
22 views

gigolo vim not working

I'm using Xbuntu 18.04 LTS. As usual I use Gigolo to connect to hosting by ssh. In file browser, Thunar, I can navigate files and folders and open/edit then in Gvim. I used that scheme many years. But ...
1
vote
0answers
222 views

Letter spacing for fonts in terminal / gvim at 7pt

After upgrading to 17.10, the letter spacing for fonts has changed at 7pt (above looks okay to me, although it might simply not be so apparent). Here is a screenshot from gvim from before the upgrade ...
0
votes
1answer
456 views

In gvim setting font size to 12 is not permanent and it is reverting back to 10 when I open gvim again

I am using Xubuntu 16.04 In gvim, by going to Edit ---> Select font I am selecting the font size 12. But after I close gvim and open gvim again I see that the font size has gone back to 10. How can ...
5
votes
1answer
1k views

Is there any way to write italic or bold in vim

Is there any way to write italic and/or bold in Vim?
1
vote
0answers
78 views

Gvim 8 keeps crashing on Ubuntu 16.04.2

I have installed the latest vim from Jonathon's ppa:jonathonf/vim but it keeps crashing even while opening a new file for editing with :e. I could not find any solution on the net. Has anybody else ...
1
vote
1answer
155 views

GVim menu bar is not working

I am using vim for some time now and wanted to start using it for my latex files as well. Since the tutorials on the vim-latex homepage use the gui version of vim to include templates etc., I thought ...
0
votes
1answer
71 views

Executing the "+p command

I'm trying to type "+ for executing the command "+p, but it doesn't work so far. Could anyone be able to tell me what I have to do to fix it? When I type :reg, I got the following picture : In fact,...
21
votes
2answers
22k views

What is the difference between Gvim and Vim?

Could someone please explain to me the differences between Gvim and Vim?
12
votes
3answers
2k views

How can I stop gvim from crashing when opening a file?

I am on Ubuntu Desktop 16.04 LTS and gvim (vim with graphical user interface) keeps crashing on me when I try to open any file using the GUI/menu. However, I was able to open a file from the terminal, ...
0
votes
0answers
182 views

Configure gvim for python

I changed from Arch to Ubuntu. I installed gvim via apt-get, but it used to auto indent a tablength of 4 spaces after keywords in python if working in .py files. This is gone now. I there a way to get ...
0
votes
1answer
988 views

Gvim won't launch after installing using software center

I'm using a fresh installation of Ubuntu 16.04 and have installed Gvim using 'Ubuntu Software'. Problem is- Trying to launch from the sidebar where the icon appears, nothing happens. Any clues? ...
6
votes
0answers
1k views

Installing vim latex-suite plugin?

I have installed vim-gtk and vim-addons-manager on my ubuntu 14.04, and also the latex-suite plugin. This I did with sudo apt-get install vim-latexsuite vim-addon-manager enable latex-suite which ...
1
vote
1answer
556 views

I can only launch gvim from the terminal and not from the Unity launcher

I installed vim-gnome and it works great when I launch from the terminal with gvim command. However, whenever I type vim or gvim in the launcher it finds nothing. When I launch from terminal it has "[...
2
votes
1answer
2k views

GLib-GObject-WARNING when closing gvim

I set my computer up new with Ubuntu 16.04 today. I already installed vim-gnome. While working with it, everything is fine. But when I close gvim I get this message in the terminal: (gvim:5834): ...
-2
votes
1answer
256 views

How do i use a color scheme on vim and gvim?

Both are installed on: ~/.vim/colors And are found on the command line: Link do Colorscheme - solarized Link do Colorscheme - sky
2
votes
0answers
1k views

How can I find the directory to clang-format

I use gvim to code and want to use clang-format as a plugin. As I read it is already integrated in vim. I just need to add this line to my .vimrc: map <C-K> :pyf <path-to-this-file>/clang-...
2
votes
0answers
95 views

I want to use Ruby built from source, and also use Gvim [duplicate]

vim-gtk and vim-gnome both have libruby1.9.1 as a package dependency (in trusty), which in turn depends on ruby1.9.1 and I fear doing sudo apt-get install vim-gtk will cause commands such as irb and ...
9
votes
2answers
4k views

Getting <ctrl> + <backspace> to delete words in gnome-terminal and vim insert mode

It seems like <ctrl> + W deletes backwards one word at a time. That's great, but I'd really really this work with <ctrl> + <backspace> like most other apps. What's the best way to ...
1
vote
1answer
87 views

Vim in shell allows <alt>[a-z] to circumvent having to press <escape> to get out of INSERT mode. How can I apply this to Gui implimentations of Vim?

Vim in shell allows <alt>[a-z] to circumvent having to press Esc to get out of INSERT mode. For example, Open up a terminal and set its editing mode away from emacs, to vi set -o vi Now enter ...
1
vote
1answer
1k views

How do I reset gVim completely?

I am using Ubuntu 15.04. I installed gVim using sudo apt-get install vim-gnome. After installing, I played around with opening and editing files and changing the colorscheme to Solarized. I then ...
0
votes
1answer
125 views

GVim extra linespace

I recently installed GVim and set the font to DejaVu Sans Mono size 11, but I noticed that there are 2 pixel lines between the lines, making the lines look apart. With linespace set to -2, the spacing ...
3
votes
1answer
1k views

Repair Vim editor

I'm running Ubuntu 14.04 and I have some troubles with Vim editor. First I was using the normal version preinstalled with Ubuntu, then I installed VI Improved from Ubuntu Software Center, with some ...
1
vote
1answer
164 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 MimeType=text/english;text/...
1
vote
1answer
502 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
640 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
280 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 ...
3
votes
2answers
688 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
570 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 ...
6
votes
1answer
7k 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
177 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
66 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 to work for other applications. For example I want to press F11 and my current running gVim ...
0
votes
1answer
2k 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
138 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 ...
1
vote
1answer
731 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 ...
3
votes
0answers
701 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
2answers
344 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). ...
34
votes
4answers
23k 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 ...
7
votes
1answer
4k 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
120 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
798 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) ...
7
votes
4answers
6k views

gvim produces error when hitting the close window

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): GLib-...
0
votes
1answer
418 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
779 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 ...
2
votes
1answer
714 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
423 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
1k 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
2k 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?
0
votes
1answer
362 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. ...