Invoking notepad++ from Git Bash

后端 未结 14 2301
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 16:01

I am using msysgit in Windows 7. How do I invoke notepad++ from Git Bash, like we do it with our default notepad?

Like for example

name@usename notepad textfile.t

14条回答
  •  情歌与酒
    2021-01-31 16:37

    In your .bash profile add

    alias myeditor="'C:\\Program Files (x86)\\Notepad++\\notepad++.exe'"

    Give "\\" instead of "\".

提交回复
热议问题