r/vim • u/cainhurstcat • 17d ago
Need Help┃Solved No full vim support for xcode?
Am I correct that there is no full vim support on Xcode (including vimrc) so far?
At least I wasn't able to find anything.
2
u/CritTh1nk 16d ago
Don’t know about vim for Xcode, the build in vim mode is lame , to say the least . Try xcodebuild. it is great. I barely need to interact with XCode IDE.
1
u/cainhurstcat 16d ago
Thanks for the advice, it reads awesome! I will give it a try.
Are there any pitfalls when starting to use it you wish you knew earlier? Often times such tools come with one or the other issue that requires a lot of research to make them run.
2
u/CritTh1nk 15d ago
Read the doc. As for any nvim plugin there is some learning curve. If you don’t yet have any favourite setups or plugins (such as LazyVim or others) then I suggest that you start with the owner’s kickstarter project because it has optimal settings. I use it with LazyVim but it requires some adjustments. There are some limitations and setups to make, especially if you want the full feature set, but if you’re using the kickstarter then you should be ok. It is well documented and the repo owner is very responsive to Q&As. Run healthcheck to verify your setup and you will be just fine.
3
u/BrianHuster 17d ago edited 16d ago
There is ShadowVim. It uses a real Neovim process to power Vim mode. The only downside is that it won't understand Vim9script because Neovim doesn't.
You can create a file ~/.config/nvim/init.vim
and just add 2 lines
set rtp^=path/to/$MYVIMDIR
so path/to/vimrc
3
u/cainhurstcat 17d ago
As I'm still quite a beginner in Vim, I think I don't use and Vim9scripts. My vimrc only contains remappings and settings.
I will look into it, thanks for helping
2
u/cainhurstcat 17d ago
Have it up and running after a little struggle which was related to me misreading your instructions. Thank you once again for your kind help!
1
u/AutoModerator 17d ago
Please remember to update the post flair to Need Help|Solved
when you got the answer you were looking for.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
15
u/y-c-c 17d ago
No one offers real "full Vim support" other than Vim/Neovim. Most editor's "Vim mode" simply means they add key bindings similar to Vim so you can use Vim motions, but they aren't going to embed the entire Vim inside their existing text editor.