Commit graph

2282 commits

Author SHA1 Message Date
Oliver Blanthorn
ea3d01ab36
Remove really annoying ex-mode bind 2018-11-04 12:27:48 +00:00
Oliver Blanthorn
7b7cd7e1c1
Add gu reddit bind 2018-11-04 12:04:20 +00:00
Oliver Blanthorn
e6dad92a89
Add wikiwand specific yy bind to tridactylrc 2018-11-04 11:47:09 +00:00
Oliver Blanthorn
bf4ef89a82
Add examples for usage of funds 2018-11-03 15:14:20 +00:00
Oliver Blanthorn
1817f71793
Fix typo, remove unsupported centering 2018-11-03 13:16:37 +00:00
Oliver Blanthorn
d3b441a13b
Add donation text and image to readme 2018-11-03 13:12:53 +00:00
Oliver Blanthorn
321b537a61
Merge pull request #1141 from glacambre/nativemessenger_tutorial
Various tutorial improvements
2018-11-03 08:31:34 +00:00
glacambre
946e8031ad
Various tutorial improvements
This commit renames tutorial pages with the number in which they are
visited by the user. This helps when you need to add a new page and want
to link to the previous/next one in it.

It also adds a new page about the native messenger which describes what
it does and how to install it. I took this opportunity to rename
installnative to nativeinstall and to add an ex alias that goes the
other way.

Last, this commit  mentions that `:help` also accepts settings and keys
as argument and that we now have a troobleshooting guide.
2018-11-03 08:06:30 +01:00
Oliver Blanthorn
cf651478fa
Relegate halloween to the changelog 2018-11-02 18:33:14 +00:00
glacambre
4f1b2d5e8b
config.ts: Add links to ex/text functions above {ex,i,input}maps 2018-11-02 12:57:31 +01:00
Oliver Blanthorn
de9fc2d4b5
Merge pull request #1136 from antonva/fix-1031
Add element property check to fix google product search bars.
2018-11-02 11:15:27 +00:00
glacambre
def94f795d
Document ex.* functions 2018-11-02 06:33:09 +01:00
Anton Vilhelm Ásgeirsson
9a338c1935 Add element property check to fix google product search bars. 2018-11-02 01:02:59 +00:00
glacambre
cfe5b5c597
commandline_frame.ts: Reset keyEvents
Before this commit, keyEvents was never reset. This caused weird issues
like control closing the commandline after a first ex command had been
accepted. We now reset keyEvents in two places ; when an ex command is
accepted (which could happen when inserting a completion, for example)
and when the command line is closed (which could be triggered by an
outside event).
2018-11-01 19:11:57 +01:00
glacambre
c0bffbd4e3
commandline_frame.ts: Remove unnecessary insert_completion_or_space fn 2018-11-01 18:43:59 +01:00
Oliver Blanthorn
2119bbea3e
Merge branch 'undo-tab-window-recent' 2018-11-01 17:27:48 +00:00
glacambre
682e4a1ae6
Add updater to move im_* functions to text.* 2018-11-01 18:24:17 +01:00
glacambre
b680cc638c
Document editor functions 2018-11-01 16:39:16 +01:00
glacambre
1b6b712c2b
excmds.ts: Merge ex/insert commands
This commit merges ex and insert commands that behave the same under a
single text.* namespace. document.activeElement is used in order to
figure out if the command should move the caret in the page or in the
command line.
2018-11-01 15:54:31 +01:00
Anton Vilhelm Ásgeirsson
e0fdeeb54e Add error handling to undo excmd and remove session limit. 2018-11-01 13:32:12 +00:00
Oliver Blanthorn
f94fb9aa3d
Merge pull request #1128 from glacambre/fix_713
css_util.ts: Fix navtoolboxunfocused rule not properly hiding navtoolbox
2018-11-01 09:54:24 +00:00
glacambre
bac095c109
css_util.ts: Fix navtoolboxunfocused rule not properly hiding navtoolbox 2018-11-01 06:24:03 +01:00
Colin Caine
0a36af8592 👻👻 IMPORTANT: ANNOUNCEMENT 🎃🎃 2018-10-31 21:54:39 +00:00
glacambre
eb726c0861 Add halloween theme 2018-10-31 21:49:02 +00:00
Oliver Blanthorn
b4cab5afe0
Mention that find mode is broken 2018-10-31 14:29:29 +00:00
Oliver Blanthorn
cd968ba9e8
Remove shrugface error
It was funnier when it wasn't tormenting end users who hit bugs
2018-10-31 14:06:09 +00:00
glacambre
00c01ec6ec
Enable rebinding keys in command line
We re-use the ex-command parser in order to enable rebinding keys in
command-line mode. Command-line manipulation is re-implemented using
previously-abstracter editor commands.
2018-10-31 08:16:58 +01:00
Anton Vilhelm Ásgeirsson
7bae3e77ae Refactor undo excmd to explicitly undo tabs, windows or recent.
This addresses issue #772 and adds functionality for "basic" tab and window
undo. Supplying either tab or window to the undo excmd will explicitly restore
the most recently closed item of the specified type.

Undo now has a return value of the [tab|window]Id or -1 if no matches are made.
Currently it looks like window ids aren't being used/kept when closed so that
might be a small gotcha.

This does not address the problem of the currently default "recent" mode where
seemingly random windows are reopened when no tabs fitting the current window id
are available.

U is now bound to `undo window` to specifically reopen windows.
2018-10-30 20:06:04 +00:00
glacambre
61499fa19a
excmds.ts: Move content of im_* functions to lib/editor.ts
This commit moves the content of the im_* functions to their own file,
lib/editor.rs. This enables a bit of refactoring since the functions are
not subject to the constraints set by the macro preprocessor. This also
makes re-using the editor functions later easier.
2018-10-30 09:10:49 +01:00
Oliver Blanthorn
454a63e779
Merge pull request #1110 from WhiteAbeLincoln/master
Add Fullscreen{Change,Enter,Left} autocommand events
2018-10-29 10:53:40 +00:00
Oliver Blanthorn
0b1e46b76c
Merge pull request #1117 from antonva/sanezoom
Add zm and zr zoom bindings.
2018-10-29 10:49:44 +00:00
Anton Vilhelm Ásgeirsson
37e0071e52 Add zm and zr zoom bindings. 2018-10-28 12:05:56 +00:00
Oliver Blanthorn
2594d1e87b
Merge branch 'make_completions_faster' 2018-10-28 10:56:36 +00:00
Oliver Blanthorn
ed659bf67c
release 1.14.1 2018-10-28 10:44:02 +00:00
Oliver Blanthorn
ecab1522c3
Update changelog for 1.14.1 2018-10-28 10:43:47 +00:00
Oliver Blanthorn
2f8b457d84
Merge pull request #1112 from glacambre/fix_setpref
excmds.ts: Fix setpref breaking user.js when value contains spaces
2018-10-27 14:03:39 +01:00
glacambre
26169efea1
excmds.ts: Fix setpref breaking user.js when value contains spaces
Before this commit, `:setpref my_pref "my value"` broke user.js by only
writing '"my' to the file. This created a syntax error and prevented
firefox from reading the rest of the file. This commit fixes that.
2018-10-27 13:20:18 +02:00
Abraham White
bcfdd1dadb Mark fullscreenhandler function as hidden from docs 2018-10-25 22:59:47 -06:00
Abraham White
2563ddd505 Rename prefixed variable to prevent future name clashes 2018-10-25 22:54:25 -06:00
Abraham White
985e20cf5c Add Fullscreen{Change,Enter,Left} autocommand events 2018-10-25 22:40:25 -06:00
Oliver Blanthorn
8644e06f21
Merge pull request #1108 from glacambre/update_faq
readme.md: Merge FAQ questions, update some of the answers
2018-10-25 11:46:50 +01:00
glacambre
b10b1169cc
readme.md: Merge FAQ questions, update some of the answers 2018-10-25 09:03:32 +02:00
Oliver Blanthorn
b01ad0e0c9
Merge pull request #1106 from glacambre/fix_918
excmds.ts: Make idFromIndex('#') default to activeTab if no prev tab
2018-10-25 08:00:41 +01:00
glacambre
f5873ea5ca
excmds.ts: Make idFromIndex('#') default to activeTab if no prev tab
This commit makes idFromIndex("#") return the id of the currently active
tab instead of undefined when only one tab is open. This makes
Tridactyl's "#" behavior closer to vim's, but not 100% the same.

This closes https://github.com/tridactyl/tridactyl/issues/918 .
2018-10-25 07:52:17 +02:00
glacambre
a6a3e4ac2f
commandline_frame.ts: Try to get rid of input lag
We try to get rid of input lag by only starting completion computation
some time after the user stopped pressing letters. This should in theory
help with https://github.com/tridactyl/tridactyl/issues/1092 and close
https://github.com/tridactyl/tridactyl/issues/454 and
https://github.com/tridactyl/tridactyl/issues/229.
2018-10-24 22:08:24 +02:00
Oliver Blanthorn
c9d7747058
Update changelog for 1.14.1 2018-10-24 19:25:56 +01:00
Oliver Blanthorn
b0f6306b71
Unbind I: fix #1096 2018-10-19 17:59:18 +01:00
Oliver Blanthorn
42384cf0a7
Add reloadallbut command 2018-10-19 12:39:48 +01:00
Oliver Blanthorn
f2f4d3205f
Merge pull request #1094 from glacambre/guiset_tab_counters
css_util.ts: Add tab counter rules
2018-10-18 21:24:33 +01:00
glacambre
2664978b00
css_util.ts: Add tab counter rules
This commit adds a way to display tab indexes on tabs themselves.
2018-10-18 21:41:12 +02:00