Questions tagged [gvim]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Why there is a spinning pointer icon when lauching Gvim from Nautilus?

When I launch Gvim from Nautilus on Ubuntu 21.10 I have this spinning pointer icon (see pic) until I clic on the title bar or I resize the window or if I enter insert mode ! Is it normal ? It seems ...
user avatar
  • 51
0 votes
1 answer
26 views

How do I make gVim detect a certain font?

I recently installed a font named "Hermit", and it is detected by my computer as you can see here:- However, when I open gVim and try to change my font it isn't an option in the font ...
user avatar
4 votes
1 answer
101 views

Is there a command to move a cursor to a specific line when creating a new file in vim?

I am new to ubuntu. I am using vim for quite sometime now. I came across autocmd BufNewFile command to automatically add some text when a file with some particular etension is created.I have attached ...
user avatar
0 votes
0 answers
98 views

Editing Google Drive Files in Vim Fails using Gnome Online Accounts

When I link a Google account with Ubuntu using Gnome Online Accounts, I can't save changes to Google Drive files in Vim/gVim. I am trying to edit plain text files. I get the following error when ...
user avatar
2 votes
1 answer
776 views

Alacritty: Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png

When I try to run gvim from a shell in Alacritty, I get the following error: (gvim:9528): Gtk-WARNING **: 09:34:43.359: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders ...
user avatar
0 votes
0 answers
14 views

problems with gvim

I recently upgraded from ubuntu 16.04 to 18.04. I am having problrms editing a file with gvim. I get unnecessary margin (tab spaces) towards the left when I select a para and use gq.
user avatar
0 votes
1 answer
659 views

Can't start gvim from command line

I've been trying to get gvim to work on Ubuntu 20.04 with no luck. Initially I had issues with libQt5Core but finally resolved that by adding the path to the lib to LD_LIBRARY_PATH. Now I'm getting ...
user avatar
1 vote
0 answers
204 views

Can anybody explain to me how to use Thunderbird's ability to use for vim?

The only editor I can use with ease is Mutt. It allows use of vim/gvim/ed/vi/nvi ...&c. Most email these days requires that I use Thunderbird. I've found articles that explain how-to use T'...
user avatar
3 votes
1 answer
4k 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): ...
user avatar
  • 165
1 vote
0 answers
489 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 676
5 votes
1 answer
4k views

Is there any way to write italic or bold in vim

Is there any way to write italic and/or bold in Vim?
user avatar
1 vote
0 answers
96 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 ...
user avatar
  • 199
1 vote
1 answer
544 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 ...
user avatar
0 votes
1 answer
74 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,...
user avatar
43 votes
2 answers
66k views

What is the difference between Gvim and Vim?

Could someone please explain to me the differences between Gvim and Vim?
user avatar
12 votes
3 answers
3k 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, ...
user avatar
  • 271
0 votes
0 answers
244 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 ...
user avatar
  • 109
0 votes
1 answer
1k 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? ...
user avatar
  • 13
6 votes
0 answers
2k 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 ...
user avatar
1 vote
1 answer
939 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 "[...
user avatar
3 votes
1 answer
3k 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): ...
user avatar
  • 329
-2 votes
1 answer
396 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
user avatar
5 votes
1 answer
3k 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-...
user avatar
  • 329
1 vote
0 answers
120 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 ...
user avatar
  • 111
19 votes
5 answers
11k 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 like that this works with ctrl + backspace like most other apps. What's the best way to do this? I'd ...
user avatar
1 vote
1 answer
120 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 ...
user avatar
  • 11.1k
1 vote
1 answer
3k 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 ...
user avatar
  • 141
0 votes
1 answer
184 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 ...
user avatar
  • 11
4 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
178 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/...
user avatar
1 vote
1 answer
648 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 ...
user avatar
  • 121
1 vote
1 answer
895 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 ...
user avatar
  • 121
0 votes
2 answers
473 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 ...
user avatar
  • 131
3 votes
2 answers
1k 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.
user avatar
0 votes
1 answer
940 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 ...
user avatar
6 votes
1 answer
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 ...
user avatar
1 vote
1 answer
197 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 ...
user avatar
1 vote
1 answer
81 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
4 votes
1 answer
144 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 ...
user avatar
  • 533
2 votes
1 answer
2k 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 ...
user avatar
3 votes
0 answers
942 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 ...
user avatar
2 votes
2 answers
358 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). ...
user avatar
33 votes
4 answers
24k 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 ...
user avatar
7 votes
1 answer
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, ...
user avatar
0 votes
1 answer
151 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 ...
user avatar
2 votes
1 answer
886 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) ...
user avatar
  • 171
7 votes
4 answers
7k 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-...
user avatar
  • 323
0 votes
1 answer
478 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 ...
user avatar