Questions tagged [gvim]

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

Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.

gVim is a powerful, feature-rich and highly configurable text editor primarily for programmers. With gVim you can efficiently write code with syntax highlighting in many languages, and many other useful features like regular expression search and replace.

103 questions
171
votes
1 answer

What are the differences 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, e.g.: vim-nox vim-athena vim-* It is not clear which vim package have which dependecies and which one is preferable…
Dilawar
  • 1,811
152
votes
1 answer

Difference between vim-gtk and vim-gnome

How are the packages vim-gtk and vim-gnome different from each other? I've tried both and the resulting Gvim feels the same (to me). If there is no difference, why are both packages maintained?
Owais Lone
  • 7,523
60
votes
3 answers

How to stop Gedit, Gvim, Vim, Nano from adding End-of-File newline char?

Sometimes I want the last line of a text file to be a simple string of text with no newline character appended: ...eg. to concatenate another file to it. Several editors automatically modify my text by adding a newline character, even though I…
Peter.O
  • 25,251
49
votes
2 answers

What is the difference between Gvim and Vim?

Could someone please explain to me the differences between Gvim and Vim?
user597313
36
votes
5 answers

How to install gvim?

I have done the following: sudo apt-get install vim-gnome But I get the following: vim-gnome : Depends: libruby1.8 (>= 1.8.7.352) but 1.8.6.111-2ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages. I've…
croceldon
  • 595
34
votes
5 answers

Getting + 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 need the change to affect gnome-terminal commands,…
34
votes
5 answers

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): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout…
33
votes
4 answers

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 add property GnomeProgram::sm-connect after class…
naveen.panwar
  • 443
  • 1
  • 4
  • 8
22
votes
3 answers

How to save font choice in gVim?

I'm running Ubuntu 9.10. Whenever I open the gvim application, I have to select a custom font (Edit→Select font). I would like gvim to remember my choice. Perhaps I need to edit the ~/.vimrc file, I am not sure. How can I make gvim remember my…
13
votes
4 answers

Using gvim as editor for Thunderbird

Can I somehow use gvim to compose my email messages in Thunderbird?
12
votes
3 answers

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, e.g: user@computer:~$ vim -g ./path/to/file The…
Adam P
  • 271
11
votes
1 answer

How can I build vim with a gui without gtk?

I've recently started playing around with pygobject. However, gvim or vim's python-complete feature crashes, because, as I understand, you cannot mix GTK2 and GTK3 libraries in the same process. Therefore, I'd like to know how to install Vim with a…
martin
  • 1,809
  • 1
  • 13
  • 21
10
votes
3 answers

How to remove gVim's fat bottom border (and resize grip)?

My gVim has this annoying bottom border: I wish it didn't and looked more like gnome-terminal for example: Is there any way for gVim to look like that? UPDATE: There is! Here's a screenshot after adding settings from Jeremy Cantrell's and my own…
mhmhmhmh
  • 1,598
10
votes
3 answers

How do I set gvim as my default text editor instead of gedit?

I know I could use something like Ubuntu Tweak to change the file associations for each file. But I am wondering if there is a way to do it faster and just set the system so that all the files that would have been opened by gedit are now going to be…
amh
  • 1,027
10
votes
2 answers

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 : http://i.imgur.com/rm9hF.png The .gvimrc file: http://i.imgur.com/LngNy.png
w.core
  • 101
1
2 3 4 5 6 7