- Run custom scripts in the current directory
- Change directory at exit (*easy* shell integration)
- Edit file in EDITOR or open in PAGER
- - GUI app launcher
+ - Application launcher
- Terminal locker integration
- Unicode support
- Highly optimized, static analysis integrated code
^J Disk usage S Apparent du
s Size t Modification time
MISC
- o Launch GUI app !, ^] Spawn SHELL in dir
+ !, ^] Spawn SHELL in dir o Launch app
R Run custom script L Lock terminal
```
cat ~/.nnncp | xargs -0 echo
+Set an easy to remember alias:
+
+ alias ncp="cat ~/.nnncp | xargs -0 echo"
+
To get the list in a file:
- cat ~/.nnncp | xargs -0 echo > out.txt
+ ncp > out.txt
#### cd on quit
MISC
.Pp
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
-.It Ic o
-Launch a GUI application (takes 2 combined arguments)
.It Ic \&!, ^]
Spawn SHELL in current directory (fallback sh)
+.It Ic o
+Launch an application (takes 2 combined arguments)
.It Ic R
Run a custom script
.It Ic L
"d^J Disk usage S Apparent du\n"
"es Size t Modification time\n"
"1MISC\n"
- "eo Launch GUI app !, ^] Spawn SHELL in dir\n"
+ "a!, ^] Spawn SHELL in dir o Launch app\n"
"eR Run custom script L Lock terminal\n"};
if (fd == -1)
goto nochange;
}
- if (sel == SEL_OPEN) {
- r = get_input("press 'c' for cli mode");
- if (r == 'c')
- r = F_NORMAL;
- else
- r = F_NOWAIT | F_NOTRACE;
+ r = get_input("press 'c' for cli mode");
+ if (r == 'c')
+ r = F_NORMAL;
+ else
+ r = F_NOWAIT | F_NOTRACE;
+ if (sel == SEL_OPEN) {
getprogarg(tmp, &ptr);
mkpath(path, dents[cur].name, newpath, PATH_MAX);
spawn(tmp, ptr, newpath, path, r);
++ptr;
}
- spawn(tmp, ptr1, ptr2, path, F_NOWAIT | F_NOTRACE);
+ spawn(tmp, ptr1, ptr2, path, r);
break;
}