Commit graph

126 commits

Author SHA1 Message Date
Arun Prakash Jana ad4e35215b
Add if blocks used (helps in large dirs) 2017-06-22 07:12:40 +05:30
Arun Prakash Jana 90680cb370
Show content size of cur dir in du mode 2017-06-21 23:51:53 +05:30
Arun Prakash Jana f59cd3e90f
Minor changes 2017-06-21 09:49:02 +05:30
Arun Prakash Jana 3da053cbfa
Use macros for flags to spawn() 2017-06-20 21:29:37 +05:30
Arun Prakash Jana 5ea4eb0816
Use bitfields for settings 2017-06-20 20:28:53 +05:30
Arun Prakash Jana 2b248e4e1a
Re-structure header 2017-06-20 10:26:31 +05:30
Arun Prakash Jana 370ed32a28
An undocumented debug mode
1. The debug file is located at /tmp/nnn_debug.
2. Debug mode is completely disabled by default. The debug binary `nnndbg` can
be built by running `make debug`.
2017-06-20 00:50:19 +05:30
Arun Prakash Jana b66fa0325d
Use preincr and predecr 2017-06-17 12:28:21 +05:30
Arun Prakash Jana 7a2b1babdd
Push curses exit() and init() to functions 2017-06-15 21:34:47 +05:30
Arun Prakash Jana 6d20178881
Fix reasonable checkpatch reports 2017-06-15 19:34:56 +05:30
Arun Prakash Jana 8404c0fd04
Fix build failure 2017-06-11 20:09:42 +05:30
Arun Prakash Jana 2a1f99526f
Show current config along with help 2017-06-11 19:24:02 +05:30
Arun Prakash Jana 8c6ab7df02
Support bookmarks 2017-06-11 10:12:32 +05:30
Arun Prakash Jana e495886b59
Suppress output when spawning DE file manager 2017-06-07 20:05:31 +05:30
Arun Prakash Jana a9a8b30bdf
When filter is empty, open file on Enter 2017-06-07 03:04:47 +05:30
Arun Prakash Jana 6a9640afdf
Exit once an app is found. Help, doc updates. 2017-06-06 23:32:40 +05:30
Arun Prakash Jana f52367a481
Set to the lat selected file 2017-06-06 21:31:40 +05:30
Arun Prakash Jana 889500b057
Set detail view mode as default, introduce light mode 2017-06-06 21:01:28 +05:30
Arun Prakash Jana e8942707cd
We copy the absolute file path 2017-06-06 20:24:04 +05:30
Arun Prakash Jana da9499b138
Optionally use EDITOR (fallback vi) for text files 2017-06-06 20:16:32 +05:30
Arun Prakash Jana fe775ccf1f
desktop opener - xdg-open on Linux and open(1) on OS X 2017-06-06 02:13:58 +05:30
Arun Prakash Jana 94ed36b498
nlay - support multiple apps 2017-06-05 21:06:52 +05:30
Arun Prakash Jana b0efe4c642
Disable key to run top 2017-06-05 03:39:30 +05:30
Arun Prakash Jana 8d6ceb00a7
Use vlock as locker, add ^Q to quit
^Q would quit even from filter mode
2017-06-05 03:39:23 +05:30
Arun Prakash Jana 249b6f76fc
Fix issues with DEL on Mac on empty regex exprn
On Mac and error is thrown if the regex expression to regcomp() is empty.

Please refer to comments at:
c42df81ae5
2017-06-04 23:58:30 +05:30
Arun Prakash Jana ac717a7531
Bind ^L to clear prompt 2017-06-04 22:05:23 +05:30
Arun Prakash Jana c42df81ae5
Insert key for navigate-as-you-type mode 2017-06-04 11:51:45 +05:30
Arun Prakash Jana 88e9df01a4
Navigate-as-you-type support
1. Open directories in filter mode
2. Fix arrow keys not working after filter selection (due to invalid cur entry)
3. Support `Insert` key to clear filter prompt
4. Update documentation
2017-06-04 05:06:56 +05:30
Johnathan Jenkins 67b96d4f07 fix compile warning on gcc7 (#32) 2017-05-29 23:21:44 +05:30
Arun Prakash Jana 16ec5d3351
Use gnome-search-tool as default search utility
Reasons:

gnome-search-tool is much more powerful than other tools in its category. It
supports numerous search parameters like size, modification date and supports
text search.
2017-05-23 18:57:19 +05:30
Johnathan Jenkins ab6bdbee6d
fix for glibc sys/types.h deprecation warnings (#31) 2017-05-22 19:27:35 +05:30
Arun Prakash Jana 1e1518c147
Remove redundant variable 2017-05-22 19:27:33 +05:30
Arun Prakash Jana 7727b745ed
Remove redundant variables, function calls 2017-05-20 07:12:57 +05:30
Arun Prakash Jana 95cdb78c6c
Reduce number of entry movements 2017-05-17 08:16:33 +05:30
Arun Prakash Jana 8263c9c419
Remove contraint on num_args 2017-05-17 04:44:46 +05:30
Arun Prakash Jana b817699b7f
Home-grown xstrlcpy() 2017-05-16 22:22:49 +05:30
Arun Prakash Jana 3243a3082a
Add check to defer name to number conversion 2017-05-16 07:32:21 +05:30
Arun Prakash Jana e671dcd092
Update help 2017-05-15 22:51:32 +05:30
Arun Prakash Jana 71bc3c7432
Fix #27: use catfish as default search utility 2017-05-15 20:14:13 +05:30
Arun Prakash Jana ba49beac79
Get rid of unsafe system(3) calls 2017-05-15 18:23:07 +05:30
Arun Prakash Jana 463c270caf
Fix regression from 08d87405d0 2017-05-15 10:18:33 +05:30
Arun Prakash Jana 20216a995b
Use execlp(3) instead of popen(3) 2017-05-15 10:02:58 +05:30
Arun Prakash Jana d01d689340
Use a global buffer for isolated functions 2017-05-15 03:07:22 +05:30
Arun Prakash Jana a279f58b91
Touchbase buffer manipulation 2017-05-15 02:26:53 +05:30
Arun Prakash Jana 9fb728170a
Replace system(3) with spawn() 2017-05-15 00:51:36 +05:30
Arun Prakash Jana e4f72170d0
Fix #26: Provide an option to use a custom nlay file. 2017-05-14 21:00:46 +05:30
Arun Prakash Jana d1924756c7
Fix #29
Limit all xstrlcpy() calls by dest length.
Escape filenames in system(3) calls.
2017-05-14 11:31:30 +05:30
Arun Prakash Jana 33c4a227d2
Make Makefile generic 2017-05-13 22:31:14 +05:30
Johnathan Jenkins 9eed24bbac pkg-config for ncurses (#25) 2017-05-13 22:03:08 +05:30
Arun Prakash Jana cbbe03247e
Fix #23 2017-05-13 10:27:49 +05:30