Commit graph

38 commits

Author SHA1 Message Date
Arun Prakash Jana 754ea4d3ef
Update static associations 2017-04-03 23:45:53 +05:30
Arun Prakash Jana 4b66029762
Add help screen on keybinds 2017-04-03 22:33:46 +05:30
Arun Prakash Jana f466ba543c
Show file details
We closely follow the output for stat(1).
2017-04-03 05:05:14 +05:30
Arun Prakash Jana 7be7a6d215
Optimizations 2017-04-01 14:41:07 +05:30
Arun Prakash Jana 8bbb752a79
Open audio files with mpv 2017-04-01 08:59:00 +05:30
Arun Prakash Jana 584a5f90f3
Remove sh as script opener, use vi 2017-04-01 02:55:00 +05:30
Arun Prakash Jana aeeeed0bce
Change vim to vi 2017-03-31 22:25:56 +05:30
Arun Prakash Jana c42790aa18
Support file name copier
Add keybind 'Ctrl-k' to copy the absolute path of the file under the cursor if environment variable NOICE_COPIER is set.
2017-03-30 23:00:15 +05:30
Arun Prakash Jana 4bf17cb7bc
Switches to toggle detail view, file size sort
1. The detailed view shows file type and size using keybind 'd'. Disabled by default.
2. Option 's' sorts dir entries by descending order of size.
2017-03-30 01:51:52 +05:30
Arun Prakash Jana 596da965cf Merge remote-tracking branch 'upstream/master' 2016-10-05 20:41:32 +05:30
sin dd29e81df5 Make toggle dot behaviour persistent
Once set, the default filter is updated.  This means that
toggle dot will also work as expected when noice is executed
as root.

Based on discussion with Ypnose.
2016-08-22 14:07:07 +01:00
sin bd79c29d8b Align fields in config.def.h
Diff by Ypnose
2016-08-22 11:23:47 +01:00
Arun Prakash Jana 2958ecd040 Remove libmagic, use file command.
The magic.mgc file gets created in the local directory, opening
the global file throws unwanted messages. So we are using the o/p
of the file command to determine if the file is a plain text file.
2016-08-21 09:54:51 +05:30
Arun Prakash Jana bc731cd9c0
Modify file type handling.
Use mpv, fmedia, zathura.
Invoke libmagic to identify text files and open with vim.
Use xdg-open for unhandled mimes.
2016-08-20 20:05:35 +05:30
sin 829bcdd7d4 Add command to cd back to HOME
Original patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
2016-02-25 15:14:08 +00:00
sin e1c26079b1 Add command to toggle hide .dot files
Patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
2016-02-25 14:54:41 +00:00
sin 9f6d1cfb33 Remove filter as you type mode
Nobody uses it and adds additional complexity.
2016-02-08 16:52:07 +00:00
sin 2d87145fa2 Fix comment 2015-11-26 16:05:13 +00:00
Martin Kühl d1ed0cff11 Support commands specified by environment variables
Specifying commands by name in config.h means that
every time one switches ones editor (for example),
one has to modify every config.h file referencing that editor
and then recompile every corresponding program.

This change adds a string `env` for specifying an environment
variable to `struct key` and uses it to optionally specify the
command to run on SEL_{RUN,RUNARG}.
The `run` string is used as a fallback when the environment variable
has not been specified or is not set.
It also updates `config.def.h` to demonstrate this new capability.
2015-11-26 13:37:03 +00:00
sin 8c04bea678 Add license pointer 2015-11-20 14:36:40 +00:00
sin 756b50be27 Restore screensaver mode
Disable timeout when in filter or type mode.
2015-11-20 14:20:10 +00:00
sin d6e89ef07f Revert "Run screensaver after a period of idleness"
This reverts commit 1e18b85e56.

Revert until remaining issues are fixed.  The filter search expires
after 1 second of inactivity without the revert.
2015-11-14 14:52:22 +00:00
lostd 1e18b85e56 Run screensaver after a period of idleness 2015-11-02 03:21:41 +02:00
sin c5283392fb Add .mov to config.h 2015-08-19 08:39:19 +01:00
lostd dcde076371 Add keys to move to the first and last entry 2015-07-12 13:32:31 +01:00
lostd 3dc40acbff Key bindings to run user-defined commands 2015-03-12 16:12:01 +02:00
sin 3682c720ba Add C-l to force a redraw
Often I am waiting for a file to download and be renamed from
.foo.part to .foo.  Forcing a redraw is a simple way to check if
the file has completed downloading.
2015-03-11 18:56:53 +00:00
lostd cc65e4098f Clarify state toggling 2015-02-05 17:53:50 +02:00
sin 162922b984 Move mtimeorder to config.def.h 2015-02-04 12:33:13 +00:00
lostd cefb945e35 Meaningful comments 2015-02-01 14:10:28 +02:00
sin a63aac0b11 Add 't' command to sort output by entry's mtime 2015-01-31 22:02:59 +00:00
lostd 68be0868c6 Also treat ^H as backspace 2015-01-27 13:29:12 +02:00
lostd 84e124bb46 Basic filter-as-you-type mode 2015-01-27 10:47:57 +02:00
lostd 3f1a93a598 Simplify default regexes 2014-11-25 17:20:06 +02:00
lostd 6b7c2506db Expose key bindings in the configuration header 2014-11-06 13:46:37 +02:00
sin 7273c9d681 Add flac to default associations 2014-10-21 12:07:20 +01:00
sin d330033c4f Move some more config params to config.def.h 2014-10-21 11:35:08 +01:00
sin 43fa667cd6 Add config.def.h 2014-10-21 11:15:27 +01:00