I want to override NetRW's response to <CR>. When I hit enter, I want to:
- get the path of the file or directory of the line with the cursor in the
:Lexwindow - test if path is a file
- if the path is a file:
- the explorer from
:Lexcloses tab dropto the path- open
:Lex
- the explorer from
However, I have no idea how I can get the path or directory of the line with the cursor in the :Lex window, without opening the file first. Any advice is appreciated.