Commit graph

18 commits

Author SHA1 Message Date
Arun Prakash Jana 655461a3f2
Add wrapper script for patool integration 2018-09-06 04:12:42 +05:30
Arun Prakash Jana 95a3e0fca4
Fix test dir name 2018-03-19 06:18:19 +05:30
Nexie Kind 815d8fb21c Fix zsh path autocompletion (#88) 2018-03-02 17:31:11 +05:30
Giacomo Rossetto 73932da9dd Improved portability on MacOS (#86) 2018-03-01 18:36:26 +05:30
Arun Prakash Jana a40d29ba9f
Support multiple file path copy
Design overview:

We are introducing multiple file path copy as a mode which can be toggled using
the keybind `^Y`. `^K` works as the individual entry selector. If the user wants
to select a range, (s)he can press `^Y` on the first entry and `^Y` on the last
entry.

We subscribe to notifications, so we need a fail-proof way to detect changes in
the directory contents. For example, if a file is deleted, it becomes difficult
to get the names of all the files in a range containing that file. If the file
is on a range boundary it would lead to wrong calculations. To handle this the
right way we use CRC8 checksum of all the visible entries in the directory. The
checksum is calculated based on the file information buffer. If the CRC changes
on a redraw(), we reset the multi-select mode.

New line (`\n`) works as the delimiter between file paths. Note that you may have
to disable IFS in the `NNN_COPIER` script to show file paths separated by spaces.
2018-01-14 01:43:30 +05:30
Arun Prakash Jana 0f27c2f01c
Retire Makefile.native 2017-12-26 23:49:47 +05:30
Arun Prakash Jana f687463574
Prepare for release v1.6 2017-12-25 17:13:25 +05:30
Arun Prakash Jana 5ff29cede8
Fix #50: revert to -O2 optimization
The while loop in xstrlcpy() breaks when -O3 is used.
2017-11-30 21:40:52 +05:30
Arun Prakash Jana 6dfccce55d
Add copier script 2017-10-10 20:29:48 +05:30
Arun Prakash Jana dcf8fbf78b
Prepare for release v1.5 2017-10-05 00:18:53 +05:30
Arun Prakash Jana b0a806ae2e
Enable O3 optimization 2017-09-27 22:48:46 +05:30
Arun Prakash Jana 91ab00061c
Prepare for v1.4 release 2017-09-04 10:23:02 +05:30
Arun Prakash Jana 335242a1eb
Make test script more aggressive 2017-09-02 18:09:47 +05:30
Arun Prakash Jana d0e4c0aac2
Add tests for Unicode and astral codepoints 2017-09-02 13:28:58 +05:30
Arun Prakash Jana 17350ecca4
Note Makefile.native differences 2017-09-02 12:47:02 +05:30
Arun Prakash Jana f6cb248975
Re-arrange artifacts 2017-09-02 12:34:29 +05:30
Arun Prakash Jana 564eafbeb3
Add auto-completion scripts 2017-09-02 12:23:19 +05:30
Arun Prakash Jana e2cde6c325
Change name to scripts directory 2017-09-02 11:15:10 +05:30