83 votes
Accepted

How can I get a newer version of Vim on Ubuntu?

You have three different options: Wait for the newest versions to be added to the distribution packages. Note that you might want to learn a new language or build a ship with your bare hands while ...
statox's user avatar
  • 49.4k
47 votes
Accepted

Vim cannot find medical spell files

The "medical" spell file does not exist, it is just an example of a name that is longer than two characters. You would have to generate one yourself.
Bram Moolenaar's user avatar
26 votes

Vim cannot find medical spell files

In response to Bram's answer, I have found, modified, and compiled a medical spell file that can be used with Vim. I've made the full instructions and the source code available under a GPL3 license ...
melvio's user avatar
  • 599
15 votes
Accepted

Vim 8.0 Python support

The pi-rho/dev PPA now supports Vim 8, and like it always has, includes support for Python/Python3: $ vim --version | grep python +cryptv +linebreak +python/dyn +vreplace +cscope ...
muru's user avatar
  • 24.7k
11 votes
Accepted

Copying From Vim to Ubuntu Bash on Windows

Thank you to @Christian Brabandt for linking this in the comments: https://www.reddit.com/r/vim/comments/7pmv3d/workflows_that_work/dskyram/ Works great. Just put the following in your vimrc and make ...
J-Win's user avatar
  • 369
8 votes

Vim 8.0 Python support

From your question it appears that you have installed vim-tiny 8.0 that is a very minimal Vim runtime without plugins. You can confirm this using this: dpkg -l | grep vim You can have several Vim ...
Yonsy Solis's user avatar
6 votes

Vim 8.0 Python support

you should use sudo apt-get install vim-nox instead, to get a "huge-version".
skywind3000's user avatar
6 votes

Vim 8.0 Python support

Solution 1 : Install VIM Editor(Install any one of them of vim variant) : vim-gtk3 :- This package contains a version of vim compiled with a GTK3 GUI and support for scripting with Lua, Perl, ...
finn's user avatar
  • 271
6 votes

Installing Neovim 0.7 on Ubuntu?

sudo apt-get install software-properties-common sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim From the "Installing NeoVim" wiki page I was ...
Expired Ramen's user avatar
5 votes

How can I get a newer version of Vim on Ubuntu?

Another option is to install Homebrew on Linux as an alternate package manager and use it to install the latest vim with: brew install vim Homebrew Features: Can install software to your home ...
David Hatch's user avatar
5 votes

How can I get a newer version of Vim on Ubuntu?

#!/usr/bin/env bash sudo apt update sudo apt install -y git sudo apt install -y build-essential rm -fr /tmp/vim git clone https://github.com/vim/vim.git /tmp/vim make -C /tmp/vim sudo make ...
bogdanvlviv's user avatar
5 votes

Vim 8.0 Python support

You should install vim from source. That way, you have control over what is included. See the following for more info and a step by step walkthrough. It is relatively easy. https://github.com/...
Xero Smith's user avatar
5 votes
Accepted

How can we get the third mouse option with cut, copy paste in neovim?

First, you must enable mouse support with :set mouse=a. In GVim you also need to :set mousemodel=popup to activate builtin popup menu. In Neovim it all depends on GUI frontend, as Neovim itself has no ...
Matt's user avatar
  • 20.4k
4 votes
Accepted

Vim compiled with python3 but has('python') returns 0

This is the expected result. There are no tests has('python/dyn') and has('python3/dyn'), only has('python') and has('python3').
Sato Katsura's user avatar
  • 3,999
4 votes

No echo command?

you got a small version of Vim installed. That means, many functions are not supported, you can read about, what each flavor supports at :h +feature-list (link). So among the features not supported ...
Christian Brabandt's user avatar
4 votes

How to safely switch from vim-athena to vim-gtk?

You don't have to uninstall any of the existing packages. The vim-{athena,gtk,gtk3,nox} etc. packages just provide the Vim binary built with different feature sets and linked against different GUI ...
jamessan's user avatar
  • 10.9k
4 votes
Accepted

Unable to install most recent gvim 8.1 on Ubuntu

I was actually able to update gvim to 8.1 on Ubuntu 18 by following the same as this question asked in the past about older versions: https://askubuntu.com/questions/875003/ubuntu-16-10-repository-...
FVb's user avatar
  • 193
4 votes
Accepted

How do I configure syntastic to use Python3 in Ubuntu?

Using Ubuntu, I couldn't figure out what was calling python or to change the default environment for all instances of syntastic. That would have been desirable. Instead what I did was install flake8, ...
Evan Carroll's user avatar
  • 1,236
4 votes

What's the deal with the Vi/Vim in Ubuntu 18.04/19.04?

In Debian and Debian-derived distributions (such as Ubuntu), vi is handled through the "alternatives" system. To see the available alternatives for vi, you can use the command: $ update-alternatives ...
Dave Sherohman's user avatar
3 votes
Accepted

Vim 8.1 Globally custom highlight colors

I don't know what changed between Vim 7.4 and 8.1 that caused this change in behavior, but the output of :verbose hi Comment that you posted provided a clue to a solution. :help syncolor suggests ...
garyjohn's user avatar
  • 6,284
3 votes
Accepted

How do I install Neovim with GUI and msgpack support in Ubuntu?

Instructions can be found on the Neovim Wiki As of the posting of this answer, the site's current instructions are as follows: Ubuntu Neovim has been added to a Personal Package Archive which ...
jecxjo's user avatar
  • 2,650
3 votes

Trying to compile vim with python 3.6. Where is my config directory?

Although not pretty sure, I guess you are on a x64 platform. The corresponding path is under /usr/lib64/pythonXX.
codejedi's user avatar
3 votes
Accepted

Cannot setup tern_for_vim plugin

Make sure you are editing a JS file (echo &filetype should output javascript), and check the function used for omni completion: :verbose setlocal omnifunc? It should display something like: ...
LEI's user avatar
  • 1,606
3 votes

What's the deal with the Vi/Vim in Ubuntu 18.04/19.04?

TL;DR The vi on your computer is almost certainly a symlink to vim, renamed executable, or something similar rather than an actual vi executable. The Vim package(s) in the repositories are built with ...
8bittree's user avatar
  • 1,487
3 votes

What's the deal with the Vi/Vim in Ubuntu 18.04/19.04?

Debian (and Ubuntu) only have the vim-tiny package installed by default. The sole purpose of this package is to provide a vi binary as part of the default install. That it happens to be Vim is just ...
jamessan's user avatar
  • 10.9k
3 votes

Vim-devicons not working at all

Installing Nerd fonts for my ubuntu 18.04 worked. As the devicons FAQ page said, it was designed for nerd fonts.
Ayush's user avatar
  • 111
3 votes
Accepted

How can I get +ruby feature in Ubuntu 20.04 LTS?

You have two options: Install vim-nox. From the package description (apt-cache show vim-nox), This package contains a version of vim compiled with support for scripting with Lua, Perl, Python 3, Ruby,...
Quasímodo's user avatar
  • 2,416
3 votes

How do I make the cursor blink?

:set guicursor& should restore cursor defaults in GVim. Edit: To change the blink rate try using guicursor=a instead of guicursor=n like this : :set guicursor=a:blinkwait5-blinkon5-blinkoff5 This ...
bashBedlam's user avatar
2 votes

Vim compiled with python3 but has('python') returns 0

This question is pretty old, however, I want to share here what I found on vim help page after searching relating issue. You can use has('python3_dynamic') to check if your vim has +python3/dyn, ...
aiotter's user avatar
  • 21
2 votes
Accepted

No echo command?

Ubuntu comes packaged with a tiny version of vim. It is nearly vi. To install the real version of vim, run sudo apt-get install vim Personally, I prefer: sudo apt-get install vim-gnome since this ...
DJMcMayhem's user avatar
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible