If you feel better with a GUI you can install gvim.
Command explanation:
Never ever do this beginner mistake! Don’t change the ownership of root owned files only to edit them! The biggest mistake what you can do!
Use editors like gvim as root to open the files and edit them instead!
vim is not the easiest editor available. You can use Kate (If in KDE) or any other text editor. From command line joe or nano may be easier to use. In any case there are lots and lots of editors available other then vim
To see all start Yast-Software Management set search in description and search for editor
VIM is OK once you know ALL the function keys . You never need to leave the keyboard .
But there a lot of text editors that are far easier to use. Just because a webpage suggests vim does not mean you can’t use any text editor that you are comfortable with. Text is just text
There is no need to write a vi(m) handbook here. I assume there are enough of them (and there is of course man vi).
And there is no need to use vi when you are trying to learn more about the command line. There are other command line editors and also you can use a GUI editor to write bash scripts. Do not try to learn everything all together, but concentrate on a few subjects. That is already steep enough.
I use vi for more the 40 years now, but I only know and use a very small subset of all the features. And I grab to the man page when I need something more complicated. But I will not recommend it to others, specially when they are new, to use it.
Of course it asks. It has to create a proper entry for /etc/fstab and there it is needed. And when you have it already, then tell it YaST. And YaST is also very nice, when it does not exist already, it will create the mount point for you.
Every partition, that is not FAT or a USB disk need the root authorization to be mounted.
If you have multiple drives, multiple partitions you want to mount, eg Windows, you need to give them all individual mount points. Use Yast partition for that.
E.g. for windows
/win_c
/win_d
/win_e
for all other partitions you have to do the same
/drive_2
/drive_3
It either the one or the other. You put them in /etc/fstab (where they belong IMHO) and then they will be mounted at boot and always be there, or you let a user fumble around with his/her Dolphin which will then try to get them mounted ad hoc. And for that you need the root password.
And try to understand what mounting is, what it does, and wherefore.
E.g. understand that “mounting a disk”. or “mounting a partition” is only a very sloppy shortcut to what is happening. What is mounted is a “file system”. And for that you need to address where that file system is. And for that you need to address the place where the file system is. And that can be all sorts of things like a Mass storage device (disk, revolving or solid state or whatever), partition of a disk, Logical Volume, RAID device, …
To get into opensuse, I now used a older snapshot. (which is called pre yast)
I am now first gonna google on how to get the second entry the main one.
I did this before, but its been a while so don’t know it from the top of my head.
Pen and paper still exist. Thus make notes whenever you do things to your system. Specially when you have the slightest idea that you may need them again.