Questions tagged [gvim]
gVim is a powerful, feature-rich and highly configurable text editor
104
questions
0
votes
0
answers
12
views
Edit GVim's Desktop File to Launch with Custom Config
I've created a config file for GVim, which located at $HOME/.config/vim/gvimrc. And in my .zshenv I have export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/gvimrc" | source $MYVIMRC'
On ...
0
votes
1
answer
53
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 ...
4
votes
2
answers
273
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
237
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'...
4
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): ...
1
vote
0
answers
537
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
1
answer
4k
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 ...
6
votes
1
answer
6k
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
0
answers
98
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
1
answer
643
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
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,...
47
votes
2
answers
76k
views
What is the difference between Gvim and Vim?
Could someone please explain to me the differences between Gvim and Vim?
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, ...
0
votes
0
answers
254
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
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?
...
6
votes
0
answers
3k
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
1
answer
1k
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 "[...
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): ...
-2
votes
1
answer
418
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
5
votes
1
answer
4k
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-...
1
vote
0
answers
125
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 ...
24
votes
5
answers
15k
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 ...
1
vote
1
answer
131
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
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 ...
0
votes
1
answer
198
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 ...
4
votes
1
answer
3k
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
1
answer
180
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
1
answer
677
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
1
answer
946
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
2
answers
498
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
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.
0
votes
1
answer
1k
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
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 ...
1
vote
1
answer
201
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
1
answer
87
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
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 ...
4
votes
1
answer
148
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 ...
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 ...
3
votes
0
answers
985
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
2
answers
363
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).
...
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 ...
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, ...
0
votes
1
answer
180
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
1
answer
891
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
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-...
0
votes
1
answer
525
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
1
answer
1k
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
1
answer
1k
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 ...