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

512 Commits

Author SHA1 Message Date
Tae Won Ha
f844d0c205
Don't do unnec' computation... 2017-06-05 16:10:24 +02:00
Tae Won Ha
5c713c8d97
Speed up row runs for ranges function 2017-06-05 15:58:30 +02:00
Tae Won Ha
c415df78e1
Do not send unnec' screen cursor position to UI 2017-06-05 15:22:35 +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
8c51148515
Bump version: snapshot/196 2017-06-04 16:47:31 +02:00
Tae Won Ha
747c7ba6b5
Fix wrong cursor drawing 2017-06-04 16:07:46 +02:00
Tae Won Ha
22ec2dda64
Reduce the line count to scroll 2017-06-01 22:32:15 +02:00
Tae Won Ha
0b52a9ea38
Remove unnec' fields and reduce max scroll lines 2017-06-01 22:16:15 +02:00
Tae Won Ha
7104739bad
Turn off debug log for ui bridge 2017-05-30 23:57:35 +02:00
Tae Won Ha
3a80c7257c
Stop agent in the main thread 2017-05-30 23:54:30 +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
aca159851e
Remove unnec' extension 2017-05-30 23:51:57 +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
39feb8524b
Scroll in custom steps 2017-05-30 23:41:15 +02:00
Tae Won Ha
34569b14b5
Make only one file appender per file url 2017-05-28 09:04:13 +02:00
Tae Won Ha
a7bc657514 Merge remote-tracking branch 'origin/develop' into update-neovim
Conflicts:
	NeoVimServer/server_ui.m
	SwiftNeoVim/NeoVimView.swift
        and many others...
2017-05-27 17:22:47 +02:00
Tae Won Ha
6e403c7a24
Be 100 chars wide 2017-05-27 16:41:28 +02:00
Tae Won Ha
1a4f0b9345
Restructure ui bridge file 2017-05-27 16:27:53 +02:00
Tae Won Ha
e8ac92d8a8
Add debug log msgs 2017-05-27 15:58:40 +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
Tae Won Ha
47187b4997
Add a simple file logger for debugging 2017-05-27 11:09:31 +02:00
Tae Won Ha
f1820bba03
Add function for cursor shape name 2017-05-27 11:08:40 +02:00
Tae Won Ha
cca384fae4
Merge branch 'develop' into update-neovim 2017-05-17 22:00:24 +02:00
Tae Won Ha
53bed4540a
Make special keys file private 2017-05-17 21:57:27 +02:00
Tae Won Ha
bc2fcd76ea
Bump version: snapshot/195 2017-05-17 19:38:15 +02:00
Martin Kühl
c8a8c3b93d Add (Shift-)Tab as a special key
Pressing Shift+Tab generates an NSEvent with characters `"\u{19}"` (and the shift modifier), which the backend doesn’t recognise as the Tab key.
(Instead it gets mapped as <C-Y>, which makes sense given how ASCII control characters are interpreted.)
This change fixes that by adding a corresponding entry to the KeyUtils.specialKeys dict.

Of course sending <C-Y> still works because it is transmitted as `<C-y>`.
2017-05-17 14:43:21 +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
72f6208ab2
Bump version: snapshot/194 2017-05-15 22:25:49 +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
3b9808238e
Bump version: snapshot/193 2017-05-12 23:18:13 +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
826c575798
Merge branch 'develop' into update-neovim 2017-05-12 08:52:52 +02:00
Tae Won Ha
d96f294ea9
Bump version: snapshot/192 2017-05-12 08:47:00 +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
e82f62ebfd
Bump version: v0.15.0-191 2017-05-10 22:47:11 +02:00
Tae Won Ha
702a1b461d
Do not resize in init 2017-05-09 20:48:09 +02:00
Tae Won Ha
b79c91b4ee
Bump version: snapshot/190 2017-05-09 18:35:38 +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
a7b5127486
Bump version: snapshot/189 2017-05-08 21:27:10 +02:00
Tae Won Ha
a1beeb2d67
GH-434 Use fileURLWithPath... -_- 2017-05-08 21:16:25 +02:00
Tae Won Ha
3be5eedf11
Bump version: snapshot/188 2017-05-08 20:39:02 +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
18bc388425
Bump version: snapshot/187 2017-05-07 17:47:26 +02:00
Tae Won Ha
8abc31e3c1
Bump version: snapshot/186 2017-05-06 09:54:28 +02:00