assuming that you are on windows and that you have installed gpg4win with gpa and kleopatra selected:
in kleopatra you should see your key with a smartcard icon next to it that means that the private key is on the smartcard.
to check the gpg data on yubikey you can use this command (from cmd):
Code:
gpg --card-status
this will tell you if there are keys and their fingerprint.
to use it you can drag&drop a file in kleopatra and it will ask you what to do with it:
-sign
-encrypt
-both
-decrypt
-verify
the same apply if you don't use a yubikey.
make a copy of the private key
OFFLINE before moving the key to card (after is no more possible).
keep also a copy of the public key, you will need it.
you can move it to other pc, import it (drag&drop), and issue the above command to let gpg understand that the private key part is on the smartcard.