Vim is an open-source text editor which is typically run from the command line. Questions should relate to using Vim on Ubuntu.

learn more… | top users | synonyms

1
vote
2answers
41 views

Why is vim's colorscheme not coloring the entire window?

Only the portions of the terminal with text on it is colored. Not sure how to describe it, please see the attached screenshot.
1
vote
2answers
146 views

uses vim as an ide

I want plugins for vim so that I can use it as a C language IDE. I used to use qtcreator and I really appreciate his auto-completion (really perfect), but after trying for several months vim I really ...
0
votes
2answers
98 views

Vim installation in Ubuntu 14.04

I am unable to install Vim and need help. I've tried the following: root@cbitlab1:/home/cbitlib1# sudo -s root@cbitlab1:/home/cbitlib1# apt-get install vim Reading package lists… Done Building ...
2
votes
1answer
80 views

Reflect changes to file that .vimrc sources

Here is my set-up. There is a ~/.vimrc that sources several files. I make changes to one of these. And I do :so ~/.vimrc, the changes in the underlying files are not reflected. I need to quit and ...
1
vote
1answer
25 views

Turn off colour while using script(1)

Is there a way to turn off colour while using script(1)? My script file is being filled with unnecessary information regarding colours from commands such as ls. This information is only visible when ...
1
vote
1answer
1k views

How to build vim with gui option from sources?

I'm having a hard time building a VIM 7.4(obtained from vim's ftp site) with gui option. It builds ok without the gui option. Here's how I'm doing it: cd ~/Downloads/vim74/src ./configure ...
1
vote
1answer
616 views

Can't recover my desktop environment

Good evening Everyone, I am having problems recovering my desktop. Before it came to this desktop without the taskbar at the top, and the sidebar. Also the title bar for applications are gone. What ...
1
vote
1answer
186 views

Vim - up-down line movements the cursor changes column position

While editing a simple text file where every line is nearly to the end of screen, I was expecting vim to retain the column position as I used j and k to move up and down. Surprisingly, it does not ...
0
votes
1answer
14 views

Why won't Vim source my .vimrc at startup?

I have modified my ~/.vimrc significantly (although some of my initial modifications I made in the system-wide /etc/vim/vimrc). It probably doesn't matter either way since I am really the only user ...
0
votes
1answer
29 views

go back to vim's default color

I read this :highlight Normal ctermfg=grey ctermbg=darkblue from http://stackoverflow.com/questions/1117526/setting-the-vim-background-colors But I change the darkblue to white!! What I done? OMG? ...
0
votes
1answer
59 views

Can't start gvim from the launcher

I don't know why I've been having so many problems with gvim lately, but now I can't start it from the launcher. I click on it, and it glows and pulsates for awhile, but after a few seconds it stops ...
0
votes
1answer
113 views

:set title in vim doesn't work in gnome terminal

I need to be able to see what I'm working on. On my sisters laptop using unity, :set title sets the title, but on my GNOME desktop with GNOME Terminal 3.10.2 it doesn't do anything. I can set the ...
0
votes
1answer
43 views

Trying to get Vundle to work with VIM

I am following this tutorial, which is actually the Vundle's homepage in github and in step 3 it's telling me to put some code into .vimrc: "Put this at the top of your .vimrc to use Vundle. Remove ...
0
votes
1answer
92 views

Getting always - “xmpfilter: command not found”

I have installed vim plug-in - t9md/vim-ruby-xmpfilter. My .vimrc contains 1 set nocompatible " We're running Vim, not Vi! 2 syntax on " Enable syntax highlighting 3 filetype ...
0
votes
1answer
250 views

Open files with vim in terminal

Is there any way to open file with vim in the terminal without typing file name, but for example then I see in the directory my file, go with arrow keys or something like that? I think I saw one of ...
0
votes
1answer
169 views

Terminal freezes on running apt-get or vim

I am using Ubuntu 13.04 on my laptop. I ssh to my EC2 instance which is running Ubuntu 12.04.3 and every time I run sudo apt-get update, it prints some lines and then the terminal freezes. ...
0
votes
1answer
264 views

VI Editor messed up.. Even the old vi is not working now

I am a newbie in Ubuntu. I am using a Windows XP machine (32 bit) OS and in that I installed VMPlayer and got iso image of Ubuntu 12.04 (downloaded from online). I started the Ubuntu and everything ...
0
votes
1answer
112 views

Couldn't install packages

I have installed Ubuntu 12.04 on windows 7. I have tried to install vim editor through terminal using sudo apt-get install vim then I got the following error and couldn't install the package. Not ...
0
votes
1answer
294 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 ...
0
votes
1answer
2k views

Powerline fonts aren't working

I have installed powerline and installed the Ubuntu Mono Powerline fonts and selected the font as the font to use in the terminal. The special characters still aren't working after installing the ...
0
votes
1answer
80 views

How can I get the specific colors that are being used in my vim ruby plugin / theme?

I looking for the specific hex colors that are being used in my color scheme when I'm editing ruby files with vim. How would I find such information?
-1
votes
1answer
63 views

Vundle - Plugins installed but not loading

I've installed vundle on my ubuntu box but when I load vim none of the plugins load. My .vimrc from my home directory [some commented lines edited out]: runtime! debian.vim set nocompatible ...
-1
votes
1answer
56 views

how to solve Unmet dependencies?

I am using Ubuntu 12.04. I am trying to install vim editor. When I run sudo apt-get install vim command then I got error like follow: Reading package lists... Done Building dependency tree ...
3
votes
0answers
51 views

How to transform Vim configuration into Emacs one?

I need to setup Emacs editor by preparing the ~/.emacs configuration file. I have been using Vim for years and now I want to switch to Emacs for various reasons that are out of scope of this post. To ...
2
votes
0answers
37 views

How to disable Lazy Preempt in kernel

I'm relatively new to Linux and working on getting a real-time kernel up and running for robot applications. I'm on Ubuntu 14.04, using kernel 3.14.3 and the 3.14.3-rt5 real-time patch. Also using ...
2
votes
0answers
99 views
+50

How to view UTF-8 Unicode characters in VIM

I am using VIM 7.4 on an Ubuntu 14.04 64 bit machine. In my .vimrc file, I have the following lines: " Use UTF-8 without BOM set encoding=utf-8 nobomb The config file basically uses Unicode ...
2
votes
0answers
224 views

vim cursor color change only applied upon movement

In my .vimrc I have the following (based upon a tip on the vim Wikia): if &term =~ "xterm\\|rxvt" " use an red cursor in insert mode let &t_SI = "\<Esc>]12;red\x7" " use an ...
2
votes
0answers
143 views

Why is Cinnamon blocking function keys? F1-12 aren't getting to the terminal

I map the function keys in vim to modify a ton of stuff, from syntax line numbering to autoindenting to changing the tab width and syntax highlighting. Unity was a major problem here because if I ...
2
votes
0answers
129 views

terminal vim colours broken on focuslost

My vim setup uses the csexact plugin to fix match the colors for color schemes that would normally only work in gvim. Everything works fine until gnome-terminal loses focus, and suddenly everything ...
1
vote
0answers
59 views

vi issue in SSH TTYs to Ubuntu 14.04.1 LTS

After upgrading my server to Ubuntu 14.04.1 LTS, I can no longer use the vi editor to edit anything in an SSH terminal (I access the server by launching ssh sessions from Cygwin running on Windows). ...
1
vote
0answers
70 views

How to disable terminal fullscreen padding

When I run vim at full screen mode in gnome-terminal, actually it is not really full screen. There is a little padding on the right and bottom, with the terminal background color. You can reach the ...
1
vote
0answers
22 views

How to add a genitive phrase to Vim spellchecker?

How can I make Vim's internal spellchecker ignore the genitive form of phrases added to a spellfile? For example, how can I make the spellchecker ignore "Nicolai's" when "Nicolai" has already been ...
1
vote
0answers
119 views

use <tab> to autocomplete with vim plugin AutoComplPop

so i installed this plugin http://www.vim.org/scripts/script.php?script_id=1879 in vim which allows your vim to automatically opens popup menu for completions when you enter characters or move the ...
1
vote
0answers
73 views

Vim lines get off-by-one

On Xubuntu 13.04, when I execute a VIM command command mode, like [esc] then :w. I'll occasionally find that a bunch of gobbly-gook stays in the very last line of the terminal. The text with the ...
1
vote
0answers
61 views

Custom keyboard shortcut variation question

I already have a keyboard short-cut that works for tmux I mapped: Ctrl+Alt+B to the command: gnome-terminal -e tmux BUT when I open up vim in the tmux session started by this the colors don't ...
1
vote
0answers
127 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 ...
1
vote
0answers
95 views

Mapping Windows key in Gvim

How do I map the Windows key in Gvim? I've tried referencing it as T as suggested here and it doesn't seem to work.
1
vote
0answers
67 views

Why the same arabic string shows differently in Windows 7 and Ubuntu Linux?

The same arabic string, in windows 7 Notepad: in ubuntu linux vi: They are the same string in a file, but the display order is opposite, why?
1
vote
0answers
384 views

Compiling vim from source :libSM.so: undefined reference to `uuid_unparse_lower@UUID_1.0'

I wanted to use all the vim customizations from Steve Francis (https://github.com/spf13/spf13-vim) . I am using Ubuntu 10.04 , 64 bit The customizations required vim 7.3 and so I am trying to ...
0
votes
0answers
14 views

Console Mode VIM 256 Color Support

This question is about using the console mode (i.e. ctrl+alt+f1) and not about using a terminal emulator. When running from a terminal emulator, my VIM uses 256 colors without a problem. I've tried a ...
0
votes
0answers
141 views

Ubuntu 14.04 Emacs installation problem

I have emacs 24 installed, and trying to obtain package from melpa, but the archive won't download. I am running Ubuntu in virtual box 4.3 on Windows 8. I then returned to my old standby Vim 7.4, ...
0
votes
0answers
41 views

Why is this key remapping not working in Vim?

This problem is getting me really crazy. I used Gvim and Autohotkey under Windows 7 in the past. For various reasons, I mapped CTRL+D to behave likes Enter. This worked well so far. In Gvim I mapped ...
0
votes
0answers
15 views

Backspace behaves oddly in text editors with screen

I have no idea why but backspace sends ^? to my text editor (nano, vim, emac, sublime, doesn't matter which one) when I run them inside of screen but not otherwise. Any ideas as to why this is and ...
0
votes
0answers
190 views

How can I generate tags file with exuberant ctags in ubuntu's C/C++ include directories for using with gvim?

I use GVim 7.4 with TDM-GCC 64 in Windows 7. I know the include directories of this compiler, and added the paths suitably to gvim's tags search path. Everything is fine in Windows. But I am new to ...
0
votes
0answers
182 views

Syntax highlighting not working in Vim?

Can someone help me out. I recently installed Vim for C development and would like to get the syntax highlighting on. I've tried various commands including "syntax on" but none seem to be working. I ...
0
votes
0answers
62 views

vim expandtab not set by fortran filetype

In /usr/share/vim/vim74/ftplugin/fortran.vim I see: " Tabs are not a good idea in Fortran so the default is to expand tabs if !exists("fortran_have_tabs") setlocal expandtab endif But when I ...
0
votes
0answers
1k views

Installing and uninstalling vim ?

Have vim installed wanted auto complitions in vim so i downloaded the addon somehow I messed it up misplaced the files and it started giving the errors whenever I start vim so i decided to uninstall ...
0
votes
0answers
115 views

VIM not working

I m trying make a file using VIM but the error is coming VIM is not installed. When i have tried installing it by command sudo get-apt install vim it's showing error. I tried using Vi it is working ...
0
votes
0answers
38 views

Bold colors not matching text

On Ubuntu 13.10 I have my terminal profile preference checked to have bold color Same as text color. Yet when I run a script to check my colors I get the following output: This is really throwing ...
0
votes
0answers
33 views

Screen interferes with vim

I am running vim7.3 in screen 4.0 in konsole 2.10.5 on kde 4.10.5. In vim, i have assigned a normal mode macro to Ctrl-DownArrow. FWIW, it is used to go to the last line before the blank line from ...