If I attempt to use the Valloric/YouCompleteMe Vim plugin on Mac OS Catalina, am I absolutely required to install MacVim due to the Python 3.6+ requirements?
My issue is that MacVim opens in a separate program and would complicate a basic workflow instead of just using the system Vim.
"In mid 2020, YCM dropped support for Python 3.5 runtime.
Why?
On 13th September 2020, Python 3.5 will be officially end of life. And therefore, so will its relationship with YouCompleteMe and ycmd."
Source:
https://github.com/ycm-core/YouCompleteMe
I don't think it's required, it's possible it will work, but there wont be support for new issues. I would recommend trying to meet the requirements.
To address the second issue, macvim can be incorporated into your workflow to work exactly the same as your system vim. Here's a question that can help with that,
How to run mvim (MacVim) from Terminal?
Related
Is there a terminal mode (similar to in NeoVim) for Vim 8 yet? I know that Vim 8 has new async features, which makes it possible to make an async terminal feature in Vim (like Neovim already has), so curious if anyone is already trying to do that.
Vim 8.0.0693 is the first of an ongoing series of patches ("terminal emulator support") that implements this. If you're willing to compile Vim yourself and work with alpha-grade software, go right ahead. The latest source code and runtime files can be downloaded via FTP or retrieved from GitHub; see vim.org for details. As this feature is under development, you can still influence it and help the contributors by reporting bugs.
In case you just want to use a final version, you have to wait for the next Vim release (version 8.1?), or switch to Neovim.
My Gvim often stop working on Windows7:
I download a prebuilt gvim version, I forgot the link page.
I use Vundle as my vim plugin manager:
Please help me...
Sometimes I type a little fast, I cannot realize what I have type.
Maybe I press some error key which caused the gvim stop.
But I don't know what key will cause the gvim stop.
Your Vim version 7.4.280 is a development snapshot; it is not a stabilized version. Either move back to this MR version (and hope that the problem isn't there), or regularly update to the latest available build. Ideally, you'll then debug into / collect stacktraces in case of crashes, and report this problem, so that the devs can do something about it.
Thanks to #Ingo Karkat recommandation.
I download another prebuild gvim for windows version.
I find a very good all-in-one gvim for windows on Bitbucket:
https://bitbucket.org/Alexander-Shukaev/vim-for-windows/downloads
This gvim support lua/python2.7.x/python3.4.x/ruby/perl, and it include all the lua52.dll/python27.dll/python34.dll/... files. So vimers do NOT have to download the matchde version script dll files.
I think this will meet most of vimer's need.
I've been using pyclewn for debugging in vim. It works quite well on gvim with ballooneval to show the values of variables but the problem is I'm mostly using vim in a terminal so that I can't use the balloon feature.
I have found this but it looks abondoned already and I couldn't make it work as there's no installation instructions. Does anyone know a way to use ballooneval in terminal vim?
From documentation:
m +balloon_eval balloon-eval support. Included when compiling with
supported GUI (Motif, GTK, GUI) and either
Netbeans/Sun Workshop integration or +eval feature.
It's not quite clear though, whether this imply that terminal mode does not support ballooneval at all (or it's available in terminal mode when GUI is compiled in), but there's no clues to do that in the documentation.
So: it's highly unlikely that you can use ballooneval in the terminal mode without messing with the Vim sources.
Starting from Vim version 8.0.1309 there is support for balloon in terminal. Seems to be work in progress though.
You can find a usage example in the following issue:
https://github.com/vim/vim/issues/2481
i was using Fedora for about six months. Recently I have been changed to Ubuntu. And here in Ubuntu, there is no Code/Synatax for groovy in VI editor,which was actually there in Fedora VI. How to enable that? and if this not possible, then suggest me some good IDE's for Groovy(only for Groovy), so that i can increase my skill over the groovy language :):)
Don't suggest some advanced IDE, because this is the first time I'm going to use IDE in my life :)
If you want to stay with VI or rather VIM, there are two extensions that will help you developing Groovy scripts:
Syntax highlighting
File type detection - execute Groovy scripts using the F4-key
Finding vim plugin maintenance and configuring is too laborious and relies on external configurations (such as ruby) tricky. What I want is an IDE like Eclipse, Visual Studio, that I can use vim in. I still want to be able to use different modes (command, visual, insert), but I don't want these inbuilt commands to conflict with the IDE's commands.
I've heard PIDA is good for this but looks like a bit of a mission to configure on Mac.
Eclipse has a VIM plugin. Eclipse runs on OS X
http://www.vimplugin.org/
Also, I think the Komodo IDEs and editors have VIM bindings, but I have little experience with them. Apparently, they also run on OS X.
http://docs.activestate.com/komodo/4.4/vikeybind.html
I use Komodo Edit on OS X, Ubuntu and Windows. It's open source, supports a ton of languages and has good Vi/Vim key binding support without getting in the way of itself. It's also easy to add in support for additional key bindings. It's built on the Mozilla code base and can be extended with Add-ons (Remote Drive Tree/Source Tree/MoreKomodo are great examples). I also personally love being able to write macros for myself in either JS or Python to add extra functionality.
The full fledged IDE is worth looking at if you can use the extra features. For most of the things that I work on, I can't use a full fledged remote debugger so Komodo Edit suits my needs.
It also has built in SSH support all in a package that is very responsive on my 5 year old work machine with several 1000 line files open in tabs.
Emacs has a vi emulation mode called Viper ;-)
Besides the vim plugin for Eclipse there is also ViEmu for (amongst others) Visual Studio, if you are not afraid of shelling out some $. Haven't used it though, as vim is my IDE :)
This AutoHotKey script isn't quite what you asked for, but I mention it in case it's helpful.
As you say, PIDA has real Vim, nothing can come close to that. Keybinding emulation only goes so far. It's not that bad to get running on a Mac, Windows is a mission though.
QT creator has Vi bindings.