Comments (13)
Investigating -- thanks!
from fvim.
@jjohnson338 ^H was translated to backspace -- standard ANSI sequence.
However, just sending over ^H to neovim results in reinterpretation just fine -- same for ^[, ^I, etc -- so I'm removing the translation code.
from fvim.
Thanks for investigating this. Unfortunately, the issue still persists. I've tried both v0.2-50-g6b4c309 and v0.2-51-g98b2006 on Windows 10.
For further context I've four remaps in my vimrc for jumping between windows/visible buffers:
" Control+hjkl moves focus to that window
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
On the current release, only right (<C-l>
) and up (<C-k>
) are working as expected.
If there is anything I can do to aid in the debugging, please let me know.
from fvim.
I've tried the Ctrl+hjkl on my side, <C-h>
doesn't work, <C-j>
and <C-l>
work as expected.
<C-k>
works, with delay -- try <C-k>
followed by other <C->
keys in insert mode and I've got some interesting mojibakes (some unicode glyphs)
Can you confirm this? Also, could you try to map it in insert mode, and see what will happen? I think neovim
simply ignored or misinterpreted these combos.
from fvim.
FYI, <C-I>
<C-J>
<C-M>
are not interpreted correctly if sent directly. Translation to the corresponding ANSI code is still necessary -- and I think it is the same case for <C-h>
, which translates to <Backspace>
from fvim.
Can confirm that <C-k>
then another character will insert unicode glyphs:
<C-k>aa
resulted in the following character: å
<C-l>
(right) and <C-k>
(up) work for me, but <C-h>
and <C-j>
do not. I changed my mappings to insert mode:
inoremap <C-h> <C-w>h
inoremap <C-j> <C-w>j
inoremap <C-k> <C-w>k
inoremap <C-l> <C-w>l
and tested out in a buffer.
<C-h>
just enters an 'h' character
<C-j>
just enters an 'l' character
<C-k>
removes the entire line and then enters an 'k' character (not just backspace, but wipes the line it's entered on if there are preceeding characters, otherwise, will remove the line entirely and append to the previous line
<C-l>
does the same as <C-k>
(wiping the line, then entering the character)
from fvim.
@jjohnson338 FYI:
neovim/neovim#2048
lxqt/qtermwidget#235
from fvim.
nvim-qt
seems to handle this correctly.
from fvim.
Yeah, these keybinds work on nvim-qt
. Was using that as my daily driver before fvim
.
from fvim.
I'm looking at nvim-qt
and hunting for the magic. 0.0
from fvim.
@jjohnson338 well there's no magic -- I was doing it right to remove the translation -- only forgetting that I've got some other special treatments on the modifiers that also needs to be removed!
from fvim.
try 0.2-56 (when it finishes building)
from fvim.
Works great! Thanks so much!
from fvim.
Related Issues (20)
- [ Request ] no title bar option HOT 2
- When opening as default editor, can't use --wsl HOT 1
- support for variable width fonts? HOT 2
- fvim stuck when hit tab auto-completion HOT 2
- win11 with custom titlebar/no titlebar maximize covers taskbar.
- Improve startup speed on macOS HOT 3
- [Linux]'Shift + Tab ' not working
- FVim --setup registers wrong pattern in file association HOT 3
- Scrollbar is broken
- fvim titlebar does not respect windows color scheme HOT 4
- not all char from nerd font loaded correctly HOT 4
- The nerd font arrow does not display correctly HOT 1
- Signcolumn pixels with plugin "gitsigns"
- wrong display of popup for hover window
- cannot drag-n-drop to open file from some software HOT 2
- 启动时出错 windows11无法正常启动
- 0.3.548 release artifact versioning issue
- Blank window on neovim 0.92 HOT 5
- Windows startup time
- Could not CreateWindow(): IWindowingPlatform is not registered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvim.