Tae Won Ha
cca384fae4
Merge branch 'develop' into update-neovim
2017-05-17 22:00:24 +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
acc4edc0ce
Merge branch 'develop' into update-neovim
2017-05-12 23:21:25 +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
d548cb01a0
Update neovim
...
- adapt to (neovim/neovim@031756c5e6 )
* int -> Integer
* bool -> Boolean
* some char * -> String
2017-05-11 08:08:58 +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
Tae Won Ha
9c17450ef0
GH-339 Call has dirty docs from UI again
2017-01-08 18:07:42 +01:00
Tae Won Ha
ec0f84b656
GH-339 Update preview when tab switching
2017-01-08 16:06:01 +01:00
Tae Won Ha
63b3a35ba9
GH-339 React to cursor moved also
2017-01-08 13:52:28 +01:00
Tae Won Ha
c78b4f3413
Merge branch 'develop' into issue/339-md-preview
2017-01-07 20:29:08 +01:00
Tae Won Ha
f004165e90
GH-376 Fix paste
2017-01-07 20:17:50 +01:00
Tae Won Ha
e683f1e684
GH-339 Remove unnec' comment
2017-01-07 16:10:15 +01:00
Tae Won Ha
a5dc659b24
GH-339 Push dirty status to the UI (again)
2017-01-07 16:06:39 +01:00
Tae Won Ha
491eaa73d4
GH-339 Push the current line and col to the UI
2017-01-07 15:53:32 +01:00
Tae Won Ha
fbe1d4a917
GH-339 Use cursor goto method
2017-01-07 15:12:07 +01:00
Tae Won Ha
dc9f89279f
GH-339 Make sure that we are sending msgs in the main loop
2017-01-07 14:56:45 +01:00
Tae Won Ha
5098c13781
GH-339 Try set cursor method
2017-01-07 14:56:17 +01:00
Tae Won Ha
2de6f9a28d
GH-339 Send ESC in addtion to norm ..G..|
2017-01-07 08:38:15 +01:00
Tae Won Ha
1f2173c5cd
GH-339 Do reverse search
2017-01-06 16:39:03 +01:00
Tae Won Ha
2e9a824de7
GH-339 Pass neovim view to the renderer to get the current line and col
2017-01-04 20:35:53 +01:00
Tae Won Ha
1c163c96dd
GH-339 Pass scroll event
2017-01-04 20:32:56 +01:00
Tae Won Ha
9b377c9d34
Pass through current buffer changed event to preview component
2016-12-20 01:03:37 +01:00