mocihan

Results 32 comments of mocihan

The first parameter of `start` is `["title"]`: ``` > start "a b.txt" ( Open a cmd.exe window with the title "a b.txt" > start "" "a b.txt" (Open "a b.txt"...

I think a new `--outbash-daemon` option is necessary, just write `~/.config/cbwin/outbash_port` and run in background without running any bash.exe process. `--outbash-session` also works, but I need to write a .js...

What about translating `/home/xxx` to `/mnt/c/Users/%username%/AppData/Local/lxss/home/xxx`, and `/{etc,usr,xxx}` to `/mnt/c/Users/%username%/AppData/Local/lxss/rootfs/{etc,usr,xxx}` ? Just a sample used by myself: ``` diff --git a/caller/wrun.c b/caller/wrun.c index ed99a21..43179e3 100644 --- a/caller/wrun.c +++ b/caller/wrun.c @@...

@poma I can create a file in WSL and read or edit it with Windows software, like this: ``` goreliu@MY-PC:~ $ n ahk # cp ~/.templete/ahk.ahk . goreliu@MY-PC:~ $ np...

Write a bash function may work: ``` wstart_new() { dir_name="$(dirname "$1")" base_name="$(basename "$1")" shift cd "$dir_name" && wstart "$base_name" "$@" } ```

在64位win10下使用,没发现兼容性问题。

把TotalCommander_Dialog里的回车键绑定去掉后,用了很长时间都没再出现,应该是和这有关系。

应该是vimcore.ahk的bug,虽然TotalCommander_Dialog在离开时把模式切换回了normal,但映射的快捷键并没有被清除。

可以考虑自己在Plugins目录下新建一个插件,用于定义自己的功能,这样也更灵活些,如: ``` : Send !d^v{enter} return ``` 然后配置文件里写: ``` p=[=normal] ```

我这个版本加上了,语法就是`d=[=normal]`这样 https://github.com/goreliu/vimdesktop