Hot answers tagged

9 votes
Accepted

What is 'dnd' or 'DnD'?

It stands for "drag'n'drop". See :help quote_~: The read-only "~ register stores the dropped text from the last drag'n'drop operation. When something has been dropped onto Vim, the &...
Rich's user avatar
  • 31.3k
8 votes

Gundo plugin requires python 2.4 when version 2.7 is installed

Try the undotree plugin: Someone asked me about the difference with Gundo, here is a list of differences, or advantages. Pure vimscript implementation and no 3rd-party libraries(like ...
mMontu's user avatar
  • 6,600
7 votes
Accepted

When was getcharstr() introduced? And how could I have found the answer my self from :help?

This was patch v8.2.2957, which can be found by examining a full clone of github.com/vim/vim and any of # message search; fast enough I didn't need any of the other limiting options git log -1 --grep ...
D. Ben Knoble's user avatar
  • 25.3k
6 votes
Accepted

Vim 6.4 broke after adding plugin file to runtimepath

I am sorry, but you won't get happy with your ancient Vim 6.4 and plugins. Most of the scripting functionality have been added with the Vim 7 version and beyond. The old 6 version did only have very ...
Christian Brabandt's user avatar
6 votes

Gundo plugin requires python 2.4 when version 2.7 is installed

Add this to your .vimrc if has('python3') let g:gundo_prefer_python3 = 1 endif I was getting similar error. The above worked for me (I am using Manjaro Linux, and installed community/python-...
Brij's user avatar
  • 161
5 votes

How do I tell if Vi or Vim is installed on my Linux distribution?

Quick command to tell if it's vi or vim vi -h this will display the help info in my case : $ vi -h VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 7 2016 16:03:11) [... skip other info ...] So ...
Mathieu V's user avatar
5 votes

How can I automate checking for new Vim releases on Windows?

It seems that chocolatey could be the solution to your problem. It is a package manager for Windows. (With the ambition of being "sort of apt-get for Windows") If you are ready to use it to ...
statox's user avatar
  • 49.3k
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

Why is the version of Vim displayed by 'apt' different from the one displayed in Vim?

As described in /usr/share/doc/vim/NEWS.Debian.gz, the Debian packages have switched to building against Python3 for Stretch. If you upgraded a system to Stretch and didn't see this message, then I ...
jamessan's user avatar
  • 10.9k
2 votes

Version conflict between vi and vim

You don't need to use original vi program, just add following alias to your bashrc. alias vi='vim -u NONE'
tracyone's user avatar
  • 345
2 votes
Accepted

Unknown function: strptime on Linux Mint

As it turned out, I was running an older version of Vim. Updating using the following "three-liners" solved the problem. sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt ...
llinfeng's user avatar
  • 352
2 votes
Accepted

Suddenly running :colorscheme breaks lightline

I suspect https://github.com/vim/vim/pull/6970 and related https://github.com/vim/vim/issues/4405 Basically, before the patch it was impossible to put vim into full "default colors mode" as ...
Maxim Kim's user avatar
  • 12.4k
1 vote
Accepted

How can I check whether the user has defined a highlight group before Vim 8.2.3917

So Vim Patch 8.2.3578 added the ability to get and set the various attributes for highlighting groups in a more efficient manner. This is strictly speaking not required to check whether or not a ...
Christian Brabandt's user avatar
1 vote
Accepted

Problems with paths that includes swedish characters

This is solved by removing mac_precompose_path from the Vim source code. A fork where this is fixed can be found here: https://github.com/OskarPersson/vim I tested this by creating a Homebrew ...
Oskar Persson's user avatar

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