Binding to the F# keys still works. In the style of keybindings.lua, e.g.
F3 = function() command.quick_weapon('pistol') end,
Note that the keybinding format has changed quite a bit since those nethack style keybindings were written, but it shouldn't be hard to update them if you are so inclined.