How to use copilot in vim

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign [Music] how to use a copilot in veeam actually I already created a connection between my uso2 actually it's a water machine I presented in a previous tutorial how to make it work and then I was able to configure it now I will try to present it in a moment how to make it work um first of all you need to understand a few things but third version you need to have a delete version 18 um because copilot required our newer one and um if you want to actually check version which you have you can go to the directory in your ham directory the NVM or version node it's creating because I was installing with NVM uh the node.js right um if you have any other version here you can remove it you can eventually set the default version right and VM so for example if you want to set uh default node.js with NVM you need to figure it out how to make it work um and that's it's quite easy just because um if you do this represent it in what um like you need something like a file with aliasm you can do this um in your system UK number 20 is uncommon so we can try to do it um and just um NVM only off and the default version but instead of V I will just try to use this number right and now if I will use nerd version um that is interesting because it should be this one nvmls I'm completing the version you can see it's a version 20. 1.2 under the system also and the default is set to 20 to 2 Bob the system is using 80. I don't know why actually so eventually can try to do something like NVM use the default right Now using mode 20.2 and if you will now do this node V you can see it's using it so the first command is multiple go here check version I mean check directories because if you have any other do this something like Adam or Earth and for example like that version 1421.2 and remove it then go to the 100 Trade just you know to make it enough and after that set up the earliest right the default after Dark all right here the default and after that we object node version and it should use 20.20 and um that's that's very important and now if I will go to Vim test the sage and for example I would like to use a copilot right so cool pilot status enable it and online okay lovely so we're trying to create a bus script so hit insert slash mark yes sir I've been bash right or bin Bash okay done right and now hit the double ladder and it will do the completion this is a test clip hit enter hit the tabulator then eventually you can use something like your name so you can delete with X and insert my name oh date yeah excellent you can of course choose the version and you can see something like that and eventually you can use something like intercept Ajo and how something like this I hope you can you can do it like that okay and you can put the end of the read oh and now Edge mode user plus 8 to test H file and does the stage file and this is about three so you can see the gold pilot is using a completion and this way you can make it work um so much faster much better and of course if you're writing some complex code this is more convenient way to use it now that's worth the example how to use a copilot inside the Vim it's quite easy but you need to understand that you need a proper version of node 3S to be set of default and that's the reason and sometimes you have more than one node.js version installed in your operating system so you need to check exactly and with the with the command I will enabled it of the gun and here we go if you will and VM list like that it will show you what you have currently installed and if you will use the remote it will list uh I'm not sure yet that's why sorry I don't remember all those commentary mode yeah this one it will list all versions that are available and you can install it with NVM install and the proper version if you want to have more than one and it's required and then you can set up the default version and you will be able to work with a copilot and that's all actually this is something that I was able to figure out because I was wondering is it possible to make it work and because the copilot was returning the reason that is unable to run because I do not have a proper version of the node.js installed in the system and after that uh I was able to run it but when I shut down the vsl wsl2 machine my above machine and then once again a product it on the default version was 14.21 or something like that so yeah and I had to set the default version to 20 Dot something uh so I presented and now I can use a copilot so this is the way you can use it and just be careful just like that because it's crucial into and I hope you will be able to use it properly in your command line thank you very much have a nice day take care bye bye foreign
Info
Channel: Sysadmin
Views: 1,566
Rating: undefined out of 5
Keywords:
Id: Ku1nn3xSM6M
Channel Id: undefined
Length: 8min 47sec (527 seconds)
Published: Thu Jun 01 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.