sudo apt install nemo
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.cinnamon.desktop.default-applications.terminal exec <terminal>
When using Warp, it appears there needs to be an existing Warp window open in order for Nemo to properly open Warp in the correct directory. Otherwise it just defaults to the home screen. Changing the setting in Warp under "Features" for "Restore windows, tabs, and panes on startup" but that's an annoying setting.