Skip to content

davidborzek/rofi-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-vscode

Table of Contents

Installation

  1. Clone or download the repository.
  2. Install rofi.
  3. Run make install. (maybe you need sudo permissons to do this)

Usage

Example

If the script is in a binary directory: rofi-vscode [directory]

Replace [directory] with the directory of your vscode workspaces. (e.g. /home/user/git)

Functions

The script will open a rofi dmenu where it will list all the directories in the given workspaces directory. If you select a directory (or project) it will open it in vscode.

  • Create new workspace: It asks you for new directory name and creates a new directory in the workspaces folder. Finally it will open it in VSCode.
  • Add existing project from git : It allows you to clone a git repository from the scirpt either from a SSH or a HTTPS source.
Info

If you want to clone a git repository via ssh and your ssh key is protected with a passphrase, you should either remove the passphrase for better comfort or you have to run ssh-add ~/.ssh/id_rsa before you clone the repo.

Keybindings

  • Alt+r: Remove the selected workspace
  • Alt+e : Edit (rename) the selected workspace
  • Alt+Return: Open a information view about the selected workspace
  • Alt+t: Opens the selected workspace in a terminal

Requirements

  • rofi
  • git
  • curl
  • Visual Studio Code (code)

Screenshots

soon...

About

A vscode workspace selector using rofi.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors