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 ...
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.
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 ...
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 ...
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 ...
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 ...
6
votes
Vim 8.0 Python support
you should use
sudo apt-get install vim-nox
instead, to get a "huge-version".
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, ...
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 ...
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 ...
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 ...
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/...
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 ...
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').
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 ...
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 ...
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-...
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,
...
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 ...
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 ...
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 ...
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.
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:
...
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 ...
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 ...
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.
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,...
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 ...
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, ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linux-ubuntu × 67vimrc × 17
installing × 9
neovim × 7
linux × 7
terminal × 6
vimscript × 4
gvim × 3
microsoft-windows × 3
plugin-you-complete-me × 3
vimscript-python × 3
key-bindings × 2
syntax-highlighting × 2
cut-copy-paste × 2
autocompletion × 2
os-clipboard × 2
python × 2
wsl2 × 2
command-line × 1
autocmd × 1
colorscheme × 1
normal-mode × 1
vim-windows × 1
external-command × 1
folding × 1