Commit Graph
960 Commits
Author SHA1 Message Date
Gokcehan 7fc93313bc skip ui drawing if exit flag is set
Mentioned in #15.
2016-09-02 21:20:01 +03:00
Gokcehan dde01fce0a add command line option for profiling 2016-09-01 23:49:56 +03:00
gokcehan d8cfe7f593 Merge pull request #17 from KenjiTakahashi/previewer_binary
Do binary check after calling previewer
2016-09-01 22:44:47 +03:00
KenjiTakahashi ef340a533d Do binary check after calling previewer
Many files valid for previewer, such as archives, are treated as binary
and thus were not passed to the previewer.

Also sanitizes the previewer output, to some extent.
2016-09-01 21:11:03 +02:00
Gokcehan cb2ab07659 remove makefile 2016-09-01 18:26:50 +03:00
Gokcehan 05600cc324 add termbox to travis configuration 2016-09-01 18:21:05 +03:00
Gokcehan 4d92f2e87f add travis configuration 2016-09-01 18:15:23 +03:00
Gokcehan bf6aa1d256 add travis CI 2016-09-01 18:07:49 +03:00
gokcehan 953249297f Merge pull request #14 from KenjiTakahashi/previewer_h
Pass height to the previewer
2016-09-01 01:34:05 +03:00
KenjiTakahashi 8d4a3192f1 Pass width and height to the previewer
This way, the script can do a little magic like

 head -n $2 $1 | highlight -O ansi --syntax ${1##*.}

to avoid reading whole (possibly huge) file.
2016-09-01 00:19:08 +02:00
Gokcehan 4b3e2af6b8 add yank/delete/paste to tutorial
Mentioned in #13.
2016-09-01 00:46:45 +03:00
Gokcehan f356e6d694 handle all keys for mappings
Mentioned in #1.
2016-08-28 18:21:42 +03:00
Gokcehan a6ae19b0b3 cleanup 2016-08-28 17:02:58 +03:00
Gokcehan 3d1b090359 fix wait key command for posix shells 2016-08-28 16:58:24 +03:00
Gokcehan c19d3450a2 add an option to filter file content for preview
Mentioned in #5.
2016-08-28 15:04:57 +03:00
Gokcehan e86b8b34bd cleanup 2016-08-28 03:48:58 +03:00
Gokcehan e944639acf evaluate ansi escape codes while printing
Mentioned in #5.
2016-08-28 03:45:05 +03:00
Gokcehan 2c70ad5fb5 organize lfrc.example 2016-08-27 17:17:20 +03:00
Gokcehan ce25fc55ca add an option to configure shell used by commands 2016-08-27 14:12:03 +03:00
gokcehan 4dc8eccf9e Merge pull request #10 from KenjiTakahashi/no_opener
Remove opener option from docs
2016-08-27 13:01:58 +03:00
KenjiTakahashi 14270be5ed Remove opener option from docs 2016-08-27 02:57:15 +02:00
Gokcehan e8dc85527e use skipping command for open with using mimeopen in lfrc.example
Mentioned in #8.
2016-08-27 00:28:17 +03:00
Gokcehan d712e6b247 add shell spawn example to lfrc.example
Mentioned in #8.
2016-08-27 00:24:51 +03:00
Gokcehan df6c23769f close termbox during skipping commands
Mentioned in #8.
2016-08-27 00:20:08 +03:00
Gokcehan d9583187e5 follow directories for file name completion 2016-08-26 23:25:40 +03:00
Gokcehan bc41ed7469 fix ifs option in the tutorial 2016-08-25 02:01:50 +03:00
Gokcehan ad4986e3d7 update file opener section in the readme and move it to tutorial
Mentioned in #7.
2016-08-25 01:56:12 +03:00
Gokcehan a765a126fe fix ifs option in lfrc.example 2016-08-25 01:13:45 +03:00
Gokcehan ffe2dc03f0 add an example open-file command to lfrc.example
Mentioned in #7.
2016-08-25 01:12:22 +03:00
Gokcehan ef4dd12e33 use open-file command instead of opener option
Mentioned in #7.
2016-08-25 00:51:52 +03:00
Gokcehan b90bd273f7 sort key bindings before listing
Mentioned in #1.
2016-08-24 13:08:49 +03:00
Gokcehan fb26551693 rename redraw to renew 2016-08-24 12:36:52 +03:00
Gokcehan 4bf8b2d76a sync ui for redraw 2016-08-24 12:34:54 +03:00
Gokcehan 19561f6531 show completion menu for multiple match 2016-08-21 18:41:03 +03:00
Gokcehan 66ce56eb6e get rid of residual escape codes after skipping shell commands
Some applications (e.g. vim) seem to leave behind escape codes in the
terminal after quitting. For some terminals (including xterm and
gnome-terminal) this is somehow interpreted as key strokes by lf. This
is a temporary fix to get rid of these escape codes by restarting
termbox until we can find a proper way to handle this.
2016-08-21 14:15:19 +03:00
gokcehan a6d92f4a12 Merge pull request #3 from CodinCat/patch-1
fix cd command without any argument
2016-08-19 12:10:16 +03:00
CodinCat aae350fea5 fix cd command without any argument 2016-08-19 10:53:25 +08:00
Gokcehan 4b0a6d1013 cleanup 2016-08-17 23:28:42 +03:00
Gokcehan 70f8c1331d error context for nav and ui 2016-08-17 23:22:11 +03:00
Gokcehan f20828285e error context for main 2016-08-17 23:06:45 +03:00
Gokcehan 3830a2499d error context for evaluator 2016-08-17 23:00:16 +03:00
Gokcehan 37a547fd43 error context for completions 2016-08-17 22:42:36 +03:00
Gokcehan 2f224240bf suppress error if configuration file not exists 2016-08-17 22:35:18 +03:00
Gokcehan 09ebc54d20 add error messages for last dir file 2016-08-17 22:09:34 +03:00
Gokcehan 0c07daf2ef skip non-existing dirs in shell completion 2016-08-16 23:18:26 +03:00
Gokcehan c05a33a751 handle symlinks in shell completion 2016-08-16 23:17:19 +03:00
Gokcehan 4c5e5584ed longest match completion for multiple match 2016-08-16 23:13:57 +03:00
Gokcehan 98839a42f2 basic shell completion for single match 2016-08-16 22:31:17 +03:00
Gokcehan 656a9c837a basic command completion for single match 2016-08-15 23:29:37 +03:00
Gokcehan e45562b282 add misc tests 2016-08-14 22:56:55 +03:00