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

215 Commits

Author SHA1 Message Date
Tae Won Ha
f524a3ff0c
GH-302, GH-421 Call agent.quit() in main thread
- this avoids the strange delay which occurs sometimes when we call it in the mach port server thread
2017-06-13 22:56:50 +02:00
Tae Won Ha
253aa00f78
GH-302, GH-421 Use vimCommand to initialize some neovim settings
- otherwise _NSDetectedLayoutRecursion gets invoked.. dunno why
2017-06-12 21:49:16 +02:00
Tae Won Ha
64501bb43f
GH-302, GH-421 Launch neovim after first resize.
- when using -d option of nvim, it's important that the initial size of nvim corresponds to the NSWindow's size such that both splits have the same width
2017-06-12 19:28:58 +02:00
Tae Won Ha
3216b08699
GH-302, GH-421 Add passthrough arguments to vimr script 2017-06-12 00:30:33 +02:00
Tae Won Ha
2d64198e5c
Sync return when quitting neovim 2017-06-11 15:48:18 +02:00
Tae Won Ha
91fac3868e
GH-423 Cache cwd and send the change event as a callback 2017-06-09 01:15:45 +02:00
Tae Won Ha
f844d0c205
Don't do unnec' computation... 2017-06-05 16:10:24 +02:00
Tae Won Ha
5d3aca696d
Refactor cursor drawing
- draw only when flushed and use the normal position from goto
2017-06-05 14:22:12 +02:00
Tae Won Ha
747c7ba6b5
Fix wrong cursor drawing 2017-06-04 16:07:46 +02:00
Tae Won Ha
7104739bad
Turn off debug log for ui bridge 2017-05-30 23:57:35 +02:00
Tae Won Ha
a128ddcae6
Rename some functions 2017-05-30 23:54:30 +02:00
Tae Won Ha
2e96b09e88
Make some fields fileprivate and remove some fields 2017-05-30 23:53:47 +02:00
Tae Won Ha
c74c884d8b
Reformat drawing code a bit 2017-05-30 23:51:57 +02:00
Tae Won Ha
72e24de79c
Use migrate to cgcontext 2017-05-30 23:51:57 +02:00
Tae Won Ha
f099c125fd
Add debug flag to logger 2017-05-30 23:41:29 +02:00
Tae Won Ha
1a4f0b9345
Restructure ui bridge file 2017-05-27 16:27:53 +02:00
Tae Won Ha
d34729b7d5
Use the simple debug file logger 2017-05-27 15:22:37 +02:00
Tae Won Ha
03c8b7852b
Distribute NeoVimView into multiple files 2017-05-27 15:13:22 +02:00
Tae Won Ha
30fb8d3888
Escape open keyword 2017-05-27 11:26:06 +02:00
Martin Kühl
bbce00c6ef Support shift modifier on special keys
The NeoVimView.vimModifierFlags method only checks for the control, option, and command modifiers, which leads to the shift modifier getting lost.
This change mitigates that by checking for the shift modifier and translating it to the `S-` key prefix.

This change has the possible side effect of requiring additional `S-` prefixes, depending on the keyboard layout.
For example, take a US keyboard with a <kbd>-</kbd>/<kbd>_</kbd> key and press that key with control and shift depressed.
Before this change, VimR would transmit `<C-_>`, while after this change it transmits `<C-S-_>`.
2017-05-17 14:43:14 +02:00
Tae Won Ha
fba95cd7b5
GH-430 Fix pasting in command line mode 2017-05-12 23:21:18 +02:00
Tae Won Ha
db0cd6fb0a
GH-430 Fix cursor disappearing in command line 2017-05-12 21:16:32 +02:00
Tae Won Ha
702a1b461d
Do not resize in init 2017-05-09 20:48:09 +02:00
Tae Won Ha
c26f4d1441
GH-441 set mouse=a when launching neovim process
- neovim turned `mouse` off by default. It'll eventually turn it on again, until then, we turn it on when launching the process
2017-05-09 07:45:57 +02:00
Tae Won Ha
70723ea925
GH-434 Use DIRCHANGED and add pwd to NeoVimServer 2017-05-08 20:25:11 +02:00
Tae Won Ha
b09970e818
GH-442 Push (again) dirty status to ui 2017-05-06 09:39:58 +02:00
Tae Won Ha
0f4377b8c5
GH-426 Move font related IBActions to NeoVimView 2017-05-01 10:25:03 +02:00
Tae Won Ha
1fb77c990e
Merge branch 'develop' into update-neovim 2017-04-29 08:24:46 +02:00
Tae Won Ha
7480ff4a50
Make some fields of structs var and make some op overloading functions static 2017-04-29 08:11:34 +02:00
Tae Won Ha
5f6e758293
Merge branch 'develop' into 428-update-neovim
Conflicts:
	NeoVimServer/server_ui.m
2017-04-25 07:32:11 +02:00
Tae Won Ha
8102191222
Reformat 2017-04-25 07:04:22 +02:00
Tae Won Ha
69e58d5723
Use DispatchQueue.main.async directly 2017-04-24 21:10:56 +02:00
Tae Won Ha
2dd3659329
GH-428 Adapt to new 2017-04-23 11:33:06 +02:00
Tae Won Ha
6dba05b248
GH-405 Quit cleanly 2017-03-30 00:36:57 +02:00
Tae Won Ha
e602a674db
GH-405 Guard for nil escaped file name
- happens when quitting with main windows open in optimized build
2017-03-13 18:44:57 +01:00
Tae Won Ha
42a6be8b74
Re-add cwdchanged for now... 2017-02-19 12:54:34 +01:00
Tae Won Ha
404af920c6
Add Position.beginning 2017-02-12 13:41:12 +01:00
Tae Won Ha
925936fe29
Merge branch 'develop' into redesign 2017-02-05 23:07:15 +01:00
Tae Won Ha
bc16077849
GH-371 Revert to old method: set needs display for each put and cache colors and use SRGB color space throughout
- sometimes flush is not called by neovim after puts
2017-01-31 20:57:44 +01:00
Tae Won Ha
1b005e4862
Revert "GH-371 Remove dispatch guis"
This reverts commit cb0b014925.
2017-01-27 00:25:46 +01:00
Tae Won Ha
fdc6b84315
GH-371 No need to mark region for render when setting the scroll region 2017-01-25 21:45:23 +01:00
Tae Won Ha
cb0b014925
GH-371 Remove dispatch guis 2017-01-25 19:35:39 +01:00
Tae Won Ha
ee6294e27b
GH-371 Only draw when neovim ui-flushes 2017-01-25 19:24:38 +01:00
Tae Won Ha
fc79d9497a
GH-371 Refactor some set needs display code 2017-01-25 18:52:01 +01:00
Tae Won Ha
a01b104330
GH-371 Rename custom setNeedsDisplay methods 2017-01-25 18:34:13 +01:00
Tae Won Ha
f9509abeae
Merge branch 'develop' into redesign 2017-01-23 19:50:30 +01:00
Tae Won Ha
7a0610dee2
Use DIRCHANGED instead of (custom) CWDCHANGED 2017-01-23 19:49:09 +01:00
Tae Won Ha
72eb7a42c0
Make pinch zooming fast on retina displays 2017-01-23 19:20:49 +01:00
Tae Won Ha
16b2110358
Merge branch 'develop' into issue/339-md-preview 2017-01-09 22:22:24 +01:00
Tae Won Ha
e95d0e9a39
GH-382 Use vim command output to cd 2017-01-09 21:54:16 +01:00