I want to set a shortcut to open vscode in the current directory, I have tried
code $(pwd)
and
alias s1="code $pwd" | s1
It is working in the terminal but not as a shortcut command, is there is a way to do it?
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityI want to set a shortcut to open vscode in the current directory, I have tried
code $(pwd)
and
alias s1="code $pwd" | s1
It is working in the terminal but not as a shortcut command, is there is a way to do it?
Go to System Settings --> Keyboard --> Shortcut --> Custom and click the + in the lower side of the right panel.