Skip to content

Use launch menu for ssh connections. #422

Answered by wez
LucNig asked this question in Q&A
Discussion options

You must be logged in to vote

It's not clear from your post whether you have a full config file; you want something like this:

return {
   launch_menu = {
       {
           label = "server x",
           args = {"ssh", "[email protected]"},
       },
   },
}

The launch menu is itself an array of launch menu items, so pay attention to how many {} you have around your menu definition!

Are you experiencing an error, or is what you're trying not producing a menu item, or is the menu item there, but not doing what you expect?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LucNig
Comment options

Answer selected by wez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants