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 ...
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-...
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 ...
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 ...
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, ...
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 ...
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 ...
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.
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 $...
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 ...
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 ...
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> <...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linux-debian × 20vimrc × 3
neovim × 3
installing × 3
key-bindings × 2
gvim × 2
linux × 2
vimscript-python × 2
os-clipboard × 2
vimscript × 1
buffers × 1
cut-copy-paste × 1
plugin-system × 1
filetype × 1
filetype-tex × 1
plugin-you-complete-me × 1
filetype-python × 1
plugin-vimtex × 1
mouse × 1
linux-ubuntu × 1
clientserver × 1
viminfo × 1
version × 1
linux-arch × 1
default-settings × 1