How to open a file in new tab by default in NERDTree?

后端 未结 7 1941
说谎
说谎 2021-02-01 01:10

I want a file to be opened in a new tab when I enter or double click it. I know there is t shortcut but I always open a file in a new tab and enter is more confortabl

7条回答
  •  难免孤独
    2021-02-01 01:32

    For the double-click event specifically, it is (only?) possible by slightly changing the NERDtree source code (posted here):

    https://stackoverflow.com/a/31570970/5144840

提交回复
热议问题