Commit Graph
91 Commits
Author SHA1 Message Date
Gokcehan 7543b2256c add support for alt keys
Related #67
2018-05-05 16:27:32 +03:00
Gokcehan d267bc70d4 null check directory preview before sort 2018-04-20 22:19:37 +03:00
Gokcehan 09b1daaade sort directory preview when options are changed 2018-04-18 21:57:41 +03:00
Gokcehan 8eb9055622 add 'drawbox' option to draw box around windows 2018-04-15 19:26:51 +03:00
Gokcehan d608eb4a56 handle resize events properly 2018-04-15 18:18:39 +03:00
Gokcehan ad4fc51805 add tilde to filename if shortened 2018-04-14 23:16:31 +03:00
Gokcehan 5a9a829252 handle 256 colors in $LS_COLORS
Related #37
2018-04-14 21:18:39 +03:00
M1rt f92e0f53a5 LSCOLORS & LS_COLORS support (#96)
* LSCOLORS & LS_COLORS support

* Renamed lsColors to gColors

* Fixed gOptWords & setExpr.eval()
2018-04-14 14:58:29 +03:00
Gokcehan 54dbf5cbe4 use 'redraw' for resize event 2018-04-12 22:56:09 +03:00
Gokcehan c1fc79b6ae replace 'redraw' commands with 'draw' 2018-04-12 21:54:40 +03:00
Gokcehan 68a23a10e1 show command counts in the ruler
Related #66
2018-04-12 19:14:50 +03:00
Gokcehan 03619c3cbb handle command counts efficiently
Related #66
2018-04-12 18:04:37 +03:00
Gokcehan 847c46421c fix race while drawing ui in 'shell-pipe' 2018-04-05 23:06:52 +03:00
Gokcehan c63c8f63ac pipe stdin for 'shell-pipe' commands 2018-04-03 22:22:58 +03:00
Gokcehan 33fb6f0d47 process ansi codes also out of screen 2018-03-22 18:07:17 +03:00
Gokcehan 6e869bfa0e cleanup 2018-03-22 17:54:24 +03:00
Gokcehan 61c8b588cd add promptfmt option to configure prompt line
Related #50
2018-02-22 18:18:30 +03:00
Gokcehan ae779ae25d show current file name in the prompt
Related #50
2018-02-10 20:56:59 +03:00
Gokcehan 9fb16f78e0 use fixed sized lengths for dircounts
Related #19
2018-02-10 19:37:37 +03:00
Gokcehan 55ef28b4c7 cache file previews in memory
Related #5 and #92
2018-02-10 18:59:19 +03:00
Gokcehan 80f43fe39c preview files asynchronously
Mentioned in #5 and #92.
2018-01-28 20:13:28 +03:00
Gokcehan 58538c8020 add a ruler to statline to show current position 2018-01-11 20:48:03 +03:00
Gokcehan fd3a983b29 clear keybind list when not found 2018-01-11 19:44:02 +03:00
Gokcehan 2b4c0f913b load directories asynchronously
Mentioned in #92.
2018-01-11 19:25:48 +03:00
Chris Howey ec8e75ba30 make terminal 256 color output the default (#93)
this will allow terminals that support 256 color ansi codes to have
preview applications use 256 colors
2018-01-01 01:10:00 +03:00
Gokcehan 946de57f26 keep ansi attributes at next line 2017-11-22 17:17:23 +03:00
Gokcehan ba0a9005b1 prevent ansi code zero error 2017-11-20 18:46:00 +03:00
Gokcehan 9b7bf63096 cleanup 2017-11-19 21:55:13 +03:00
Gokcehan 1a39b00a8f replace renew with redraw while reading commands
Mentioned in #92.
2017-11-19 02:39:42 +03:00
Gokcehan 9ac32fc850 cache directory contents in memory
Mentioned in #92.
2017-11-19 01:25:41 +03:00
Gokcehan cb577a4c3a handle user variables on all platforms 2017-08-06 11:05:46 +03:00
Gokcehan 458bc71688 use conditional compilation for windows 2017-08-05 19:23:55 +03:00
Karol Woźniak fe05105c88 Implement directory count info (#85) 2017-06-03 14:12:43 +03:00
Gokcehan 3fd1222e4f implement cmap for command line mapping 2017-03-10 18:53:21 +03:00
Gokcehan c55c4bf254 rename showinfo option to info
Related to #39.
2017-02-04 21:33:36 +03:00
Gokcehan d605781d09 modify showinfo to handle multiple values
Mentioned in #39.
2017-02-04 21:28:03 +03:00
Gokcehan a99601668a disable buggy cursor move in windows 2017-01-07 18:02:14 +03:00
Olivier Perret a704248696 preserve mark order in f[sx] variables (#59)
* preserve mark order in f[sx] variables

* Revert "preserve mark order in f[sx] variables"

This reverts commit e02c5e8bb3.

* preserve mark order in f[sx], but more efficiently
credit to @gokcehan for the idea
2017-01-06 00:23:22 +03:00
Gokcehan af113e71ef fill with spaces instead of null chars 2016-12-22 22:58:55 +03:00
Gokcehan 4f9515564d use fixed length file sizes for info line
Mentioned in #49.
2016-12-19 22:08:53 +03:00
Gokcehan 2085b6d797 handle ratios change at runtime 2016-12-18 22:38:28 +03:00
Gokcehan d6bb811eef cleanup 2016-12-18 21:51:27 +03:00
Gokcehan a717c31ca1 cleanup 2016-12-18 21:34:41 +03:00
Gokcehan e532db082f use lowercase initials for type names 2016-12-18 00:47:37 +03:00
Gokcehan 8d42bb166b increase lookahead length for ansi codes
Mentioned in #52.
2016-12-17 15:27:27 +03:00
Gokcehan 18bf206e8c handle empty folders properly while drawing the ui 2016-12-15 16:43:29 +03:00
Gokcehan 5f87cb2542 implement asynchronous read commands
This commit changes previous reading command implementation to an
asynchronous implementation. By the nature of this change, this commit
touches many places in the ui and evaluator. Aim is to fix the following
problems:

- There is no race condition anymore when reading commands and other
commands update the ui at the same time.

- Autocompletion and keymenu is now drawn in the main draw event. This
should fix some ui glitches when a new menu is smaller than the previous
one.

- Window resize event when reading a command is now properly handled.

- Readline actions are now regular commands. This should make it
possible to change the default keybindings for these actions in the
future.

Mentioned in #36.
2016-12-15 12:26:06 +03:00
Gokcehan f66a4a4a2e don't override error messages in statusline 2016-12-03 01:05:49 +03:00
Gokcehan 217d89ff96 handle unusual escape codes in files 2016-11-29 17:01:33 +03:00
Gokcehan c8202bbc7a add timefmt option for time format in status line
Mentioned in #41.
2016-11-21 23:13:33 +03:00