Commit Graph

215 Commits

Author SHA1 Message Date
Andy K. Massimino
7ff09d9372 Use floating window strategy for nvim 2019-09-06 19:27:58 -04:00
Andy K. Massimino
e51c101301 Merge branch 'rafi-feature-popup-method' into feature-offscreen-popup-both 2019-09-06 18:48:27 -04:00
Andy K. Massimino
588333bec4 Include number in popup 2019-09-06 18:38:58 -04:00
Andy K. Massimino
b742fc0ac2 Merge branch 'axelf4-master-remote' into feature-offscreen-popup-both 2019-09-06 18:31:15 -04:00
Rafael Bodill
d1ac1d0c5d Introduce new "popup" match display
Using Neovim's floating window, or Vim 8.x popup.
2019-09-01 21:39:38 +03:00
Andy K. Massimino
8ea09f829c Use CursorLineNr for statusline for visibility 2019-08-11 13:46:08 -04:00
Andy K. Massimino
4fa39a3a1f Use ; to separate \g{} args 2019-08-11 09:55:08 -04:00
Andy K. Massimino
43ba797f68 Merge branch 'feature-midmap' 2019-08-02 19:07:33 -04:00
Andy K. Massimino
ba33a5c92d Rename status_offscreen option to offscreen re #65 2019-08-02 15:28:20 -04:00
Andy K. Massimino
1e2a3d3106 Chain register for text obj/g@
https://vi.stackexchange.com/questions/20322/how-to-pass-vregister-to-custom-operator-when-working-on-custom-text-object/
2019-07-24 19:08:05 -04:00
Andy K. Massimino
1796b3cc21 Make minor changes, update doc 2019-07-24 19:06:18 -04:00
Andy K. Massimino
e581db9fda Try to fix di%, fixes #66 2019-07-24 12:23:25 -04:00
Axel Forsman
7009d8f098 Fix use only one global popup
Previously one popup per window was created to be able to show offscreen
matches in each window. Moving away from that since it would just be
annoying.
2019-06-27 17:20:22 +02:00
Axel Forsman
1b8b8d6a3d Add popup for displaying off-screen matches
Replaces the status line with popup windows for displaying off-screen
matches. This employs the new, currently unstable, popup feature of Vim
version 8.1. The popup is displayed at the top of the window for matches
above the view, and respectively at the bottom for matches below. The
implementation is only a rough sketch without much thought to
configurability or code clarity.

One designated popup is created per-window and stored in a window-local
variable. It is then moved and showed/hid depending on the match or lack
thereof. Window movements are not handled.
2019-06-27 15:55:04 +02:00
Andy K. Massimino
6b9ab7b538 Reorganize minorly status offscreen re #65 2019-06-19 00:13:28 -04:00
Andy K. Massimino
50eeeb9118 Fix regression in 729f9a9 re #64 2019-06-17 21:21:46 -04:00
Andy K. Massimino
729f9a9865 Support another c brace style re. #64 2019-06-17 20:24:11 -04:00
Andy K. Massimino
f1a3948db9 Use ▶ instead of ⯈, add opt where_separator 2019-06-15 20:21:46 -04:00
Andy K. Massimino
164086a3c2 Add MatchupWhereAmI, improve status display 2019-06-15 11:34:02 -04:00
Andy K. Massimino
e4706927ed Implement advanced midskip (e.g., for julia, ruby) 2019-04-10 18:09:11 -04:00
Andy K. Massimino
0f7a98a065 Make misc minor changes 2019-04-10 18:06:07 -04:00
Andy K. Massimino
c563b241bf Allow arg in gspec (for future expansion) 2019-03-10 17:44:43 -04:00
Andy K. Massimino
eec1b485ea Tweak custom motion example #49 2019-03-09 09:20:43 -05:00
Andy K. Massimino
d9851bafea Add custom motion api, resolves #49 2019-03-08 08:31:35 -05:00
Andy K. Massimino
61e4b7a46c Alter c-like line adjustment 2019-03-05 18:13:37 -05:00
Andy K. Massimino
9d8c684749 Improve z% slightly, fix missing timeout 2019-03-05 18:10:45 -05:00
Andy K. Massimino
d1a0cf0599 Add match fading feature (like Xcode?) closes #52 2019-03-03 00:47:01 -05:00
Andy K. Massimino
adf588fb44 Improve times display 2019-03-02 23:54:28 -05:00
Andy K. Massimino
00665d3278 Improve performance with long lines re #53 2019-03-02 13:16:31 -05:00
Andy K. Massimino
4b58e06cf2 Improve ]% (again) 2019-02-28 12:41:52 -05:00
Andy K. Massimino
ca8f19f488 Tweak cursor for empty text obj 2019-02-04 21:57:21 -05:00
Andy K. Massimino
53c9101f65 Add fortran patches, fixes #51 2019-01-25 21:41:10 -05:00
Andy K. Massimino
ce1414c3e2 Fix missing omaps 2019-01-17 11:11:14 -05:00
Andy K. Massimino
c860f4c967 Improve ]% esp for html 2019-01-16 10:35:28 -05:00
Andy K. Massimino
bcd9083e1a Fix stale links bug 2019-01-16 10:32:51 -05:00
Andy K. Massimino
a11fd9c778 Handle scrolloff past end of file 2019-01-10 09:54:32 -05:00
Andy K. Massimino
ef17dcb4c2 Be even more careful about transmuting #48 2019-01-10 09:47:19 -05:00
Andy K. Massimino
62b3db9684 Improve open brace check again 2019-01-09 10:48:14 -05:00
Andy K. Massimino
46f411c1d9 Be more careful about when to transmute re #48 2019-01-08 12:21:59 -05:00
Andy K. Massimino
6f576942db Improve open brace alignment check for clike 2019-01-04 08:15:03 -05:00
Andy K. Massimino
e3016e0ca0 Fix background matches 2018-12-27 23:28:29 -05:00
Andy K. Massimino
214e59bf01 Improve offscreen esp for c-like languages
In cases like the following, the statusline will display
"if (status) … {" which is more useful.

```c
if (status)
{

[}]
2018-12-27 23:19:30 -05:00
Andy K. Massimino
ffb450c985 Use mode() to determine motion_force (8.1.0648)
cf vim/vim#3490
2018-12-27 23:14:12 -05:00
Andy K. Massimino
734cd4e5a8 Fix count() compat problem pointed out by vader 2018-12-27 23:04:54 -05:00
Andy K. Massimino
55cff87749 Allow hotfix for dotted &filetype, fixes #46 2018-12-20 08:06:57 -05:00
Andy K. Massimino
fa9d7a83fc Allow background highlight without matchaddpos
fixes #44
2018-12-10 01:20:30 -05:00
Andy K. Massimino
559ae0cab0 Fix default skip method 2018-12-10 00:50:19 -05:00
Andy K. Massimino
ca997f224f Add alternative for missing matchaddpos re #44 2018-11-29 15:13:26 -05:00
Andy K. Massimino
c677d09abc Allow highlighting background between matches 2018-11-09 11:18:00 -05:00
Andy K. Massimino
1f70ad5445 Adjust match list for minor partial bug 2018-11-04 12:30:38 -05:00