21 votes

how to install vim with python support for debian strech

It looks like I'm a bit late, but I'll leave this here for future visitors also struggling with this. $ sudo apt install vim-nox This is the Vim package in Debian Stretch that adds support for ...
Baruch Spinoza's user avatar
15 votes

Is there a difference between "sudo apt-get vim" and "./configure --with-features=huge"?

If you look at the options used to build the various packages (in debian/rules), you'll see OPTFLAGS+=--with-features=huge ... NOINTERPFLAGS:=--disable-luainterp NOINTERPFLAGS+=--disable-...
muru's user avatar
  • 24.7k
6 votes

Is there a difference between "sudo apt-get vim" and "./configure --with-features=huge"?

Indeed the version you get with apt-get install vim doesn't have all the features of a version compiled with --with-features=huge. For example you don't always have options like +python or +lua. A ...
statox's user avatar
  • 49.4k
6 votes

how to install vim with python support for debian strech

I usually use this procedure for installation (used also under Debian 9) # Clean from standard vim sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common # Vim ...
Mauro's user avatar
  • 161
5 votes

how to install vim with python support for debian strech

I too struck this issue after updating from Jessie to Stretch. As noted in another answer, installing vim-nox should resolve this issue (as vim-nox in Stretch is compiled against python2). However, ...
Jeremy Davis's user avatar
5 votes
Accepted

Vim on Debian, configuration issues

/usr/share/vim/vimrc is always sourced regardless of your vimrc (assuming $VIM doesn't point somewhere else - :h system-vimrc). The settings you're probably missing are in defaults.vim, a file that ...
flemingfleming's user avatar
5 votes

Is there a difference between "sudo apt-get vim" and "./configure --with-features=huge"?

$ sudo apt-get install vim-gtk (or vim-gnome if you are on Ubuntu) will get you the most complete Vim with the least effort. Official packages usually lag a bit so, if you really want the latest ...
romainl's user avatar
  • 39.3k
4 votes

How to install vim with +clientserver on debian?

As explained in this 2004 bug report: sudo apt install vim-gtk Adds +clientserver support to vim.
Paul Rougieux's user avatar
4 votes
Accepted

How can I get more features?

If you want more features (and something more up to date than whats in the apt packages), you have to compile it yourself. You say you are on Debian, and all these should work on that platform. You ...
DoYouEvenCodeBro's user avatar
3 votes
Accepted

Re-activation of vim-youcompleteme

The addon packages in Debian/Ubuntu are typically managed using the vim-addon-manager package. Once an addon package is installed, you run vam install <addon> to enable it in your user's config....
jamessan's user avatar
  • 10.9k
3 votes

Python integration in Vim on Raspberry Pi

If you are looking for a terminal version of vim which supports python (alongs with Lua, Perl, Ruby, and Tcl) without a GUI. I'd recommend to use the vim-nox package. You can install it with sudo ...
statox's user avatar
  • 49.4k
3 votes

How to Get syntax highlight of LaTeX in Debian's Vim?

And to make it persistent, check out vim's help files under the keyword au for autocmd :h au Then create a group (i.e. scope/namespace as the ubiquitous term) to protect yourself from duplicate ...
Jonathan Komar's user avatar
2 votes

how to install vim with python support for debian strech

In Stretch, the packages changed from supporting Python2 to Python3. As mentioned in another answer, it's not possible to build Vim against both Python2 and Python3 in Debian. I would suggest ...
jamessan's user avatar
  • 10.9k
2 votes

vimtutor not working as expected - how to fix?

As noted as a comment, the problem was that I had a /usr/local/bin/vim script which was calling vim without quoting the arguments. So as pointed out by @garyjohn the bash expanded $VIMRUNTIME would ...
Jeremy Davis's user avatar
2 votes
Accepted

Vim Jedi Plugin -- Add .sage filetype

Add to ~/.vim/ftdetect/sage.vim (create if not present): au BufNewFile,BufRead *.sage setfiletype python cf. Learn Vimscript the Hard Way, which directs to appropriate help pages.
D. Ben Knoble's user avatar
  • 25.4k
2 votes

How to install vim with +clientserver on debian?

I stumbled on this old thread and was not satisfied with the information provided so far, so I did a bit more research and posted a question on the Vim maintainer list for Debian. They were kind ...
18grady's user avatar
  • 21
1 vote

How to set copyq to handle clipboard?

A possible solution is to send the clipboard to xclip and allow copyq to pick up from there: let g:clipboard = { \ 'name': 'xclip-xfce4-clipman', \ 'copy': { \ '+': 'xclip -selection ...
nocibambi's user avatar
  • 133
1 vote
Accepted

Vimtex: `latexmk` compiler gives "no file name specified" error even after a new buffer is written to a file

I can reproduce your issue with the following sequence: Open Vim or neovim without any arguments. Specify the filetype to load VimTeX: :set ft=tex. Insert some simple, compileable LaTeX content in ...
Karl Yngve Lervåg's user avatar
1 vote

Cannot set (let) mapleader and use <leader> in global vimrc

One thing I've just seen is that if cpo contains <, then special characters like <leader> won't be handled right: *cpo-<* < Disable the ...
D. Ben Knoble's user avatar
  • 25.4k
1 vote

E138: Can't write viminfo file $HOME/.viminfo! root $HOME not set in vim

Logging in and out of the shell solved it for me after all else failed. Defining let $HOME="/root" in .vimrc does not help as it can not find $HOME directory to read the .vimrc if :!echo $...
Radagast's user avatar
1 vote
Accepted

how to install vim with python support for debian strech

I tried many possible ways of adding repositories with python support for debian stretch but none of them worked out. Finally I build my own and then it solved my issue. Here is the link for Vim with ...
Sathish Kumar's user avatar
1 vote

How to Get syntax highlight of LaTeX in Debian's Vim?

There is no latex.vim syntax file that ships with Vim (as far as I know, and see on this Fedora 21 install). Try :set syntax=context or tex or plaintex or initex I find context a favourite, but that ...
Brian Tiffin's user avatar
1 vote

accidental turn of mouse wheel when pasting text

I couldn't find a specific setting for disabling the wheel while leaving the other mouse features active, but as a workaround, you could map wheel events to do nothing: map <ScrollWheelUp> <...
JigglyNaga's user avatar

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