Commit Graph
100 Commits
Author SHA1 Message Date
Gokcehan 1683cdfd47 check if the directory is empty before nav operations
Mentioned in #23.
2016-10-05 18:26:55 +03:00
gokcehan 1f129476a8 Merge pull request #26 from radarhere/patch-1
Fixed typo
2016-10-04 22:21:55 +03:00
Gokcehan 986cc88db0 update features 2016-10-02 01:35:57 +03:00
Gokcehan 7a851f6c72 cleanup 2016-10-02 01:19:30 +03:00
Gokcehan dbb4220084 update features 2016-10-02 01:10:31 +03:00
Gokcehan d66eb7349d clean path before changing directory 2016-10-02 00:39:03 +03:00
Gokcehan 7fe72c188f check null bytes instead to detect binaries 2016-10-02 00:29:14 +03:00
Gokcehan 751dbe8a7c show message for successful yank/delete
Mentioned in #13.
2016-10-02 00:11:45 +03:00
Gokcehan 00516af039 fix push with command example 2016-09-20 23:18:39 +03:00
Gokcehan 27135faccd add a push command to simulate key pushes 2016-09-18 19:21:24 +03:00
Gokcehan 155fbc5a16 load first file on startup 2016-09-18 12:58:32 +03:00
Gokcehan 1e7811334e use the same goroutine to wait preview command
Mentioned in #5.
2016-09-18 12:56:13 +03:00
Gokcehan d51e99adc1 close pipe and then wait command in a separate goroutine
Mentioned in #5.
2016-09-16 15:22:39 +03:00
Gokcehan f82073603f clean command resources after preview script call
Mentioned in #5.
2016-09-16 13:27:38 +03:00
Gokcehan 878d28237a add file previewing to the documentation
Mentioned in #5.
2016-09-15 21:44:06 +03:00
Gokcehan 0395f75ea9 break previewer output pipe when enough lines are read
Mentioned in #5.
2016-09-15 21:26:54 +03:00
Gokcehan b0b06c46d2 escape backticks in documentation 2016-09-15 17:08:05 +03:00
Gokcehan 6094078185 buffer file and dir previews for drawing
Mentioned in #5.
2016-09-15 16:28:36 +03:00
Gokcehan ceb1f2d15a expand ~ to HOME in previewer option
Mentioned in #5.
2016-09-15 14:27:14 +03:00
Gokcehan 991bbc628f cleanup 2016-09-15 02:31:12 +03:00
Gokcehan d0f2ee1e35 remove old documentation 2016-09-15 02:27:43 +03:00
Gokcehan 6cfcbc192e point to the new documentation in the readme 2016-09-15 02:26:05 +03:00
Gokcehan 295c9bff76 add tutorial to the documentation 2016-09-15 02:18:50 +03:00
Gokcehan bfb0c0c4a8 add example mapping for documentation 2016-09-14 00:49:02 +03:00
Gokcehan 7d2ee16e2d generate documentation and embed in binary 2016-09-14 00:40:14 +03:00
Gokcehan 57bebef804 use recursive and backup options for paste 2016-09-13 22:56:03 +03:00
Gokcehan 9c2f594a6b add empty match tests 2016-09-12 23:40:17 +03:00
Gokcehan a2c7656301 add comp tests 2016-09-12 23:33:52 +03:00
Gokcehan 37a7eda095 add missing files 2016-09-12 19:19:47 +03:00
Gokcehan 1fcd70afa0 add parse tests 2016-09-12 19:18:13 +03:00
Gokcehan ee0f931db8 add command counts 2016-09-09 01:03:25 +03:00
Gokcehan a31ce17b90 add half-up/half-down/page-up/page-down commands 2016-09-09 00:04:44 +03:00
Gokcehan 34c58b634a add basic readline shortcuts 2016-09-07 22:34:29 +03:00
Gokcehan a3594319b7 do not fail if USER is not set
Related to #12.
2016-09-07 14:37:32 +03:00
Gokcehan c93738a6ec cleanup 2016-09-07 01:47:08 +03:00
Gokcehan f59227c5f9 add releases link to readme 2016-09-07 00:57:17 +03:00
Gokcehan 3d493e8271 use filepath module instead of path for portability
This should fix path separator confusion in windows.

Mentioned in #12.
2016-09-07 00:27:55 +03:00
Gokcehan 90c282e1ec shorten warning in readme 2016-09-04 16:33:54 +03:00
Gokcehan 712fb6fa71 organize badges 2016-09-04 16:32:27 +03:00
gokcehan 46176a5346 Merge pull request #18 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-09-04 16:30:38 +03:00
Gokcehan 2ba5c06b5e add link to google groups 2016-09-04 16:26:26 +03:00
Gokcehan f304f863b9 cleanup 2016-09-02 23:40:13 +03:00
Gokcehan f81146ae1e cleanup 2016-09-02 23:13:37 +03:00
Gokcehan 607cd7aeff format 2016-09-02 23:06:25 +03:00
Gokcehan 66482b8495 use XDG_CONFIG_HOME if set 2016-09-02 23:04:26 +03:00
Gokcehan 188bd97b3b fix jiggle when scrolloff is maxed 2016-09-02 22:47:11 +03:00
Gokcehan 826787450a update tutorial for binding and command removal
Mentioned in #16.
2016-09-02 22:02:11 +03:00
Gokcehan cd63dc1872 unmap a binding or delete a command when expression is empty
With this commit `map`/`cmd` keywords are also used to remove a
binding/command by leaving the expression part empty (e.g. `map j`
removes keybinding for `j` or `cmd trash` removes `trash` command).

Mentioned in #16.
2016-09-02 21:32:11 +03:00
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
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
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
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
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
Gokcehan ee18c34fd2 typos 2016-08-14 18:43:53 +03:00
Gokcehan 63e32e1685 cleanup 2016-08-14 18:39:02 +03:00
Gokcehan 5df5c23489 fix for cd home with a tilda 2016-08-14 18:38:33 +03:00
Gokcehan bc4c3c127b do not follow symlinks on exit 2016-08-14 15:45:24 +03:00
Gokcehan fac1c9e8de move selection path handling to eval 2016-08-14 15:37:22 +03:00
Gokcehan 6a2bdf472b handle dir symlinks in preview and open 2016-08-14 15:15:54 +03:00