1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 11:11:34 +03:00
Commit Graph

988 Commits

Author SHA1 Message Date
Tae Won Ha
a08fc2c910
Merge branch 'master' into update-neovim 2022-09-13 23:19:11 +02:00
Tae Won Ha
4b147028fe
Use a private function instead of a public extension.
It's way faster.
2022-09-13 21:08:27 +02:00
Tae Won Ha
2d31876e3e
Merge branch 'master' into update-neovim
Conflicts:
	NvimServer
2022-07-03 10:20:57 +02:00
Tae Won Ha
9820032b89
Remove unnec' protocol 2022-07-03 10:07:30 +02:00
Tae Won Ha
8fe75a7a95
Tidy up merge 2022-06-26 19:10:18 +02:00
Tae Won Ha
69e650b16f
Merge branch 'develop' into update-neovim
Conflicts:
	NvimServer
	NvimView/Sources/NvimView/NvimAutoCommandEvent.generated.swift
	NvimView/Sources/NvimView/NvimCursorModeShape.generated.swift
2022-06-26 19:04:40 +02:00
Tae Won Ha
0301919b7c
Generate sources 2022-06-26 18:28:01 +02:00
Tae Won Ha
c05d20269a
Make classes final if possible 2022-06-26 15:19:30 +02:00
Tae Won Ha
356712b837
Merge branch 'develop' into update-neovim
Conflicts:
	RxPack/Sources/RxPack/RxNeovimApi.generated.swift
2022-06-18 15:59:11 +02:00
Tae Won Ha
a472bc8320
Update submodule 2022-06-18 15:54:04 +02:00
Tae Won Ha
9c056876cf
Extract Rx classes for MessagePort and MsgpackRPC and move RxNeovimApi to NvimServer 2022-06-18 11:48:40 +02:00
Tae Won Ha
050537eeb7
wip 2022-06-17 22:42:20 +02:00
Tae Won Ha
2baf8a437f
Remove warnings 2022-06-17 16:48:30 +02:00
Tae Won Ha
076768bdfb
Merge remote-tracking branch 'origin/develop' into update-neovim 2022-06-16 15:55:57 +02:00
Tae Won Ha
c017466cc6
Use swift-tools 5.6 and bump Nimble to 10.0.0 2022-05-22 15:54:52 +02:00
Tae Won Ha
729e01ee59
Update neovim 2022-05-22 15:29:19 +02:00
Tae Won Ha
c4da658e8c
Merge branch 'develop' into update-neovim 2022-05-17 20:13:53 +02:00
Tae Won Ha
8fb71aa4c2
Make framerate view toggleable 2022-05-14 19:09:50 +02:00
Tae Won Ha
ffcbb01a20
Update neovim 2022-04-22 20:22:18 +02:00
Tae Won Ha
82b2913aad
Remove trackpad resistance pref 2022-04-18 15:31:48 +02:00
Tae Won Ha
57f22ac1ac
Merge pull request #938 from tsung-ju/trackpad
Improve trackpad scrolling precision
2022-04-18 08:07:32 +02:00
Tsung-Ju Chiang
e0e1dc1456 Change variables to internal 2022-04-17 14:06:03 -04:00
Tae Won Ha
192d0c9429
Update neovim to 0.7.0 2022-04-16 18:09:40 +02:00
Tsung-Ju Chiang
2145f0e84f Improve trackpad scrolling precision 2022-04-13 17:31:37 -04:00
Tae Won Ha
4d49c15429
Merge branch 'develop' into update-neovim 2022-03-31 20:28:26 +02:00
Tae Won Ha
2567204282
GH-928: When passing path to Neovim backend, shell-escape the path 2022-03-30 17:36:11 +02:00
Tae Won Ha
9292d751e4
Merge branch 'develop' into update-neovim 2022-03-23 18:22:24 +01:00
Tae Won Ha
94440566c9
GH-922: Add an option to set font smoothing. 2022-03-23 18:03:27 +01:00
Tae Won Ha
c4b5a3df1d
Generate sources 2022-03-22 21:35:53 +01:00
Tae Won Ha
972235ca5b
Merge branch 'develop' into update-neovim 2022-03-22 18:20:23 +01:00
solawing
17e6a42036 fix: avoid set to ascii IM when insert -> insert
this occur when lastImSource record as ascii IM, and tmp change to im in
insert mode
2022-03-21 19:06:55 +08:00
Tae Won Ha
048f0ae4a2
Merge branch 'develop' into update-neovim 2022-03-16 21:48:20 +01:00
Tae Won Ha
6501c3286a
Update Xcode 2022-03-16 21:48:10 +01:00
Tae Won Ha
23a86134ab
Merge branch 'develop' into update-neovim 2022-03-08 22:47:51 +01:00
Tae Won Ha
6ad588c1ae
Refactor ASCII IM handling and add a pref item 2022-03-08 19:47:23 +01:00
georgealbert
ec268e5245
Merge branch 'qvacua:develop' into develop 2022-02-19 21:47:54 +08:00
Tae Won Ha
16fd05b06f
Merge branch 'develop' into update-neovim 2022-02-19 10:46:18 +01:00
Tae Won Ha
08f2fbd85c
Update RxSwift 2022-02-13 12:48:49 +01:00
Albert
c523a4816e refactor IME switch.
NvimView/NvimView.swift: Add lastMode and currentMode
NvimView/NvimView+UiBridge.swift: Change IME by mode.
2022-02-13 01:01:37 +08:00
Tae Won Ha
688a1c5c5d
Merge branch 'develop' into update-neovim 2022-02-12 16:36:36 +01:00
georgealbert
359b2b582f
* NvimView+UiBridge.swift: set lastImSource when exit from insert mode 2022-02-08 21:48:00 +08:00
georgealbert
e031c7deb2
* NvimView.swift: add var is_insert_mode for ime switch 2022-02-08 21:43:20 +08:00
georgealbert
5964544a04
* NvimView+UIBridge.swift: support ime auto switch between normal and insert mode 2022-02-06 15:37:40 +08:00
georgealbert
8baf408c81
* NvimView.swift: save ime status in vars 2022-02-06 15:35:25 +08:00
Tae Won Ha
5c632d5248
Update neovim 2022-01-24 16:35:01 +01:00
Atishay Jain
a39cc580cf Add Support for Right and Middle Mouse buttons 2022-01-20 22:29:58 -08:00
Tae Won Ha
c93f03b937
Reformat 2022-01-11 13:24:48 +01:00
Tae Won Ha
190e186264
Add some comment 2022-01-05 23:29:30 +01:00
Tae Won Ha
67e729392d
Use Array(unsafeUninitializedCapacity) 2022-01-05 16:26:01 +01:00
Tae Won Ha
5d2c80c838
Update NvimServer to 0.6.1-0 2022-01-02 16:09:21 +01:00
Tae Won Ha
07c775082c
Merge pull request #876 from imkerberos/fix-cmd-dot-keydown
Fix <Cmd + .> don't trigger keydown event.
2022-01-01 12:00:55 +01:00
Tae Won Ha
5286f800e1
Make DrawerDev compile again 2021-12-24 13:18:35 +01:00
Tae Won Ha
4786aa94bb
Use ClosedRange instead of CountableClosedRange 2021-12-23 22:41:07 +01:00
Tae Won Ha
848017f450
Simplify closure a bit 2021-12-23 20:54:49 +01:00
Tae Won Ha
63f7d65084
Make use of automatic conversion between CGFloat and Double 2021-12-23 19:48:57 +01:00
Tae Won Ha
b671e0d60b
Ack Xcode recommendations 2021-12-23 19:45:18 +01:00
Tae Won Ha
1e9fe40f9c
Make use of automatic conversion between CGFloat and Double 2021-12-23 19:40:14 +01:00
Tae Won Ha
30b5ee7e4c
Make delegate weak 2021-12-23 14:27:12 +01:00
Tae Won Ha
226bc73c7b
Reformat 2021-12-23 14:19:40 +01:00
Tae Won Ha
d442e6021b
Add NvimViewDelegate for menu item key equivalent handling 2021-12-23 14:16:37 +01:00
Tae Won Ha
9b35ebb3be
Reformat 2021-12-23 14:04:50 +01:00
Tae Won Ha
351a08da23
Update neovim to 0.6.0 2021-12-01 19:09:59 +01:00
Kerberos
f50882e59a Fix <Cmd + .> don't trigger keydown event. 2021-11-09 11:20:32 +08:00
Tae Won Ha
f503b9e47e
GH-405 Vertically center-align text when linespacing > 1 2021-11-06 14:06:07 +01:00
Tae Won Ha
15ebbd4ee2
Merge remote-tracking branch 'origin/pr/805' into 805
- Did not change AttributesRunDrawer since it breaks the vertical
  positioning with linespacing = 1.0.

 Conflicts:
	NvimView/Sources/NvimView/AttributesRunDrawer.swift
	NvimView/Sources/NvimView/FontUtils.swift
2021-11-06 13:34:33 +01:00
Tae Won Ha
0065e0dd44
Merge remote-tracking branch 'origin/pr/874' into develop 2021-11-06 08:48:08 +01:00
Tae Won Ha
5972bbf6d2
Generate sources (did not produce changes) 2021-11-05 19:15:26 +01:00
Tae Won Ha
a67ad89cd7
Update SPM deps 2021-11-04 22:06:28 +01:00
solawing
65ff615dba feat: draw insert marked text without accutally into vim
this commit fixes following issues:

1. use `-`, `=`, `arrow key` to select candidate. which shouldn't be
   handle by vim
2. use `left`, `right` to move in marked text by word. which shouldn't
   be handle by vim directly
3. though inserting marked text directly into UGrid cells, bypass vim
   key mapping system, only the finall insertText be inserted into vim.
   so vim map like jk to esc won't affect input method.
   and when input i in normal mode when input method, I can press <CR>
   to confirm it and only i will send to vim.

 this is also the behaviour of mac terminal.
2021-10-31 17:27:30 +08:00
solawing
bb8b920d0c refactor: sink _unmarkText 2021-10-31 16:09:28 +08:00
solawing
918fc44889 chore: avoid crash in xcode 13.1 2021-10-31 16:09:28 +08:00
Raphael Luba
61cd8848dc Fix #750: incorrect cursor color when over search highlight 2021-06-23 23:27:07 +02:00
Tae Won Ha
dd955fb4f1
Remove Xcode warnings 2021-06-18 08:57:57 +02:00
Tae Won Ha
52d2aac3e0
Adapt to RxSwift 6.2 2021-06-18 08:55:23 +02:00
Tae Won Ha
b059010f55
Adapt to RxSwift 6.2 2021-06-18 08:54:53 +02:00
Tae Won Ha
7093d96b0f
Adapt to RxSwift 6.2 2021-06-18 08:54:21 +02:00
Tae Won Ha
d558d2c4cc
Adapt to RxSwift 6.2 2021-06-18 08:53:40 +02:00
Tae Won Ha
a793be2f53
Adapt to RxSwift 6.2 2021-06-18 08:53:23 +02:00
Tae Won Ha
f4626b7255
Adapt to RxSwift 6.2 2021-06-18 08:52:29 +02:00
Tae Won Ha
507e2d6973
Adapt to RxSwift 6.2 2021-06-18 08:51:22 +02:00
Tae Won Ha
6254fa99e4
Update RxSwift to 6.2 2021-06-18 08:41:16 +02:00
Tae Won Ha
d8439d8e64
Update deps
- up to RxSwift
2021-06-18 08:06:38 +02:00
Tae Won Ha
0ae565be95
GH-832 Re-revert neovim launching code 2021-02-20 14:06:48 +01:00
Tae Won Ha
f06fd354da
Adapt NvimView demo app to custom tabs 2021-02-20 13:50:43 +01:00
Tae Won Ha
d1787e23da
Fix support apps 2020-12-24 22:22:49 +01:00
Tae Won Ha
e6c0e543e4
Update nimble 2020-12-24 21:43:56 +01:00
Tae Won Ha
06afc5131d
Reformat 2020-12-24 17:48:27 +01:00
Tae Won Ha
5761687559
Update neovim 2020-12-24 16:00:26 +01:00
Tae Won Ha
b719809402
WIP 2020-12-24 13:21:35 +01:00
Tae Won Ha
9754fdc7bf
Restructure a bit 2020-12-24 12:15:36 +01:00
Tae Won Ha
be2895bbe4
Update neovim 2020-12-24 10:36:24 +01:00
Tae Won Ha
2d2108e74b
Add self 2020-12-20 16:06:56 +01:00
Tae Won Ha
2812877cee
Ignore error when setting guifont at the very beginning 2020-12-20 16:05:12 +01:00
Tae Won Ha
18a9c93e68
Update neovim 2020-12-20 15:53:11 +01:00
Tae Won Ha
9ee067a0d3
Move shell code to Commons 2020-12-20 15:24:57 +01:00
René Köcher
62be8668a5 vimFontSpec(fromFont:) and RemoteOption.fromFont() don't need Optionals 2020-12-20 12:07:40 +01:00
René Köcher
872d61b713 Add font(fromVimFontSpec:) as reversal to vimFontSpec(forFont:) 2020-12-20 11:54:45 +01:00
René Köcher
18742458a6 Include suggestions by @qvacua & apply swiftformat 2020-12-20 11:50:56 +01:00
René Köcher
a1d3d26765 Report invalid fonts back to NvimServer 2020-12-19 22:06:20 +01:00
René Köcher
1ca66cadf3 Add support to report option changes to NvimServer
Currently this is only implemented for font changes, but can be
extended to any other option added in the future.
2020-12-19 21:31:30 +01:00