-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopen-w-atom.reg
executable file
·55 lines (46 loc) · 1.75 KB
/
open-w-atom.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Windows Registry Editor Version 5.00
;
; Adds 'Open in Atom' to context menu (when you right click) in Windows Explorer.
;
; Based on https://github.com/Zren/atom-windows-context-menu. It didn't work
; https://github.com/Zren/atom-windows-context-menu/issues/1.
;
; Save this file to disk with a .reg extension. Replace C:\\Program Files\\Atom\\atom.exe with
; the path to the atom executable on your machine.
;
; Make sure you are running as administrator.
;
; Double click the file and then click yes on the popup.
;
; OR
;
; open a command prompt and type
; C:> regedit path\to\open-w-atom.reg
;
; That's it!
;
; License, MIT
; when you right click a file
[HKEY_CLASSES_ROOT\*\shell\Atom KI ext]
""="Open File in Atom"
"Icon"="C:\\Program Files\\Atom\\atom.exe"
[HKEY_CLASSES_ROOT\*\shell\Atom KI ext\command]
""="C:\\Program Files\\Atom\\atom.exe \"%1\""
; when you right click a folder
[HKEY_CLASSES_ROOT\Directory\shell\Atom KI ext]
""="Open Folder in Atom"
"Icon"="C:\\Program Files\\Atom\\atom.exe"
[HKEY_CLASSES_ROOT\Directory\shell\Atom KI ext\command]
""="C:\\Program Files\\Atom\\atom.exe \"%1\""
; when you right click a folder while holding shift
[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom KI ext]
""="Open Folder in Atom"
"Icon"="C:\\Program Files\\Atom\\atom.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom KI ext\command]
""="C:\\Program Files\\Atom\\atom.exe \"%V\""
; when you right click the background, not on a particular file or folder.
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Atom KI ext]
""="Open Folder in Atom"
"Icon"="C:\\Program Files\\Atom\\atom.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Atom KI ext\command]
""="C:\\Program Files\\Atom\\atom.exe \"%V\""