Vim – Open file in existing window new tab on Windows
来源:互联网 发布:天盛网络 编辑:程序博客网 时间:2024/05/29 10:39
Opening files in Vim editor via context menu is quite simple, but what if I want to open a file in a new tab in existing window?
The solution is quite simple, at least on my Windows 7 machine, but I guess it should work also on previous versions of Windows.
1. Open regedit
2. find HKEY_CLASSES_ROOT/*/shell
3. right click on “shell” folder and create a new Key and call it, i.e. “Open in a new Vim tab”
4. right click on currently created folder and create a new Key called “command”
5. into default string value enter following code:C:\apps\Vim\vim73\gvim.exe --remote-tab-silent %1
ofcource the path to your gvim executable must be valid.
[custom_frame_center shadow="on"]
[/custom_frame_center]
6. check it
[custom_frame_center shadow="on"]
[/custom_frame_center]
Add icon to your created contextual menu
if you want to add an icon to your contextual shortcut, follow these few steps
1. find your previously created item in regedit
2. right click on the item and select “Expandable string value”
[custom_frame_center shadow="on"]
[/custom_frame_center]
3. change the “Name” of the new value to “Icon”
4. make modification and add path to your icon file
[custom_frame_center shadow="on"]
[/custom_frame_center]
5. check your update
[custom_frame_center shadow="on"]
[/custom_frame_center]
- Vim – Open file in existing window new tab on Windows
- open file on vim tab
- open tag in new tab in vim
- vertical open or new file in vim
- Vim settings file on Windows
- open hosts file quickly in windows
- Force a CREF Open in a New Window
- You cannot access the existing File Share resources on a Windows Server 2003 failover cluster
- Oracle APEX Open a new window/tab page and navigate to a URL
- sessionStorage new tab new window ctrl
- Vim中的buffer, window, tab
- Vim扫盲: buffer,window,tab
- Firefox - 附加软件 - Firebug - Net网络视图 - Open in New Tab在新标签中打开
- Aria -- Compiling a new file(s) in Windows
- [小技巧] Vim 如果去除 “existing swap file” 警告
- wpf click on datagrid to open tab
- failed to open stream: No such file or directory in includes/src/Varien_Autoload.php on l
- File open mode in Ruby
- 套合子(典型的匈牙利算法)
- 对于TextView 设置 Ellipsize ="End" 无效时的解决方法
- 分布式java应用学习笔记三
- 一个简单的MSMQ的发送和接收类
- 软件启动页面全屏设置
- Vim – Open file in existing window new tab on Windows
- Android传感器API:近距离感应Proximity
- Qt下的模态与非模态对话框
- MyEclipse JRE环境配置
- Jquery读取返回的JSON数据
- 在MFC GUI情况下使用log4cxx
- 为iOS App增加启动渐变效果
- Andriod学习笔记:欧朋手机浏览器安卓版6.8
- AutoConfig Tools