Commit graph

1065 commits

Author SHA1 Message Date
Oliver Blanthorn
09e19896cf
Grasp the nettle: run prettier on all of src 2020-07-01 18:38:02 +01:00
Oliver Blanthorn
f3877dacfc
Add autocmds for web requests 2020-07-01 12:51:50 +01:00
Oliver Blanthorn
54a049282e
Fix #2552: add callback hint-mode 2020-06-30 12:14:57 +01:00
Oliver Blanthorn
d97e3fca0f
Add blacklistdelete exalias and improve blacklistadd docs 2020-06-29 14:42:02 +01:00
Oliver Blanthorn
ea020957e6
Fix #2545: winmerge with no arguments now merges all windows 2020-06-28 11:44:57 +01:00
Oliver Blanthorn
d36246a6a4
Fix #404: add winmerge command 2020-06-27 13:49:07 +01:00
Oliver Blanthorn
5fdd15d476
Improve tab{grab,push} docs 2020-06-27 13:28:39 +01:00
glacambre
415ea541a2 Implement tab{grab,push}
These two commands let users move windows from one window to another.
2020-06-27 06:01:38 +02:00
Oliver Blanthorn
ade6ccc1eb
Fix #2539: restore condition that was flipped
This bug was introduced in the refactoring encouraged by
eslint.
2020-06-25 22:41:49 +01:00
Oliver Blanthorn
dfd8236a6c
Fix #2339: protect users from containerdelete with no arguments 2020-06-19 22:23:06 +01:00
Oliver Blanthorn
f955956b59
Re-enable no-unnecessary-type-assertion 2020-06-19 20:47:40 +01:00
Oliver Blanthorn
9fde9f3152
Re-enable no-unused-vars 2020-06-19 20:30:07 +01:00
Oliver Blanthorn
d5192f6dac
Re-enable prefer-regexp-exec 2020-06-19 15:19:46 +01:00
Oliver Blanthorn
dee3b7e6c1
Re-enable require-await 2020-06-19 13:48:22 +01:00
Oliver Blanthorn
a6ca46d147
Re-enable arrow-body-style 2020-06-19 13:08:23 +01:00
Oliver Blanthorn
d72016f10f
Re-enable guard-for-in 2020-06-19 13:02:43 +01:00
Oliver Blanthorn
96f763e42e
Re-enable no-extra-semi and prettier
Prettier re-enabled as the semi-colon removal made quite a few files
uglier than they were previously.
2020-06-19 12:56:25 +01:00
Oliver Blanthorn
bd4a87bb36
Re-enable spaced-comment 2020-06-18 22:43:38 +01:00
Oliver Blanthorn
5c3c16d376
Re-enable prefer-const rule 2020-06-18 18:34:29 +01:00
Oliver Blanthorn
c318373bdd
Merge pull request #2484 from Dranaxel/refactor_source
Refactorised source_quiet in src/excmd.ts
2020-06-16 10:50:47 +01:00
Oliver Blanthorn
592f348a6e
Fix #2469: improve hint -pipe docstring 2020-06-16 10:39:23 +01:00
Dranaxel
e88e154d94 awaiting the async function 2020-06-12 20:30:53 +02:00
Dranaxel
4781ac1d91 Refactorised source_quiet in src/excmd.ts 2020-06-12 19:26:25 +02:00
Oliver Blanthorn
06683b2bcf
Only hide hoverlink on first display of commandline 2020-06-10 17:57:41 +01:00
Oliver Blanthorn
5c41415378
Fix #2463: explain how to set settings with literal dots in their key names 2020-06-08 14:28:19 +01:00
Christian Heinrich
a90e7f74aa
auconscreatecontainer -> auconcreatecontainer
This is the right option name
2020-06-07 11:26:39 +02:00
Csaba Henk
65e278ebe4 Allow :tabopen to open in no container even with 'tabopencontaineraware' 2020-05-30 12:35:26 +02:00
Oliver Blanthorn
347cb7d07f
Merge pull request #2417 from tridactyl/scroll_focused_element
Fix #1805: preferentially scroll focused elements
2020-05-25 21:30:13 +01:00
Oliver Blanthorn
e935477c03
Merge branch 'recontain' 2020-05-25 11:25:03 +01:00
Oliver Blanthorn
12091e85f3
Fix container fuzzy matching 2020-05-25 11:23:15 +01:00
Oliver Blanthorn
e0ed570a99
Make ;; hint mode change scrolling element 2020-05-25 10:16:17 +01:00
Tanath
ced64e8fb6
Explain that RC files are optional 2020-05-24 16:34:03 +01:00
Oliver Blanthorn
3e0ee8322a
Make else implicit
This is just a stylistic choice. I prefer "guards" over if/else in
general as it makes it very clear that the following code is only
relevant if the input passes the guard.
2020-05-24 14:28:49 +01:00
Dranaxel
1be6897200 fixing indents 2020-05-24 14:41:37 +02:00
Dranaxel
3c73886b3f using bovine3dom suggestion / adding aliases 2020-05-24 12:24:01 +02:00
Dranaxel
2d8def8b81
Update src/excmds.ts
typed tabcloseallto function argument

Co-authored-by: Oliver Blanthorn <oliver.blanthorn@manchester.ac.uk>
2020-05-22 20:59:29 +02:00
Alexandre
e75eca6f08 refactoring close all tabs functions 2020-05-22 19:52:05 +02:00
Oliver Blanthorn
d35c1f79b2 Fix #2382: typo in winclose help 2020-05-16 08:15:55 +01:00
Oliver Blanthorn
3d99cb6025
Merge branch 'nmode' 2020-05-09 12:15:00 +01:00
Oliver Blanthorn
7e4da9c3ef
Merge branch 'state_in_bg_only' 2020-05-09 10:58:26 +01:00
Torsten Schmits
194bca6fea remove superfluous word in nmode doc 2020-05-08 21:11:21 +02:00
Torsten Schmits
271d6c4640 nmode: mention in doc that unbound keys are counted 2020-05-08 21:08:01 +02:00
Torsten Schmits
3f70e1886b tweak docs for nmode 2020-05-08 20:19:29 +02:00
Oliver Blanthorn
f45a2fe141
Move state storage to background 2020-05-08 17:19:23 +01:00
Oliver Blanthorn
24b6006f80
Add nmode mode
Useful for sending keys to the page in normal mode
and sending keys to Tridactyl in ignore mode
2020-05-08 15:05:51 +01:00
glacambre
f462802e2f
excmds.ts: implement tabqueue 2020-04-11 11:51:50 +02:00
Oliver Blanthorn
ead0d0b914
Merge pull request #2234 from saulrh/parser_keys_on_exstr
Return keys=[] from parser so things don't blow up if exstr is ""
2020-03-20 10:33:51 +00:00
Oliver Blanthorn
7802c9a83c
Fix unbindurl: set unbound key to null 2020-03-20 10:33:34 +00:00
Ingo Karkat
b755391aed Improve the documented editorcmd for Vim
Problems with the original:
- Addressing the column with "l" assumes that "G" positions the cursor on the first column. But the default behavior already skips leading indent (so is wrong when there's leading whitespace), and with ":set nostartofline", the current column actually is kept (which completely and randomly messes up the column addressing).
- ":normal" without ! is affected by mappings; users may have tweaked the "G" and "l" (or in the worst case completely changed the behavior, e.g. for use with a different keyboard layout).

This change makes the mapping immune to mappings (with ":normal!") and uses the "|" command (which uses virtual column addressing independent of the current column or "G" behavior) instead of "c".
Additionally, "zv" makes the current line visible should it be obscured by folding. (Vim may detect a filetype and automatically enable folding.)
Instead of -c <cmd>, the shorter +<cmd> form is used. This is just a cosmetic change. Using just a single argument and avoiding any whitespace within it may prevent command-line argument parsing issues.
2020-03-17 20:18:54 +01:00
glacambre
57e41eaec0
excmds.ts: fix hint -pipe parsing 2020-03-12 06:49:40 +01:00