ソースを参照

Add F12 as run plugin key:wq

master
Arun Prakash Jana 5年前
コミット
ea81e2e569
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
3個のファイルの変更5行の追加8行の削除
  1. +1
    -1
      README.md
  2. +3
    -7
      src/nnn.c
  3. +1
    -0
      src/nnn.h

+ 1
- 1
README.md ファイルの表示

@@ -261,7 +261,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
s Size E Extn t Time modified
MISC
! ^] Shell L Lock C Execute entry
R ^V Pick plugin xK Run plugin key K
R ^V Pick plugin F12 xK Run plugin key K
c SSHFS mount u Unmount
^P Prompt ^N Note = Launcher
```


+ 3
- 7
src/nnn.c ファイルの表示

@@ -927,12 +927,8 @@ static bool initcurses(mmask_t *oldmask)
return FALSE;
}
} else if (!initscr()) {
char *term = getenv("TERM");

if (term)
fprintf(stderr, "error opening TERM: %s\n", term);
else
fprintf(stderr, "initscr!\n");
fprintf(stderr, "initscr!\n");
DPRINTF_S(getenv("TERM"));
return FALSE;
}

@@ -2847,7 +2843,7 @@ static bool show_help(const char *path)
"cs Size E Extn t Time modified\n"
"1MISC\n"
"9! ^] Shell L Lock C Execute entry\n"
"9R ^V Pick plugin xK Run plugin key K\n"
"9R ^V Pick plugin F12 xK Run plugin key K\n"
"cc SSHFS mount u Unmount\n"
"b^P Prompt ^N Note = Launcher\n"};



+ 1
- 0
src/nnn.h ファイルの表示

@@ -241,6 +241,7 @@ static struct key bindings[] = {
{ CONTROL(']'), SEL_SHELL },
/* Plugin key */
{ 'x', SEL_PLUGKEY },
{ KEY_F(12), SEL_PLUGKEY },
/* Run a plugin */
{ 'R', SEL_PLUGIN },
{ CONTROL('V'), SEL_PLUGIN },


読み込み中…
キャンセル
保存