GithubHelp home page GithubHelp logo

goreliu / vimdesktop Goto Github PK

View Code? Open in Web Editor NEW
410.0 38.0 77.0 2.77 MB

让所有 Windows 桌面程序拥有 Vim 操作风格的辅助工具

License: MIT License

AutoHotkey 99.82% Shell 0.18%
total-commander autohotkey

vimdesktop's Introduction

icon VimDesktop

让所有 Windows 桌面程序拥有 Vim 操作风格的辅助工具。

链接

详细介绍

Introduction

下载地址

文档首页

TC 快捷键列表

API 列表

更新历史

VimDesktop 历史

VimDesktop 的前身是 linxinhong 的 ViATc (现已停止更新):github地址 sourceforge地址

之后 linxinhong 将其升级为 VimDesktop 1,该版本由 linxinhongvictorwoowideweide 等人协同开发。

再之后 linxinhong 又将其升级为 VimDesktop 2,2版本的核心文件和1版本相比改动较大,配置文件格式也有所不同。

目前 linxinhong 将主要精力放在 QuickZ 上, VimDesktop 2 已有较长时间没有更新。

此版本 VimDesktop 的历史和缘由

我 2016 年 1 月接触到的 VimDesktop,当时在网上搜到了两个版本的 VimDesktop,如上所述。我分别试用后感觉 VimDesktop 1 版本的好用些,主要是 TotalCommander_Dialog 插件很有用,配置文件也更方便些,当时并未考虑过修改代码。但使用过程中慢慢发现一些问题,或者有功能缺失,改了很多代码。修改过程中,发现这个版本的核心文件 lib/vimcore.ahk 缺陷比较多,功能也相对薄弱,而 VimDesktop 2lib/class_vim.ahklib/vimcore.ahk 的升级版,功能更强大,缺陷也少些。于是改用 VimDesktop 2 的部分核心文件,而插件部分还是沿用之前的代码,除了必要的兼容性改动。

此版本包含 VimDesktop 1VimDesktop 2 的全部功能。

2020 年起,我不再发布新版本,不再保证原有功能继续保留,不再保证配置的向后兼容性,不再回答任何功能相关问题,不再维护文档,我会根据自己的需求随意修改代码,请不要随意更新。因为很多陈旧代码的功能我并不需要,也无力测试,放在那里会让软件的维护变得十分困难,所以我已经几年时间没有大改了。为了让这个软件继续活下去(即使只有我一个人用),我必须放弃向后兼容的包袱,大刀阔斧地修改。另外我已经用 Double Commander 替代了 Total Commander,所以不再维护 TC 插件(但不会删除代码)。而我写的 DC 插件,依赖 DC 本身的代码修改和配置定制,仅供自用。

如果有人想维护该软件的公共版本,可以通过 [email protected] 联系我。

vimdesktop's People

Contributors

bwming avatar crpig avatar goreliu avatar northleafup avatar nothingisbig avatar victorwoo avatar wideweide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vimdesktop's Issues

请问能否仅将Win+T设置为全局使用?

你好!
在使用中发现,在vimd.ini默认将Vim设置在了Exclude项中。这样在使用中就会出现如果打开了gVim便无法使用Win+T的默认快捷键来调出TC,而只能先切换到其他程序当中,再按该键来调出。
请问有没有什么方法可以仅将Win+T设置为不对gVim排除呢?
谢谢!

features of this project?

Hi,

unfortunately, I am not able to read any Japanese. So, I can not see which features are implemented within this project. As I am very much interested in providing / developing a specific form of keyboard mapping across the Windows environment, I was wondering if you could help me creating a list of fulfilled features, so that I can see if this project would be useful for my purposes:

show current mode status
show which mode is currently active. in vim, there are (among others) the NORMAL, INSERT, VISUAL and COMMAND LINE modes available. this might be shown e.g. by an icon within the task row.

provide NORMAL mode
this would be a mode in which navigation within the text as well as special transformation activities can be performed on the text.

provide INSERT mode
this would be the standard input mode which is active within all the "normal" editors all the time.

command input
like in vim the command line interface entered via ":" in NORMAL mode

highlighting of text
like in vim using "*" for highlighting the current word under the cursor and searching for the next occurrence

auto-enable in known application
provide automatic enable of specific keyboard mapping when a known (registered) application gets into window focus

provide settings menu
provide a way in which a user can comfortably change general or application-specific operation behavior

application-specific mappings
provide a set of keyboard mappings with respect to the specific application. so, in one application means and in another it means +.

key -> activity mappings
a single key press can be mapped to a sequence of specific key presses or other activities

functional sequence -> activity
a sequence of key presses is mapped to an activity. the source sequence is evaluated while typed. the target activity is triggered when a functional match was detected. the triggered activity is parametrized by the source sequence. this could be used to implement "yiW" (yank inside word) c.f. vim's NORMAL mode.

static sequence -> activity
a sequence of key presses is mapped to another sequence of key presses or an activity. the target sequence / function is triggered when a specific trigger key is pressed (e.g. or ). this can be used for common abbreviations within standard texts.

Are there maybe other features which this project covers?

I hope to receive some helpful statements ;-)

Thanks
Nnako

windows 10 重启电脑后vimd异常闪退

不记得自己对操作系统做过什么修改,现在是每次重启后vimd都会闪退。不能正常运行。

不知道可以提供什么你可以拿来测试?

建议增加快捷键在平行目录跳转

TIM截图20180612123851.png
如我打开ZK188这个文件夹后,想一键跳转到ZK187或者ZK189目录下。
我知道有TC插件,tcimg 可以实现,对应参数 parll=0 打开下一个同级目录,parll=1 打开上一个同级目录。
感觉用要是用vimd的单键模式更方便。

允许把CapsLock作为修饰键

由于CapsLock占用了很好的位置,其功能又能被Shift代替,因此如果能把CapsLock作为修饰键,就可以和60%键盘一样,用CapsLock+H/J/K/L作为方向键,并且增加很多方便的组合键。

载入插件失败

这个AlwaysOnTop.ahk 代码如下,虽然弹出这个错误提示,但是置顶功能正常
;==================================================
;** 快捷键 Win+ESC 使当前窗口置顶/取消置顶
;==================================================
#Esc::
WinSet, AlwaysOnTop, toggle,A
WinGetTitle, getTitle, A
Winget, getTop,ExStyle,A
if (getTop & 0x8)
TrayTip 已置顶, 窗口标题: n%getTitle%,10,1 else TrayTip 取消置顶, 窗口标题:n %getTitle%,10,1
return

请问能否实现Win+E打开TC时自动最大化呢?

最近一段时间一直在使用Vim,今天刚刚看到了VimDesktop,很好奇,便下载下来使用了。很方便,在此感谢开发者!

我想请问一下能否在按了Win+E弹出TC时使之全屏?另外,能否在开机运行VimDesktop时不再出现正在映射快捷键的窗口?

谢谢

我做了一个word 模拟 vim 的插件

作者你好,我做了一个vimd for word 的插件 ,根据 vim 的方式 来操作 word 文本 ,现在模拟了一些 。包括 常用 的 e , b , hjkl, gg ,G ,_ , $ , ,还有 ve vb 之类 的 操作 ,都是用 ahk 通过COM组件 使用vba 操作 word (发送按键 的话 有机率 卡键 ),希望 作者 可以 收录一下,放到 plugin里……要是能添加 更多 功能 就更好啦!
这是链接:https://pan.baidu.com/s/12d1TEuOW2Cm-_IE7rMigGw
提取码:i6cg

Vm和Q键的连续按键触发bug

Vm:显示/隐藏菜单栏
Q : 启用、禁用菜单栏
按一次没问题,但是在重复操作会关闭当前TC并再开启好几个TC(没有选择"每次仅允许一个TC运行",如果选择只会再次开启一个TC)
目测toggle菜单栏相关的命令有BUG
(TC版本 : 9.12 WIN7 sp1 x64)

vimd 插件导致ahk hotstring失效

比如自己写了notepad++的vimd插件,insert mode下会发现自己的ahk脚本里定义的hotstring无法工作了。比如rs::return这个,insert模式下输入rs,无法被照常输出return。

关于ESC之后全局禁用输入法

开启中文输入法状态下按下esc进入normal模式,部分应用的快捷键无法有效使用,建议按下esc进入normal模式时全局禁用中文输入法

liu老师你好

请问,doublecommand和新版wps能否支持
新版wps,我之前用老版本可以的很好. 新的wps似乎不太能兼容excel插件

想在 vimd里面 加入 caps修饰键,;分号 修饰键 应该怎么加呢

;Capslock用作修饰键
#inputlevel,2
$CapsLock::F20
#inputlevel,1
;单按Capslock 是 esc的功能
F20::Escape
;Capslock 实现上下左右,删除,回车等
F20 & H::
send,{left}
#inputlevel,0
将大写 映射成 f20键,通过 f20 +hjkl 实现上下左右 ,我将这个ahk 文件 放到 了 custom.ahk 里面 加载 ,但是 重启 vimd 没有反应…… 不知道怎么改……

,标记功能不能用

刚更新了,我将d改为常用文件夹,但是 , 标记功能不能用,是打开下方命令框,并且自动输入m
TIM截图20171119213916.jpg

WizNote.ahk

您好:
先简要的介绍下:
本人是非 IT 人员,我到是有兴趣做这个脚本的使用测试,
先咨询第一个问题:
为知笔记里的键绑定是好像不能用!
用鼠标点击(个人笔记中的文件夹后,j 键能用一次,再次 t 键并不能重复选择到
"定位到左侧目录" )

第二个问题:

有没有在那里设置 vimdesktop 中的全局键对某个类型的窗口可以失效,
如我现在的用的 spacemacs 窗口,多说一句,我主要是用 emacs 中的 org-mode
来写文档的,别的都不会,在网上现学的。

关于m标签功能的建议

可持久保存标签比之临时保存有了很大提升,另建议实现:

  • 支持多键标签,一键较少,且不太容易记忆
  • 可移除标签

关于vimd.ini

下载体验了一下

  • vimd.ini 默认不提供,忽略该文件,由程序运行时自动生成,毕竟每个人的配置都不一样。这样每次直接同步代码就可以使用最新的版本了
  • 修改vimd.ini后会自动重启吗?另外用菜单重启的时候,几乎没有成功过,总是提示:Could not close the previous instance of this script...

TC 升级到 beta 13后,mark 功能异常

信息

OS: win10
TC: TC9 beta 13
vimd 2.14

情况

  • 按 ' (单引号),可弹出mark list ,选择其中某个mark list后,按回车,目录不跳转,再按下 enter 键,目录才会发生跳转。
  • 希望可以得到帮助 。谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.