1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-02-24 10:11:30 +00:00
Commit graph

2848 commits

Author SHA1 Message Date
0xACE
955826a1e8 Fix dragdrop stderr causing issues ()
For w/e reason the output from `which` causes problems with nnn
rendering. This commit silences the problematic lines.
2019-11-04 08:12:00 +05:30
Arun Prakash Jana
6713bfba13
Fix 2019-11-02 21:50:26 +05:30
Arun Prakash Jana
baaf3ede2a
Update docs 2019-11-02 20:46:50 +05:30
Arun Prakash Jana
169c2141f6
Print improvements 2019-11-02 07:51:45 +05:30
Arun Prakash Jana
aedb9c2753
Update drag and drop plugin 2019-11-02 06:56:34 +05:30
0xACE
3c1645ca90 Merged drag and drop scripts to 1 file () 2019-11-02 06:54:14 +05:30
Arun Prakash Jana
013dad1186 plugin pskill 2019-11-01 21:54:51 +05:30
Anna Arad
c5c9323d30 Fix bad getplugs script () () 2019-11-01 21:28:32 +05:30
Arun Prakash Jana
55f687e463
Update version to 2.7 2019-11-01 19:38:41 +05:30
Arun Prakash Jana
5c336fb7da
Fix build break 2019-11-01 16:19:34 +05:30
Arun Prakash Jana
ef8db1fd45
Show size of file in bytes in status bar in du mode 2019-11-01 15:28:13 +05:30
Arun Prakash Jana
7416bb8503
Print version in debug output 2019-11-01 02:34:06 +05:30
Arun Prakash Jana
ef6a995e38
Fix : calculate checksum for directory tree 2019-11-01 02:28:25 +05:30
Arun Prakash Jana
6eeab1af9f
Use macro for 512B sector size 2019-10-30 22:43:22 +05:30
Arun Prakash Jana
a97e3ed5c4
Fix opening files from browser 2019-10-30 20:17:31 +05:30
Arun Prakash Jana
cf4ad22676
Add complete audio conversion tip 2019-10-25 07:50:54 +05:30
Arun Prakash Jana
b987931f47
Do not pass path to commands 2019-10-24 20:25:07 +05:30
Arun Prakash Jana
8c096dad28
Update docs 2019-10-24 15:10:13 +05:30
Arun Prakash Jana
5bebd4ac67
Extend plugin mechanism to arbitrary commands 2019-10-24 12:44:01 +05:30
Arun Prakash Jana
cb916661c8
Minor reformat 2019-10-24 11:53:34 +05:30
Arun Prakash Jana
5734f49126
Fix KEY_RESIZE loop 2019-10-24 08:47:45 +05:30
Arun Prakash Jana
3dd95fd9a8
Fix checkpatch warnings 2019-10-24 08:44:36 +05:30
Arun Prakash Jana
97200a2491 Update docs 2019-10-24 06:56:24 +05:30
Anna Arad
45387a431d
Fix Fish autocomplete suggestions for sessions 2019-10-23 17:58:08 +03:00
Anna Arad
b81affffa1
Fix code examples in plugins README 2019-10-23 16:55:57 +03:00
Anna Arad
9afd7cf3bf Implement plugins control of nnn + plugins ()
* Implement plugins control of nnn + plugins

* Refactor plugins control code and fix getplugs to recognize hidden files

* Fix bug when going to dir on non-current context from plugin

* Fix some plugins to work on openbsd and freebsd

* Renamings

* Switch to -R flag in cp instead of -r; BSDs complain

* Change braces of function location

* Rewrite plugin creation in README and add new plugins to the table

* Update the fzcd script to include fzy or fzf

* Change plugin name resolve-link-dir -> lncd

* Fixing plugins README table

* Remove some cd plugins but add them as examples to plugins README
2019-10-23 15:34:12 +05:30
Arun Prakash Jana
0144f44060
Remove special characters from help 2019-10-21 20:13:52 +05:30
Arun Prakash Jana
3966465171
Change spaces to tab 2019-10-21 06:55:19 +05:30
Arun Prakash Jana
d3eece14cc
Fix : update docs 2019-10-20 19:41:55 +05:30
Arun Prakash Jana
651b27032d
Fix 2019-10-20 19:37:35 +05:30
Arun Prakash Jana
f601d825bc
Refactor fixes 2019-10-20 19:19:25 +05:30
Arun Prakash Jana
71bf18cee3
Refactor 2019-10-20 05:35:41 +05:30
Arun Prakash Jana
1b3b9f503d
Refactor cp, mv, cp-mv as, rm 2019-10-19 13:25:50 +05:30
Arun Prakash Jana
95e9151c90
Refactor screen move 2019-10-19 09:10:52 +05:30
Arun Prakash Jana
864273dd9b
Refactor current directory removal 2019-10-19 08:43:32 +05:30
Arun Prakash Jana
ae7a3fbdc1
Clean up plugin handling code 2019-10-19 07:00:04 +05:30
Arun Prakash Jana
62457c3984
Update docs 2019-10-19 05:17:38 +05:30
Arun Prakash Jana
3aebeaec58
Update docs on session 2019-10-19 04:03:46 +05:30
Anna Arad
60dac94a5e Implementing sessions support ()
* Initial commit of sessions implementation

* Reduce code duplication

* Move load session to program flag -e

* Fix context initialization problem when loading session

* Add pinned directory to session and reduce session file size

* Make load_session print an error if exists and few minor adjustments

* Refactor session's file structure

* Initialize required structures in load_session before loading

* Add load session dynamically, restore last session, and extra fixes

* Fix indentation

* Add sessions documentation to man page

* Update fish completions with sessions and make some improvements

* Move to single keybinding session management and add help info

* ESC when asked to insert session name behaves better

* Add sessions completion for bash

* Remove pinned dir from session and minor code refactors
2019-10-19 03:41:39 +05:30
Arun Prakash Jana
2da5602a4f
Use a single keybind for cp/mv as 2019-10-17 23:35:49 +05:30
Arun Prakash Jana
522626a88d
Combine related cases together 2019-10-16 08:29:49 +05:30
Sijmen J. Mulder
3953639c5d Fix build (and more) on SmartOS ()
* Define _XOPEN_SOURCE_EXTENDED on SmartOS

Enables wide ncurses.

* SmartOS has alloca() in alloca.h

* SmartOS does not have sig_t

* dprintf() is not available on SmartOS

So replace its usage with fprintf.

* SmartOS has no d_type

* SmartOS has no CLOCK_MONOTONIC_RAW

* SmartOS has no O_DIRECTORY

* Work around SmartOS not having mime detection

* Missing comma
2019-10-16 07:07:45 +05:30
Sijmen J. Mulder
98042ad7d0 Fix strftime() buffer overflow ()
If the formatted string is longer than 17 characters the string won't
be null terminated, causing gibberish to be printed on the status line
and possibly worse.

This occurs with my current locale in which a date is printed as such:

  2019-okt.-15 19:26

Which is 18 characters.
2019-10-16 07:01:19 +05:30
Arun Prakash Jana
43c636d95c
Simplify functions 2019-10-15 06:15:32 +05:30
Arun Prakash Jana
269b80dbb2
Minor reformat 2019-10-15 05:56:34 +05:30
Arun Prakash Jana
29a934a1d2
Improve readibility 2019-10-15 04:17:12 +05:30
Arun Prakash Jana
8ac4a834ad
Minor refactor 2019-10-15 03:47:57 +05:30
Arun Prakash Jana
9469479c0a
Add function to count newlines in file 2019-10-14 22:49:24 +05:30
Arun Prakash Jana
ff562983e1
Fix build break on macOS 2019-10-14 22:08:07 +05:30
KlzXS
b9d183db26 Added copy/move-as (copy/move and rename) ()
* Added copy/move-as (copy/move and rename)

* Little refactorings

* Also handle selection file for cpmv_rename()
2019-10-14 22:06:45 +05:30