Comments (5)
Также, когда пытаюсь запустить плагин в рантайме командой :EnableXkbSwitch, vim выдает следующую ошибку
E492: Not an editor command: EnableXkbSwitch
Это интересный момент. Вы уверены что плагин действительно установлен? Такая ошибка намекает, что плагин не был загружен на старте, например, скрипт с плагином не находится в $VIMRUNTIME
.
Что говорит
:mess
?
from vim-xkbswitch.
:mess
дает такой ответ:
Messages maintainer: Bram Moolenaar <[email protected]>
from vim-xkbswitch.
Такая ошибка намекает, что плагин не был загружен на старте, например, скрипт с плагином не находится в $VIMRUNTIME.
А как его туда поместить?)
from vim-xkbswitch.
Ок, вам надо убедиться, что плагин установлен. В случае vim
, в директории ~/.vim/plugin
должен находиться файл xkbswitch.vim
.
А как его туда поместить?)
Собственно, установить плагин. Для этого есть много разных способов. Лично я пользуюсь vim-plug
и для установки vim-xkbswitch нужно поместить в .vimrc
строки
call plug#begin()
Plug 'lyokha/vim-xkbswitch'
call plug#end()
Смотрите документацию в https://github.com/junegunn/vim-plug о том как установить сам vim-plug и как устанавливать и обновлять другие плагины.
Или просто скопируйте файл plugin/xkbswitch.vim
из этого репозитория в директорию ~/.vim/plugin
.
from vim-xkbswitch.
Огромное спасибо! Прошу прощения за мой тупняк
from vim-xkbswitch.
Related Issues (20)
- 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
- Does not work with lazy.nvim HOT 8
- Doesn't switch language when exiting Insert mode HOT 1
- How to make it work on wsl? 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 vim-xkbswitch.