vzex
740a24c05e
remove mut ref in maybe_get_keybinding
...
the next_dead_key should be changed only when a key_pressed or a dead key released,don't ask me why, it just make things work right with winit.(all test case passed)
3 years ago
vzex
0469ac14f5
rename pre_is_dead to prev_dead_key
3 years ago
vzex
24a7234858
add more support for dead key
...
list user cases for dead key and modify key(alt), on mac:
1 (us keyboard):[options+e u]=>ú
2 (us keyboard):[options+8]=>•
3 (chinese keyboard) ime:[nihao space]=>你好
4 (Austria keyboard):[= a] => á
5 (Austria keyboard):[= q] =>`q
6 (Austria keyboard):[= =] =>´´q
7 (Austria keyboard):[= shift+= q] =>´`q
8 (Austria keyboard):[= esc] =>´ and leave insert mode
9 (Austria keyboard):[= left] =>´ and move caret to left
3 years ago
vzex
68816b346b
fix bug for ctrl can't use
3 years ago
vzex
feae712bae
fix another type of dead key input
3 years ago
vzex
0fd299d995
fix macos dead key
...
after typing dead key, there is also an ime event triggered,so get text_with_all_modifiers is unnecessary
3 years ago
vzex
52c93d87af
Update keyboard_manager.rs
...
rename
3 years ago
vzex
bf1ea9c6e2
rename enum and vec queue
3 years ago
sunxiaomeng
ccb28dda00
fix #243 ime input support
3 years ago
Keith Simmons
26169f84c0
Add event aggregator and remove manual usage of channels. Also add redraw editor command on resume
3 years ago
Keith Simmons
d220477b73
update upstream winit fork
3 years ago
Fred Sundvik
0849151838
Run neovim directly in WSL login shell
...
Therefore, the neovim path hack is no longer needed, since the path and
other environment variables are now set correctly.
3 years ago
Fred Sundvik
7d19cd5ebe
Refactor commandline processing
...
This reduces the amount of code duplication, and similar flow
is used for both wsl and non-wsl code paths.
3 years ago
Keith Simmons
22cb5bc05f
refactor saved settings to be an enum to enable persistence of maximized state
3 years ago
Keith Simmons
494f8924e9
Add <CR> mapping for testing out fonts
3 years ago
Keith Simmons
d0cc37c84c
minor text tweak
3 years ago
Keith Simmons
29668bb743
formatting and clippy fixes
3 years ago
Keith Simmons
bc8d002e32
add ability to list available fonts
3 years ago
Keith Simmons
f8cb3a2131
fix minor typo
3 years ago
Fred Sundvik
b0ec20be4a
Use the width of letter 'M' instead of font average width
...
The average character width in the font information is not always
reliable, so get the width from the character 'M' instead. It still
fall backs to the average if there's no 'M' in the font.
3 years ago
Fred Sundvik
c428501def
Fix the font spacing
...
Previously the font width was always rounded down to the nearest
integer, which typically caused the fonts to look to squashed. To
correct the issue a fudge factor, which scales the fonts so that the
width is always an exact integer, was introduced.
3 years ago
LoipesMas
f941f8cf3a
Merge pull request #1112 from fredizzimo/fix_window_setings
...
Fix window settings load and save
3 years ago
LoipesMas
a46f12be35
Remove unused `use`
3 years ago
Fred Sundvik
8c2099496a
Fix window settings load and save
...
Some of the load and save paths were fixed. And the json is now
structured to properly support saving and loading of both position and
size data, and is easily extendible for more fields and objects in the
future.
3 years ago
LoipesMas
36479dd45b
Merge pull request #1099 from LoipesMas/remember_pos
...
Add remember_window_position setting
3 years ago
LoipesMas
53ee286e46
Merge pull request #1111 from fredizzimo/fix_settings
...
Fix for non-existing data directory
3 years ago
Fred Sundvik
d030f97d45
Fix for non-existing data directory
...
Also respect XDG_DATA_HOME on unix systems instead of using hardcoded
path.
3 years ago
LoipesMas
97da1926ba
Remember position and size on by default
3 years ago
LoipesMas
c77a7a93cc
Add remember_window_position setting
3 years ago
Nguyễn Anh Khoa
f563360735
remove "-complete=expression" with -nargs=0 ( #1097 )
...
fix: Remove `-complete` when using `-nargs=0`
Newer versions of Vim/Neovim throw error when using -complete with
-nargs=0
https://github.com/neoclide/coc.nvim/issues/3414
https://github.com/neoclide/coc.nvim/pull/3210
3 years ago
shaunsingh
7b6a8f31d2
Merge pull request #1088 from pawlowskialex/main
...
Fix Full Disk Access for universal macOS app
3 years ago
Serg Tereshchenko
393d26bebe
chore: Update Cargo.lock after enabling default features
3 years ago
jsosulski
37d39a100e
Enable default features on winit
...
Currently neovide does not compile on Ubuntu (see #1092 ).
If the second solution in #1092 is preferred, i.e. having x11 and wayland as features in neovide, I can also do that.
3 years ago
Keith Simmons
60ec743b7e
tweaks to cli args
3 years ago
Keith Simmons
78bcc7431a
add nosrgb flag
3 years ago
Keith Simmons
6b96f79bb1
move window files into main window directory rather than being window wrapper
3 years ago
Keith Simmons
b78a714be0
attach to console on startup
3 years ago
Keith Simmons
4982c2615e
only set background opacity if window transparency is not 1.0
3 years ago
Keith Simmons
76bddae01a
check loaded window size before running
3 years ago
Keith Simmons
7390e1aae5
swap to org forks of winit and glutin
3 years ago
Alex Pawlowski
f6db4b7ebb
Ad-Hoc codesign the resulting app bundle after lipo
3 years ago
Alex Pawlowski
ed61e45a05
Remove the cached app bundle before bundling
3 years ago
Keith Simmons
5539b035b5
remove verbosity
3 years ago
Keith Simmons
00bed7dabd
add some tests documenting behavior
3 years ago
Serg Tereshchenko
bad4415e48
fix redundant field names
3 years ago
Serg Tereshchenko
2e68a48cb0
refactor: Use neovim_args for passing files to open
3 years ago
Serg Tereshchenko
2014b40195
fix: Add files_to_open, removed in https://github.com/neovide/neovide/pull/1016/
3 years ago
Serg Tereshchenko
6e93bd7552
fix: Add verbosity flag, removed in https://github.com/neovide/neovide/pull/1016 , set default verbosity to "warn".
3 years ago
Keith Simmons
cf8b48f5f5
default to only logging errors
3 years ago
LoipesMas
4131c50cfd
Fix compiler warnings on non-Windows
3 years ago