Commit Graph

302 Commits

Author SHA1 Message Date
Gokcehan
b790c53838 initialize server channel earlier for config file
Mentioned in #36.
2017-02-11 13:42:16 +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
6792ed86df update current file after shell commands 2017-01-15 15:44:47 +03:00
Gokcehan
90e3a22dc8 add a 'B' suffix to files under a thousand bytes
Mentioned in #49.
2017-01-08 19:24:28 +03:00
Gokcehan
7c800cc373 fix output redirections for open-file example 2017-01-07 18:13:21 +03:00
Gokcehan
a99601668a disable buggy cursor move in windows 2017-01-07 18:02:14 +03:00
Gokcehan
8689d712a3 make search cyclic
Mentioned in #57.
2017-01-07 17:42:33 +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 e02c5e8bb3ec58f7cefafc92419f14c51e6730ef.

* preserve mark order in f[sx], but more efficiently
credit to @gokcehan for the idea
2017-01-06 00:23:22 +03:00
Gokcehan
79ca4cfe9d use /bin/sh as the default for shell option
Mentioned in #58.
2016-12-27 19:05:41 +03:00
Olivier Perret
97cc5f78a8 refresh preview when searching (#56) 2016-12-26 23:51:59 +03:00
Karol Woźniak
8be854d3ba Add reverse option (#55) 2016-12-26 23:49:18 +03:00
Olivier Perret
79b874e147 include first item in reverse search (#54) 2016-12-26 23:47:27 +03:00
Gokcehan
ad6ead5e45 add a filesep option to configure file seperator
Mentioned in #47.
2016-12-24 16:06:44 +03:00
Gokcehan
f7e778591a implement search/search-back and search-next/prev
Closes #38.
2016-12-24 15:57:57 +03:00
Gokcehan
af113e71ef fill with spaces instead of null chars 2016-12-22 22:58:55 +03:00
Gokcehan
29c14533dd cleanup 2016-12-20 00:19:07 +03:00
Gokcehan
c05fc7b299 use a regular docstring tmp file for usual permissions 2016-12-19 22:45:37 +03:00
Gokcehan
4f9515564d use fixed length file sizes for info line
Mentioned in #49.
2016-12-19 22:08:53 +03:00
Gokcehan
977f6e287d sync file selection after put 2016-12-19 22:00:50 +03:00
Gokcehan
563fae38d2 add clear command to clear file selection
Mentioned in #45.
2016-12-19 21:53:47 +03:00
Gokcehan
0298630114 add remote flag to send remote commands to server
Mentioned in #45.
2016-12-19 21:28:57 +03:00
Gokcehan
2085b6d797 handle ratios change at runtime 2016-12-18 22:38:28 +03:00
Gokcehan
ee9d4c9ec4 add goreportcard badge to readme 2016-12-18 21:55:30 +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
8ae5f838c7 simplify number extraction using regexp 2016-12-18 00:02:30 +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
d3de4d8f32 skip broken links for executable completion 2016-12-15 16:19:01 +03:00
Gokcehan
22b157a8fa fix panic for empty shell completions 2016-12-15 16:11:41 +03:00
Gokcehan
751290ed9b fix panic for empty completions 2016-12-15 16:04:15 +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
721a20269e add natural sorting as a sortby option
Closes #21.
2016-12-03 00:45:04 +03:00
Gokcehan
225bd5b49c fix number extraction ending with number 2016-12-03 00:38:23 +03:00
Gokcehan
932e644c93 handle escapes in completions 2016-12-03 00:28:25 +03:00
Gokcehan
217d89ff96 handle unusual escape codes in files 2016-11-29 17:01:33 +03:00
Gokcehan
bfd33f8437 add whitespace escaping for backslash 2016-11-22 22:12:47 +03:00
Gokcehan
87434d3fe6 add quoting for single quote 2016-11-22 21:31:20 +03:00
Gokcehan
91ad00a294 remove client log file on successful quit 2016-11-22 21:01:29 +03:00
Gokcehan
e643525d5c use a buffered channel for quitting 2016-11-22 20:42:37 +03:00
Gokcehan
c8202bbc7a add timefmt option for time format in status line
Mentioned in #41.
2016-11-21 23:13:33 +03:00
Gokcehan
fdf8e9d480 send the actual passed cmd in sendServer 2016-11-18 23:38:38 +03:00
Gokcehan
4e1f1601fe add unicode command test 2016-11-18 22:45:49 +03:00
Gokcehan
586938fa70 cleanup 2016-11-18 22:41:18 +03:00
Gokcehan
697a05cdd0 handle unicode in the prompt
Mentioned in #30.
2016-11-18 22:28:55 +03:00
Gokcehan
d67054a000 replace /x/text package with mattn/go-runewidth
Mentioned in #35.
2016-11-14 01:35:34 +03:00
Gokcehan
d19809e8b6 evaluate search while reading 2016-11-14 01:16:52 +03:00