Comments (3)
This plugin is not intended to manage layouts in Normal mode in such a sophisticated way. It has such an option for Insert mode only. Basically, you can remap .
in Normal mode using standard Vim's approach.
from vim-xkbswitch.
@lyokha, idea is to remap it only in case layout is non English. In English layout it is good to have .
.
So this feature should depend on xkbswitch.
from vim-xkbswitch.
@petRUShka, making sure that you always have an English layout when getting into Normal mode is one of the purposes of this plugin, so I do not understand exactly the reason of why you want this.
Perhaps, you want
let g:XkbSwitchNLayout = 'us'
let g:XkbSwitchILayout = 'us'
to always enter VIm with us
layout. There is also keymap assistance in Normal mode to support commands like r
and f
. In my .vimrc I have lines
let g:XkbSwitchAssistNKeymap = 1 " for commands r and f
let g:XkbSwitchAssistSKeymap = 1 " for search lines
let g:XkbSwitchDynamicKeymap = 1
let g:XkbSwitchKeymapNames = {'ru' : 'russian-jcukenwin'}
for this.
Anyway, what you want seems to be not feasible to implement, as Vim's maps use symbols rather than keycodes, which means that map .
is always the same for any keyboard layout as far as Russian dot is indistinguishable from English dot (meaning that the dot symbol is the same for both layouts).
from vim-xkbswitch.
Related Issues (20)
- Смена расскладки при r{char} HOT 1
- Не удается заставить работать на ubuntu 18.04 HOT 25
- Cannot switch layout while searching + cannot use shortcuts with modifier keys in insert mode HOT 6
- [question] how to change input method in insert mode? HOT 6
- xkb-switch triggered by neoclide Coc documentation float window HOT 2
- vim-xkbswitch does not remember the layout HOT 1
- Windows 10, gvim/nvim-qt, stopped working - how to debug/diagnose? HOT 3
- Unexpected output to textarea HOT 2
- Появление ошибок во время открытия файла HOT 15
- Switch layout when in normal mode HOT 5
- Sway support HOT 1
- Question. How can I get current layout? HOT 2
- How to use vim-xkbswitch with i3wm? HOT 2
- Bspwm Support HOT 1
- Не находит бинарник xkb-switch HOT 1
- Can't restore Normal mode keyboard layout when leaving search '/' mode HOT 6
- mapping duplicate for script local mapping HOT 10
- Keymap assistance in Normal mode not working HOT 8
- Не удается заставить работать на Ubuntu 22.10 HOT 5
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 vim-xkbswitch.