Commit graph

58 commits

Author SHA1 Message Date
Arun Prakash Jana 2b248e4e1a
Re-structure header 2017-06-20 10:26:31 +05:30
Arun Prakash Jana 6d20178881
Fix reasonable checkpatch reports 2017-06-15 19:34:56 +05:30
Arun Prakash Jana 8c6ab7df02
Support bookmarks 2017-06-11 10:12:32 +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 fe775ccf1f
desktop opener - xdg-open on Linux and open(1) on OS X 2017-06-06 02:13:58 +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 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
Arun Prakash Jana 71bc3c7432
Fix #27: use catfish as default search utility 2017-05-15 20:14:13 +05:30
Arun Prakash Jana 3096dfefde
Polish change directory logic
1. Strip end spaces and slashes
2. Do NOT change dir if in the same dir
3. Don't go back beyond startup dir with '-'
4. Reset oldpath on cd (other than cd . and ..)
5. Reset filter
6. Update features in README
2017-04-25 22:07:09 +05:30
Arun Prakash Jana b4166192e6
Support jump to initial directory
This change remaps the & key. However, / is more relevant for filter and & makes more sense wrt. address.
2017-04-24 02:36:49 +05:30
Arun Prakash Jana 00aaee9ff1
nlay - a highly customizable file handler 2017-04-23 23:31:08 +05:30
Arun Prakash Jana 07d4252b63
Show media information using mediainfo 2017-04-21 23:56:48 +05:30
Arun Prakash Jana 01c1ef6e58
Support cd on quit 2017-04-20 17:33:54 +05:30
Arun Prakash Jana 9702abdd81
Support open current dir in desktop file manager 2017-04-12 22:20:05 +05:30
Arun Prakash Jana cbefcfd67b
Initial path: support sort by disk usage 2017-04-10 10:28:25 +05:30
Arun Prakash Jana e54ed037bd
Key - to jump to last visited directory 2017-04-08 13:46:03 +05:30
Arun Prakash Jana b7e4968a48
Resolve ~ (HOME) at chdir prompt 2017-04-06 06:29:13 +05:30
Arun Prakash Jana 07c59cfd62
vim-ish binding for jump to first and last entry
It was troubling me. Mimicking 'gg' would have been hacky and would need
additional processing... 'g' was free. Who cares even if you press twice? ;)
2017-04-04 09:46:52 +05:30
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