Commit graph

2205 commits

Author SHA1 Message Date
Saul Reynolds-Haertle
6b77696de7 move src/nearley_utils.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
eeb74c95c6 move src/native_background.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
a4274d3839 move src/metadata.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
3160137c57 move src/messaging.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
ffc632a695 move src/math.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
c02ef5a90e Move src/itertools.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
e635034f9e Move src/hinting.ts to src/content/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
b255712970 Move src/finding.ts to src/content/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
c8362dd774 Move src/download_background.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
a9486ae6ad Move src/css_util.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
4bdd07308a Move src/convert.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
6fd2fd5707 Move src/controller_content.ts to src/content/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
de860eddb8 Move src/controller_background.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
a4b822336f Move src/config_rc.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
c531aa5481 Move src/config.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
539fcb18c1 Move src/commandline_content.ts to src/content/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
9dad2e4ae8 Move src/commandline_background.ts to src/background/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
11e28ce1fc Move src/aliases.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
10248f4cee Move src/logging.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
ac114562b6 Configure absolute path resolution in ts and webpack
This lets us write imports like "@src/stuff" instead of "../../stuff"
2018-09-29 18:03:36 -07:00
Oliver Blanthorn
dc064d322f
Merge pull request #1033 from lorenzleutgeb/patch-1
Clarify which find is used
2018-09-29 19:51:55 +01:00
glacambre
484fcd946a excmds.ts: Add im_{forward,backward}_word
im_{forward,backward}_word are functions meant to be used when in
insert/input mode. They should be functionnally equivalent to readline's
{forward,backward}-word. They move the cursor one word forward or
backward.
2018-09-29 20:28:06 +02:00
glacambre
24974eb17a excmds.ts: Add im_{forward,backward}_char
im_{forward,backward}_char are functions meant to be used when in
insert/input mode. They should be functionnally equivalent to readline's
{forward,backward}-char. They move the cursor one character forward or
backward.
2018-09-29 20:18:33 +02:00
glacambre
91c006c9aa excmds.ts: Add im_end_of_line
im_end_of_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
end-of-line. It moves the cursor to the end of the current line.
2018-09-29 20:14:49 +02:00
glacambre
292fa69567 excmds.ts: Add im_beginning_of_line
im_beginning_of_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
beginning-of-line. It moves the cursor to the beginning of the line.
2018-09-29 20:11:36 +02:00
glacambre
4733e759e9 excmds.ts: Add im_backward_kill_word
im_backward_kill_word is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
kill-word. It removes the word before the cursor.
2018-09-29 20:02:06 +02:00
glacambre
53a9c043a0 excmds.ts: Add im_kill_word
im_kill_word is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-word. It deletes every character from the cursor to the end of the
word.
2018-09-29 19:17:10 +02:00
glacambre
05915d3dbb excmds.ts: Add im_kill_whole_line
im_kill_whole_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-whole-line. It removes every character of a line, including the
newline character.
2018-09-29 09:22:45 +02:00
Lorenz Leutgeb
ada8b54a19
Clarify which find is used 2018-09-29 10:55:11 +10:00
glacambre
dbb173770f excmds.ts: Add im_backward_kill_line
im_backward_kill_line is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
backward-kill-line. It removes every character from the beginning of the
line up to the cursor. If the cursor is at the beginning of the line, it
removes the newline before the cursor.
2018-09-28 22:38:50 +02:00
glacambre
90a501e802 excmds.ts: Add im_kill_line
im_kill_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-line. It deletes every character from the cursor to the end of a
line, merging lines if the character right after the cursor is a
newline.
2018-09-28 22:04:13 +02:00
glacambre
72a44e9f85 excmds.ts: Add im_{upcase,downcase,capitalize}_word
im_{upcase,downcase,capitalize}_word are functions meant to be used when
in insert/input mode. They should be equivalent to their readline
counterparts.
2018-09-28 20:23:33 +02:00
glacambre
7fcee7e3eb excmds.ts: Add im_transpose_words
im_transpose_words is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
transpose-words. It transposes the word the cursor is in (or, if the
cursor is not in a word, the word before it) with the next word (or the
previous word if the word to transpose is the last word of the text).

The notion of word is defined by the "wordpattern" setting, which is a
regex that matches every character that a word can contain. The default
pattern is [^\s], which means a word can be any character except
whitespace. Other useful patterns could be [^\s/] or
[^\s?,.;:/!()\[\]\\{}"'`+=].
2018-09-28 17:45:39 +02:00
glacambre
f461d85d2f Add :saveas ex command
This commit adds a `:saveas` ex command that behaves mostly like
pentadactyl's `saveas`. This requires adding a new `move` primitive to
the native messenger which behaves like `cp` (but isn't actually a call
to `cp` in order to stay compatible with windows). Then
native_background.ts uses that in order to move files when their
download is complete.
2018-09-28 07:33:00 +02:00
Oliver Blanthorn
371f76077d
Add guess at beta users to readme but mostly I want to bump the buildbot 2018-09-27 13:23:18 +01:00
Oliver Blanthorn
bd1efbc79b
Use peff's hintname setting because I like it 2018-09-27 13:08:40 +01:00
Oliver Blanthorn
6bfa641b32
Fix #1028 and maybe some other errors: persuade buildbot to rebuild help 2018-09-27 13:01:33 +01:00
glacambre
f2df3b9e4e excmds.ts: Add im_transpose_chars
im_transpose_chars is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
transpose-chars. It transposes the character before the cursor with the
one after it and then moves the cursor one character to the right.
2018-09-26 22:29:39 +02:00
glacambre
5138b7bf35 excmds.ts: Add im_tab_insert
im_tab_insert is a function meant to be used when in insert/input mode.
It should be functionnally equivalent to readline's tab-insert. It
behaves like the <Tab> key.
2018-09-26 22:15:34 +02:00
glacambre
1783086c13 excmds.ts: Add im_delete_backward_char
im_delete_backward__char is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
delete-backward-char. It behaves like the <BackSpace> key.
2018-09-26 22:08:27 +02:00
glacambre
4b830dbaf9 excmds.ts: Add im_delete_char
im_delete_char is a function meant to be used when in insert/input mode.
It should be functionnally equivalent to readline's delete-char. It
behaves like the <Del> key.
2018-09-26 22:07:55 +02:00
Oliver Blanthorn
877b157453
Add seturl completions 2018-09-21 11:43:55 +01:00
Oliver Blanthorn
318423b1e6
Merge branch 'urlspecific_config' 2018-09-21 11:33:23 +01:00
Oliver Blanthorn
40d11e778a
Update package-lock.json 2018-09-21 11:33:15 +01:00
Oliver Blanthorn
173e47c9aa
Merge branch 'fix-search' 2018-09-21 11:18:00 +01:00
Oliver Blanthorn
5e4e1ea7d9
Change stop bind to x to prevent copy conflict 2018-09-21 11:13:44 +01:00
FrankEular
e7a4e6dcf2
Update config.ts: stop loading
I added the command ":stop" and an nmap <C-c> to this command (as in vimperator and pentadactyl).
2018-09-20 16:44:03 +02:00
Oliver Blanthorn
16cb0e5300
Fix #1018: add bind for stop 2018-09-20 13:08:55 +01:00
Oliver Blanthorn
36e99fa24f
Fix #1011: add buffer # ignoremap 2018-09-20 11:00:36 +01:00
Oliver Blanthorn
43fecb3f13
Merge pull request #1017 from notJerl/master
Possible temporary fix for #1016
2018-09-20 10:56:34 +01:00