Sometimes, when I type a command like mycmd --my-file ./here/comes/some/file.txt I start wondering whether I actually selected the correct file or if I mixed something up. Then I copy the file path, open a new terminal tab and open the file in less.
fish has some cool shortcuts, for example Alt+H to open the man page of the current command.
What about a shortcut for opening the current file in a pager? I think it could be useful.
I'm thinking about what shortcut would be appropriate. Some of them are already occupied for other actions. So I'm leaning towards Alt+O as in Open.
What do you think?
Sometimes, when I type a command like
mycmd --my-file ./here/comes/some/file.txtI start wondering whether I actually selected the correct file or if I mixed something up. Then I copy the file path, open a new terminal tab and open the file inless.fish has some cool shortcuts, for example Alt+H to open the man page of the current command.
What about a shortcut for opening the current file in a pager? I think it could be useful.
I'm thinking about what shortcut would be appropriate. Some of them are already occupied for other actions. So I'm leaning towards Alt+O as in Open.
What do you think?