1
vote
1answer
32 views

any button on numeric key pad in vim counts as insert?

With or without Num Lock, any time I do / and then enter in a number via the numeric key pad I go into insert mode (as though I hit i). If I type in numbers with the set of numbers above the letters ...
2
votes
3answers
60 views

Linux - Open nth File LIsted

I'm Ubuntu, I do ls and get a list of files. How would I open the nth file in the list in VIM in reference to its position from the ls command, and not its name? I want to do this cause a directory ...
0
votes
1answer
62 views

Downloading correct vim packages

I need help reconfiguring my vim!! In the process of working with it, I decided to download the .vim files and reinstall. After reinstalling I have had some major problems with my vimruntime. My vim ...
1
vote
2answers
212 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 ...
3
votes
1answer
193 views

Unable to copy from vim to system clipboard

I read and tried several different solutions but I am still unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard ...
-1
votes
1answer
197 views

How to compile a gvim from source using the latest version?

I'm using Ubuntu. I performed the following commands in the vim source folder: sudo apt-get build-dep vim ./configure --with-features=huge --enable-gui=gtk2 --enable-rubyinterp=yes ...
0
votes
1answer
75 views

vim shift-k puts vim to background

When I try to use the shift-k (man page view function of vim), vim goes to background, and I have to run fg to put it to foreground. I tried installing man page viewer plugin, but even with that, the ...
0
votes
1answer
89 views

Problems with vim, i removed it

I'm a new user in linux. The problem is that when i tried to run the VI (or vim) text editor, i realised that it worked really different as i remembered it used to. Example, when i try to put in mode ...
0
votes
1answer
198 views

Remove 'X' from vim tab bar

When using multiple tabs in vim, there is a bar at the top displaying the tabs. At the far right of that bar there is an X. This is used to close the current tab if use of the mouse is enabled; ...
0
votes
1answer
72 views

why python vim module gives different result on ms windows and ubuntu?

On windows xp and vim 7.3.1105 (Yongwei's build): :tabnew :py import vim :py print(type(vim.current.buffer.name)) <type 'str'> -- THIS on ubuntu and vim 7.3.1020 (my own build): :tabnew :py ...
-3
votes
1answer
144 views

How do you avoid mouse use entirely? [closed]

Avoiding the use of the mouse entirely is hard today, as most OSes, browsers and software in general are very GUI-oriented. What system, software and general tricks are you using to completely avoid ...
0
votes
0answers
184 views

vim: error searching large tags file

I have a rather large tags file (over 800M) generated from a code tree. When I do ":tj /bla", vim always give me E431: Format error in tag file followed by E426: tag not found If I use the ...
1
vote
2answers
2k views

tgetent() not found while compiling vim

Currently I'm trying to install the YouCompleteMe extension to my vim setup, but it requires my vim to have the version of 7.3.584 or higher. The vim shipped with my Ubuntu 12.10 is 7.3.547, so I had ...
0
votes
0answers
321 views

ubuntu:terminal+ssh+vim, resize

Background: OS:ubuntu 12.04 Display: two, one is laptop, and another is a extended monitor, which is bigger. Problem: Open a gnome-terminal in the bigger display, and log on the remote Linux ...
1
vote
0answers
175 views

fix terminal vim colours (on focus lost)

When setting up Ubuntu 12.10 64bit (with gnome-terminal 3.6.0) I noticed that my vim colours mess up in the terminal as soon as the terminal loses focus. Everything is fine when using < C-z> and ...
1
vote
2answers
239 views

VIM UI language issue

I am using VIM for a while, but never faces such a problem. When i connect to my desktop Ubuntu PC via ssh from a tablet (Asus tf Prime) using terminal emulator (screen-256-colors) I got my vim in ...
1
vote
1answer
238 views

ubuntu mono font on vim across linux and windows have different spacing?

On windows gvim: http://i.imgur.com/K8cjO3U.png On ubuntu gvim(same on vim): http://i.imgur.com/Nudu5o8.png Why is the padding across the two operating systems so different? Is this a changable ...
0
votes
1answer
192 views

Console disable Vim color scheme (ctrl+alt+F1…)

I don't know exactly how is named all the ctrl+alt+F1, ctrl+alt+F2, ctrl+alt+F3 etc... terminals but when I'm going to use it all my Vim scheme is ignored... I made it following this website: ...
2
votes
1answer
226 views

How to open gvim to current window in command line?

Background: I'm using Ubuntu and have an existing Gvim GUI opened. Now I want to edit a file from command line gvim test.txt, the command will open another new Gvim GUI. Is there any method to open ...
-1
votes
1answer
210 views

tab complete not working for vim in particular directory - ubuntu 12.04

I am working on a ruby on rails app. All of the sudden the command line tab complete stopped working for vim, only for files though, and only for the vim command (i.e. works for other commands, ls, ...
0
votes
1answer
465 views

Make text bold in vim [duplicate]

Possible Duplicate: Make text bold in vim I am working on Ubuntu and using vim to make C files. I want to make the entire text in the editor bold. How can I do that without installing any ...
1
vote
1answer
199 views

Can't install omnicomplete on gvim (Ubuntu)

I download file to home folder into downloads, and extract it there. But when i try to run command :helptags $HOME/.vim/doc gvim shows error directory doesnt exist. Can someone tell me how to complete ...
3
votes
2answers
192 views

How can I make my shell behave like vim?

How can I make my shell behave like vim? I've seen other developers do it but I never got it installed/set up on my machine. Ubuntu 11.04
0
votes
2answers
2k views

Can't get into insert mode in Vim

So, I come back to my computer after the weekend and when I try to edit a file in vim now I can't get into insert mode at all. Used to be just by pressing I or Esc+I. The Insert key doesn't do it ...
1
vote
2answers
150 views

I am unable to run a shell script using ex (VIM)?

$ ex -sc $'%s/\r$//e|x' file Perfectly works from the terminal from but when I try to run it with .sh script it simply ignores the lines after ex. $ rm ~/Desktop/projectautomate/finalutf81.csv $ ...
0
votes
1answer
165 views

vim serverlist over ssh doesn't work

I was trying to play with vim server instances and noticed when I SSH into my work box I can never see the names of the server - so I can't send signals to them as you will see, if I create a server ...
3
votes
1answer
2k views

Terminator + vim + solarized

I'm trying to get Solarized to work with my Terminator and Vim on Ubuntu 11.10. I've tried all kinds of terminator configs I found all over the web, but I can't get the result the way I want it. When ...
2
votes
3answers
1k views

Is it possible to make vim not show blue text

I've installed Ubuntu, And they have decided to use blue text for comments in vim, Blue is the worst color to use for text, as human eyes have the least number of receptors for blue, one thing I ...
0
votes
1answer
175 views

Vim: strange character when repeating insert command

When I repeat change operations in Vim, spaces and periods are replaced ASCII character 172 (¬). For example: In command mode I move to the word "year" and type cw and then "yr." to change the word ...
3
votes
2answers
946 views

How can I change the scroll wheel behavior in vim, so that it scrolls instead of moving the cursor?

I would like scrolling up to be equivalent to c-y c-y c-y, and scrolling down to be equivalent to c-e c-e c-e. The documentation here seems to suggest that this should already be the case, or I can ...
5
votes
2answers
867 views

Full screen gvim window manager limitations on Ubuntu

So I've had this slightly annoying problem when running gvim on Ubuntu. When I enforce full-screen mode I get white bars at the bottom and right of the screen. (I'm trying to emulate the Mac-vim full ...
0
votes
2answers
727 views

Vim script Gundo isn't working properly

I'm having trouble with my vim with "python" support. I had installed gnome-vim, in Ubuntu 11.04, that theoretically has "python" support but if I install pathogen and gundo, when I press F5, the ...
2
votes
2answers
380 views

Why can I still run Vim in the Terminal if I removed it?

I'm on Ubuntu 11.04. I removed Vim (7.3) using Software Center, so why can I still it? If I type vim in the Terminal, then Vim starts running. The executables in /usr/local/bin weren't deleted.
6
votes
1answer
2k views

Using clipboard through SSH in vim

I have Ubuntu 11.04 desktop and a 11.04 VPS server. After replacing vim with vim-gtk (I don't need GUI though), I'm able to use the system's clipboard in vim. I'd like to use the same feature in ...
6
votes
1answer
743 views

How can I edit a google doc with vi and automatically update the original doc in the cloud when I write the file?

I'm using ubuntu 11.04. I have installed googlecl which claims to allow me to edit google doc files with vim. I have a google doc "test": google docs edit --title "test" --editor vim opens the file ...
1
vote
3answers
520 views

GVim flickers where it would normally sound a bell

When I try to (for example) scroll down past the "end" of the file, using pageDown or the down arrow key, GVim would traditionally make a sound. I have disabled this, but another annoying thing it ...
0
votes
1answer
577 views

~/.vim folder has gone after vim reinstall (Ubuntu 10.10)

I had a problem with an arrow keys in Ubuntu (known as the A B C D problem). All advices I have found does not help me to resolve this bug. So, I deside to reinstall vim totaly. After I install it ...
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 ...
2
votes
1answer
399 views

How can I use vim as an email editor in Evolution Mail?

I currently run an Ubuntu Natty desktop and I have to use Evolution mail to communicate with my offices Exchange server and deal with meeting requests and calendaring. Claws-Mail won't work as it does ...
3
votes
1answer
2k views

VIM colors in terminal look very dry

I've been trying out a few different vim color schemes but none of them ever look like the picture (they seem very dry, not as colorful). I have tried messing with all the "profile preferences" on ...
2
votes
3answers
1k views

Making vim the default editor in Ubuntu Linux

While trying to make vim default instead of gedit, I found this could be done two ways: Use defaults.list and make text/plain (and others) point to vim.desktop (what is the format for creating ...
2
votes
4answers
628 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
2answers
455 views

Ubuntu/Gnome copy and paste problem

I am having a peculiar problem with copying and pasting from a terminal in vim. Sporadically, copy-paste will refuse to work. Control-Shift-C and Control-Shift-V cause nothing. Often, after ...
3
votes
2answers
1k views

Settings in my .vimrc file are being superseded by other things - vim-gnome on ubuntu

I installed vim-gnome on ubuntu. I notice that things I put in my $HOME/.vimrc file, like colorscheme and so on, are being overwritten by something else. If I start Vim, another colorscheme is used, ...
21
votes
2answers
1k views

Use vim to edit ANY text on Linux

I come from the Mac world, where I use http://www.hogbaysoftware.com/products/quickcursor to edit text from anywhere in Vim. Is there anything like that on Linux ? I'm already using "It's All Text" ...
8
votes
1answer
3k views

How can I export my Ubuntu terminal's color scheme for use on other computers?

How can I export my Ubuntu terminal's color scheme for use on other computers? I've set up a color scheme that I like and I'd like to put it in a git repo for easy loading from other machines. Any ...
1
vote
1answer
171 views

Restore opened vim files after reboot

Is there is any plugin that saves all files opened in vim and opens them after reboot? For example it can be a left side panel with opened files and after you quit it saves the list.
11
votes
3answers
12k views

How can I recover the original file from a .swp file?

I tried opening the .swp file using vi and cat but it displays junk.
0
votes
1answer
929 views

How to compile Vim with GUI?

I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I ...
1
vote
4answers
1k views

Vim 7.3 with unicode on Ubuntu

I installed Vim 7.3 on my Ubuntu machine, and unicode was not compiled in by default. What's the configuration option to enable unicode when you compile vim 7.3? I've searched their website and the ...