I love using feh to organise my image collections. I've set the actions to move the current image to a certain directory, but when trying to open gifs, feh doesn't animate them.
Therefore I was searching a lightweight image/gif viewer with the possibility to execute commands with simple key strokes like
--action in feh.
I've found a program that might be good enough. It's called gifview and it's an old version of gifsicle; you can get it by installing gifsicle. The really interesting option is
-w where you specify the window to open the gifs (so you can make all go to the same acting pretty much like feh), it still doesn't accept command inputs but it's close enough.