For larger files where it would be better to navigate around you can use less. For example, to view the contents of your pacman.conf you could type:
less /etc/pacman.conf