how to use nvim to open the current file ? #1252
-
This command just open nvim but wont edit the current file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Well there's a default keybinding "Enter" and "o", or you can use "O" to select how to open the file in(including $EDITOR). Why is there a need to complicate this??? And if you really want to use "e" as your keybinding for it, you can add this at the bottom - [[manager.prepend_keymap]]
on = ["e"]
run = "open"
desc = "Open the selected file" |
Beta Was this translation helpful? Give feedback.
-
Oh I make it work forgot about the double quote thing . Double quote the command string
|
Beta Was this translation helpful? Give feedback.
I want enter to open html in chrome, e to open every file in nvim