aidliner.blogg.se

Vim devicnos after source vimr
Vim devicnos after source vimr













  1. #VIM DEVICNOS AFTER SOURCE VIMR INSTALL#
  2. #VIM DEVICNOS AFTER SOURCE VIMR WINDOWS#

#VIM DEVICNOS AFTER SOURCE VIMR INSTALL#

A thorough wipeout followed by a clean install may help. This is either a sign that you messed up Vim's runtime or that the installation didn't work as it should. If you did and you are still lost, then use the plugin's issue tracker. You are expected to read those documents carefully and follow them.

#VIM DEVICNOS AFTER SOURCE VIMR WINDOWS#

The repo's README.md points to this document specifically targeted at Windows users and to a general FAQ. That is where you are supposed to install plugins. %userprofile%\vimfiles\vimrc <- this is YOUR vimrc The right place for customisation is in your %userprofile%, which is Window's equivalent of the $HOME or ~ you may find in tutorials): %userprofile%\vimfiles\ <- this is YOUR runtime directory, where You literally have no business doing anything there. The only "proper" _vimrc is the one you build yourself, as your needs and knowledge evolve.Ĭ:\Program Files\Vim is off-limits. Please help, because I'm going to foam from my mouth soon with this Vim. Then I've surrendered and went here to seak for a help/advice/mercy. Again, the reinstalled Vim didn't work properly because of the same error 1187 although it showed the contains of _vimrc file, but for reading only. But once again, the installation of Vundle informed me that "vimfiles\bundle" folder was not empty, so "suck, my dear". The answer was: "this directory is not empty etc."Īfter another session of crying I accepted the challenge and deleted (de-installed) Vim, downloaded it as from the very beginning, repeated all the aforementioned actions. I thought that it might be the second repository, which led me to the mistake, so I recreated vimfiles\bundle folder, but for this time I used the first repository with shortening my directory as in the second repository command (~/vimfiles/bundle/Vundle.vim). I've cried a bit, but then gathered myself and decided to delete the whole "vimfiles" folder in hope to make it back to the previous step. The Vim window opened without any functionality, empty, with only two lines on the bottom containing, I guess, the file size info. And as soon as I've tried to open _vimrc via Vim (or gVim), it showed a warning with Error E1187: failed to source defaults.vim. The next step instructed to edit the _vimrc file, to add some strings about Vundle into it. After the process was finished, I've checked the vimfiles\bundle folder, it appeared to be empty, but never mind, I did as I was told to. It actually worked (I thought), black plate of CMD got filled with multiple white letters indicating the downloading process. Okay, I googled for it more and found another tutorial with CMD instruction, which advised to insert a "git clone ~/vimfiles/bundle/Vundle.vim" command. Common CMD told me GTFO, but Git CMD reacted to the command, though again refusing to satisfy me, as there were "too many arguments". As in tutorial, I've made in C:\Program Files\Vim a "vimfiles" directory with "bundle" folder and followed the instruction to insert in CMD "git clone C:\Program Files\Vim\vimfiles\bundle". Vim started working successfully (at least, it opened without errors, showed all the functionality and let me edit the _vimrc file (I mean, before looking for a proper one in the web)). I installed Vim (32-bit) from here ( ), adjusted it (added to path, edited enviromental variables and so on as in tutorials), found a proper _vimrc file. local repo_dir = join_paths(get_runtime_dir(), "lvim") - local args = ,Īnd that source command in lv-reload looks redundant, so you should delete it.I'm absolutely new in C and Vim (now learning), started from Python, but now turned to C for educational reasons, along with which I had to learn the Vim (the point is, it wasn't my choice). local function git_cmd(subcmd) +local function git_cmd(args) Self.pack_dir = join_paths(ntime_dir, "site", "pack") self.repo_dir = join_paths(ntime_dir, "lvim")

vim devicnos after source vimr

Just gotta make sure that the LUNARVIM_RUNTIME_DIR variable is set.ĭiff -git a/lua/a b/lua/a I launch neovide and it automatically uses lunarvim. I launch nvim, and I get lunarvim (no aliases or using lvim script). Local repo_dir = join_paths(get_runtime_dir(), "lvim")Īfter these changes, everything works. utils.join_paths(get_runtime_dir(), "lua", "a")) In utils/a, edit the function reload_lv_config() : This fixes the config reloading on save.Added the following export to my zsh (or bash) exports:Įxport LUNARVIM_RUNTIME_DIR=$HOME/.config/nvim.Some of the things like reloading the configs, and running LvimUpdate will fail It kind of works but not without some tweaks. It probably still needs some polishing, but it should hopefully work. This should probably work now after #1381.Ĭlone the repo into ~/.config/nvim and start nvim or goneovim like usual.















Vim devicnos after source vimr