You can do
vap, etc to select a paragraph. I want to be able to select/yank/delete the entire file.
One way to do this would be to have:
vnoremap af ggoG$ nnoremap yaf ggVGy nnoremap daf ggVGd
But is there a way to create a new 'text object selector; (like
p for paragraph,
w for word, etc
) but withf` for 'file? E.g. with omap?