This post shows how to add "Edit with Vim" and "Tab Edit with Vim" items to context menu (pop out when you right click a file) in Windows.
Run regedit.exe, go to HKEY_LOCAL_MACHINE/SOFTWARE/Classes/*/shell/
- Create new key "Tab Edit with &Vim" (Right click parent entry -> New -> Key)
- Create new key "Edit with Vim"
- Create new key "command" under "Tab Edit with &Vim"
- Edit the entry with name "(Default)", change its data to
<vim_dir>\gvim.exe" -p --remote-tab-silent "%1" "%*" - Create new key "command" under "Edit with Vim".
- Edit the entry with name "(Default)", change its data to
<vim_dir>\gvim.exe "%1"
It seems that latest versions of vim automatically create the registry entry:
- HKEY_LOCAL_MACHINE\SOFTWARE\Vim\Gvim and the data of entry path points to the vim executable.
- HKEY_CLASSES_ROOT\*\shellex\ContextmenuHandlers\gvim. Data of the entry "(Default)" is the CLSID (51EEE242-AD87-11d3-9C1E-0090278BBD99).
You can delete this entry because we have already added menu item "Edit with Vim". - HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command. Data of the entry "(Default)" is "<vim_dir>\gvim.exe" "%1"
- HKEY_CLASSES_ROOT\CLSID\{51EEE242-AD87-11d3-9C1E-0090278BBD99}
It has a key named InProcServer32. The data of "(Default)" is <vim_dir>\gvimext.dll - Some other keys
4 comments:
That was a great message in my carrier, and It's wonderful commands like mind relaxes with understand words of knowledge by information's.
python Training institute in Pune
python Training institute in Chennai
python Training institute in Bangalore
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
Data Science course in rajaji nagar
Data Science with Python course in chenni
Data Science course in electronic city
Data Science course in USA
Data science course in pune | Data Science Training institute in Pune
Outstanding blog thanks for sharing such wonderful blog with us ,after long time came across such knowlegeble blog. keep sharing such informative blog with us. DevOps Training | Certification in Chennai | DevOps Training | Certification in anna nagar | DevOps Training | Certification in omr | DevOps Training | Certification in porur | DevOps Training | Certification in tambaram | DevOps Training | Certification in velachery
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
angular js training in chennai
angular js training in velachery
full stack training in chennai
full stack training in velachery
php training in chennai
php training in velachery
photoshop training in chennai
photoshop training in velachery
Post a Comment