0
votes
1answer
24 views

setting gvim as editor for crontab

I've see many post saying that by setting the following evnironment variable EDITOR=vim or VISUAL=vim will allow to use vim as code editor for crontab. I would likt to try to use gvim instead ...
1
vote
1answer
37 views

Make (g)vim buffer a remote file

I regularly work remotely on a linux machine using vim. Sadly the connection to the remote host is not very good, giving me a very tough time. Is there a way to make my locally running vim or gvim ...
0
votes
1answer
434 views

Gvim fails to open: E25: GUI cannot be used: Not enabled at compile time

I'm new to Linux, and I just installed Linuz Mint under VMware Player. I'm trying to learn how to program, and I was trying Gvim (Vim's GUI). I installed Vim using sudo apt-get install vim and tried ...
0
votes
1answer
47 views

regarding swp files and same file opened in different vnc

I have different VNCs at work and many times, i forget to save or close some files opened in gvim. Later, I'll open up the same file in another VNC. Though it'll tell me that it is already opened ...
1
vote
1answer
44 views

Return control to shell DURING `gvim -f`

I occasionally use gvim -f to start gvim but force the shell to wait for the gvim session to end before resuming execution of whatever it's doing (for instance, I usually edit my bash aliases using an ...
1
vote
1answer
443 views

Look strange on gvim after applying Source Sans Pro font

I downloaded the Source Sans Pro font and install on my Fedora17(Xfce). I did mkfontscale, mkfontdir, fc-cache -fv, and after fc-list, could see it on the list. Then I changed guifont in gvim to ...
1
vote
2answers
155 views

vim (gvim) marking occurrences on the vertical bar?

When I search for a string, vim(gvim) highlights all the occurrences, which is great. But is there a way to show the occurrences with markers on the vertical bar on the right hand side, so if I click ...
1
vote
1answer
333 views

Setting 'dead' area background colour in gVim

In gVim on Linux (confirmed on Windows as well), depending on the selected font family & size and the window dimensions, sometimes a 'dead' area appears on the right and bottom of the window as ...
1
vote
0answers
90 views

Integration of GVIM with Firefox with Mozplugger

I am wanting to make my Firefox browser open the GVIM application for codes and plain-text. I added the following lines in mozpluggerrc: text/x-c++src:c++: C++ File text/x-c++src:C: C++ File ...
3
votes
3answers
277 views

How to always start gvim maximized in Linux?

set lines=999 columns=999 doesn't work, and au GUIEnter * simalt ~x only works for Windows.
0
votes
1answer
175 views

How do I display the source machine during a remote x session in the title bar?

In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local ...
2
votes
2answers
332 views

How can I run a headless gvim to get syntax highlighted code converted to HTML?

I want to generate HTML files in batch to show some gvim colorschemes in action. I took my current solution from the script at http://code.google.com/p/vimcolorschemetest/, but this will open open a ...
3
votes
2answers
956 views

How do I avoid changing a file's Linux permissions when saving over a samba connection?

I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection. Saving files from Windows change the Linux permissions ...
7
votes
6answers
3k views

Compile gvim from sources?

Recently, I've installed vim like so: hg clone https://vim.googlecode.com/hg/ vim cd vim sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim make ...
4
votes
2answers
475 views

GVIM hangs when saving through GVFS' FTP

I loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I ...
2
votes
4answers
642 views

Terminal vim shortcut in ubuntu?

How can I create a shortcut to open a terminal and launch vim (terminal version, not gvim) ?
2
votes
1answer
395 views

Linux GVim via SSH -X does not copy paste on selection

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim ...
2
votes
1answer
1k views

How to create custom keyboard shortcuts in vim?

For example - when coding in Perl, I need to sometimes comment out a bunch of lines. What I do is something like :80,96 s/^\(.*\)$/#\1/ I want to create a custom shortcut for this so that I can do ...
4
votes
2answers
183 views

Preventing Windows version of Vim from destroying other file systems permissions

I am currently using the windows version of gVim to edit source files on a networked drive mapped to a linux system, as well as local files created in cygwin. The problem is that the windows version ...
7
votes
4answers
2k views

How do I copy command output in vim?

For example, if I type ':pwd' to get the current working directory, I can select the text in gvim but I can't figure out how to copy it to the clipboard. If I try the same in console vim, I can't even ...
3
votes
1answer
2k views

Show command as it's being entered in console vim?

For example, in gvim if I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time ...
7
votes
1answer
9k views

Setting background color in gvim

I use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark However, gvim has black on white text. How do I do ...
1
vote
3answers
557 views

Remap keys for one specific program under Linux

How can I set keys to be remapped for one specific program in Linux? (More specifically Caps Lock -> Escape for gVim. I hit it accidentally too much to remap it in everything).
1
vote
3answers
1k views

Error while initializing GVim

I'm using gVim on the Ubuntu 9.10 and using a plugin to improve it. Since the installation of the plugin I can't open gVim through clicks on its icon. So I go to the Terminal and type gvim. Before ...
30
votes
4answers
19k views

How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?

By default, the cut/copy/paste short-cuts in GVim on Ubuntu are: Cut "+x Copy "+y Paste "+gP I would like to use control key combos in GVim, like I use in Firefox and othe gnome ...