Skip to main content

Questions tagged [keyboard-layout]

Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

langmap issue with [ and ]

I am using MacVim 1-727 and I have problems with mapping [ and ] with :help 'langmap'. I have a Swedish keyboard and I set: set langmap=ö[,ä] If, for example, I open help pages and I use <c-ä> ...
Barzi2001's user avatar
  • 808
4 votes
1 answer
312 views

How to completely change the `f` key to a `/` and the `F` key to a `?`

I use neovim latest version 0.10.1, I want to convert the entire function of f button to / button and F button to ?, because I often use / and ? function to search for more than just f and F, I ...
tungsondkh's user avatar
1 vote
0 answers
35 views

How to find the correct "keystring" for an input keystroke in neovim?

I want to map the keystroke Ctrl + § to :Telescope oldfiles in neovim. I naively tried this: vim.keymap.set('n', '<C-§>', ':Telescope oldfiles<CR>', {noremap = true, silent = true }) but ...
glades's user avatar
  • 23
1 vote
1 answer
103 views

Android Vim (DroidVim?) keyboard with swipe functionality

I am wondering what it would take to build an Android keyboard that mimicked Vim, with swipe (swype?) functionality (such as the one Google's Gboard uses to allow users to write on Android). This ...
Joselin Jocklingson's user avatar
0 votes
1 answer
27 views

How to configure repmo such that it works with ]m and pythonsense?

I would like to jump from method to method in Python. With Vim you can use the ]m combination to jump to the next method and the [m to the previous. Since the ] is quite awkward to type on a Belgium ...
Vivian De Smedt's user avatar
2 votes
2 answers
917 views

How to disable hjkl movements?

Before you crucify me please note I have a an Ultimate Hacking Keyboard and I already can move with arrow keys on the home row :) I suppose I don't have to since I have a different layer to activate ...
Rick Penabella's user avatar
1 vote
1 answer
750 views

What is the most convenient window splitting strategy for Vim users when using Terminal Multiplexer and Tiling Window Managers? [closed]

I use Vim/Neovim mostly inside Wezterm, with I3 as my window manager. Also all of them offer tabbed interface. Shortcuts to cycling through the different layers is difficult, even with ergonomic ...
Aviik's user avatar
  • 23
2 votes
1 answer
207 views

Remap square bracket commands to fit a swiss layout keyboard

I'm new to vim and currently trying to understand the different commands. :help index shows me a list of all commands for each mode. Section 2.3 is about "Square bracket commands" like [* ...
Arber's user avatar
  • 123
1 vote
0 answers
182 views

Mapping symbols and special characters to home row in insert mode

Typing symbol is difficult, so I wish to to map those symbol on number keys to home row by a prefix key like ,. It is the idea from workman dead mode keyboard layout, by pressing , and the keyboard ...
Solarisending's user avatar
13 votes
4 answers
5k views

Expectations in how to get faster with Vim/Nvim?

I have been using VIM for around 7 months now for all writing and all coding. Maybe 1-2 hours per day. I can use it and work quite fast with it. Most of the time I know what I am doing. But I still ...
Vinn's user avatar
  • 791
-2 votes
2 answers
408 views

Custom Keybindings [closed]

I need a text editor for universal use and I decided that vim has the such potential. Vim is great software, but I as a new user find it difficult to get into, but I am determined to use it. The only ...
Pragmatic's user avatar
2 votes
1 answer
146 views

How can I inhibit the effect of hitting Ctrl+Menu

I'm referring to holding Ctrl and hitting Menu (which is this key), which happens by mistake sometimes. For me it results in going back to normal mode and moving to the first non-blank character of ...
Enlico's user avatar
  • 2,276
0 votes
1 answer
51 views

Meta-Model: Shrinking In Correct Direction

This questions sounds ridicolous, but is there any (mental?!) aid for my struggle when resizing windows? Since the earliest days of my vi/m usage, I have struggle shrinking windows in the correct ...
Tomes's user avatar
  • 86
3 votes
1 answer
4k views

What keys on my keyboard is <M-n>?

Stupid I know, but I can't find for the life of me what keycombination the <M-n> mapping is. :bn<CR> is mapped to <C-n> wich is ctrl+n :bp<CR> is mapped to <M-n> wich is ...
Lieven Keersmaekers's user avatar
1 vote
1 answer
999 views

Vim change keyboard language.. via shortcut

I want to change keyboard language via vimscript shortcut. So that i ...
john-jones's user avatar
1 vote
1 answer
180 views

How to type ê without pressing <C-k> e>

My keyboard layout is set to international american. And to obtain the character ê just press <sfhit+6> e. However, within the vim I need to press <C-k> e>. Is it possible to map <...
Lucas Martins Soares's user avatar
5 votes
0 answers
92 views

EasyMotion without keyboard layout switches for non english text?

My text often contains two languages: english and russian. The problem appears with EasyMotion plugin. Assume I have such text: Русский текст и еще текст. and want to find те. What I do: Starting ...
Dmitry's user avatar
  • 416
3 votes
1 answer
617 views

Recording and playing macros with langmap activated

Thank you for your interest in this rather specialized question. This is a follow-up to this question : Mapping for expression register with langmap active I’m looking for the best way to associate ...
Lionel Hamayon's user avatar
1 vote
0 answers
31 views

How to do a keyboard mapping for CR and Shift-CR [duplicate]

To do a mapping for return I can do: "When in normal mode, treat an enter like insert+enter :nnoremap <CR> i<CR> However, I would also like to map a shift-enter as: :nnoremap <Shift-...
David542's user avatar
  • 2,485
1 vote
0 answers
149 views

vim shows code point of zero-width non-joiner character

vim (version 8.0) shows <200C> when I insert zero-width non-joiner character via Persian keyboard.
Houman's user avatar
  • 111
1 vote
2 answers
483 views

Can I make left Alt act the same as shift key using key map?

I would like to swap my left shift key with my left alt key, and I would like to know if it’s possible to achieve this with vim key mapping. Maybe not swapping but copy the whole shift key map to ...
Andrew.Wolphoe's user avatar
6 votes
1 answer
2k views

german umlaute mapping

Hi is there a way to map German umlaute like "ö", "ä", "ü" to some keyboard shortcut, i.e. when I press the keyboard shortcut, it inserts the umlaut. I am German and use an English keyboard layout, ...
clog14's user avatar
  • 163
1 vote
1 answer
490 views

is it possible to map numpad differently?

Currently, the numpad does the usual things(input numbers and so on). numlock does nothing. I wonder if you can differentiate numbers/char entered on the numpad from those typed on the main section ...
eyal karni's user avatar
  • 1,226
3 votes
1 answer
131 views

Auto replace special programming characters

Programming in Javascript and similar syntax languages we use a lot of {} and (), more so than [] and the 90. Therefore we end up using SHIFT a lot. Is there a way to make it so that when I type [ ...
user1894919's user avatar
3 votes
1 answer
1k views

Vim and Spanish

Is there a vim adaptation (plugin) for the Spanish keyboard? There is one for the Russian language, for instance. Of course, Russian is much more troublesome, because you have to remap virtually ...
Alexey Orlov's user avatar
2 votes
1 answer
3k views

What does c^n in vim do?

I went to open a browser window today with CTRL+n and I wasn't in the browser I was in vim, when a menu popped up with what looked to be about every word in my entire document. What does CTRL+n do, ...
leeand00's user avatar
  • 3,681
3 votes
1 answer
2k views

NERDTreeMenu Remapping

I'm a Colemak keyboard layout user and I recently started to learn and use Vim. I was able to map the arrow keys in the normal mode by putting custom mappings such as noremap u k in .vimrc (because ...
David's user avatar
  • 143
1 vote
1 answer
104 views

EurKEY input moves characters in INSERT mode

I am using VIM on Ubuntu 18.04 with the EurKEY keyboard layout. I find the layout useful since it allows me to type German letters like "öüä" easily while still using a more or less standard US layout....
Franz's user avatar
  • 11
0 votes
1 answer
881 views

Making Numpad numerical keys work in Vim using Ubuntu 18's terminal

In my current machine, I use Vim 8.1 in a Ubuntu 18's default terminal (Vim is running with TERM=xterm256-color, which is a requirement for me). Everything works perfectly, with the exception of the ...
Jorget Millani's user avatar
2 votes
1 answer
243 views

Numpad characters don't work in keybindings mappings (but work in general)

For my terminal Vim 8.0, I have downloaded this plugin that makes changing font size on the fly easy: https://github.com/drmikehenry/vim-fontsize Following the instructions, here is how I decided to ...
Jorget Millani's user avatar
1 vote
1 answer
258 views

How can I make gvim keyboard language-agnostic in command mode?

Sometimes I'm using GVim not only for coding, but also for typing texts in Russian language. I'm very annoyed that I have to switch my keyboard layout back to English each time when I return to ...
vdudouyt's user avatar
  • 131
3 votes
1 answer
2k views

How to open a vertical split to the main view not just next to the current one in case of horizontal splitted viewport? [duplicate]

I have 2 buffers on eachother covering top and bottom of the screen. I want ot open a third buffer on right split but the problem is is I make a right split it will only split the top right or bottom ...
nikoss's user avatar
  • 379
0 votes
2 answers
275 views

Ctags not working properly on Latin american keyboard

Right now I'm trying to configure ctags in my vim environment but I'm not sure what I'm missing. First, I installed ctags (using yaourt) and the I added this on ~/.ctags. After that, I run ctags -R ....
sant016's user avatar
  • 103
25 votes
5 answers
5k views

How do I keep accidentally creating a no break space before opening curly brace?

From time to time, let's say once a month, when I program, I introduce a No-Break space instead of a regular space, before opening a curly brace. This happens let's say when I'm writing () { This ...
Sarumanatee's user avatar
7 votes
1 answer
548 views

How do you set no timeout for a specific remap?

The question arise from a problem using a huge remapped configuration so bépo layout is virtually the same as the qwerty in normal mode, at least for single key press commands. Selecting text using ...
psychoslave's user avatar
16 votes
2 answers
12k views

Why doesn't my numpad work right in my terminal?

In several terminal programs, such as PuTTY, SecureCRT, iTerm, and Mac OS Terminal, if I have NumLock on and I press the number pad (numpad) keys 0123456789 in insert mode, my vim looks like this: y ...
Jacktose's user avatar
  • 893
3 votes
3 answers
572 views

How do I swap key bindings without breaking plugins?

I'm thinking about exchanging some keys while in non insert-mode so that the bindings that I use most are easier to reach (i.e. on the home row). How can I swap two keys without breaking the ...
Julien__'s user avatar
  • 139
5 votes
2 answers
1k views

How do international users use Ctrl-] efficiently? Remapping?

Ctrl-] is how one is supposed to move around interactively in Vim on "linkable" text, for instance in the help files. On US layouts, this is simply a two finger combo. Unfortunately the "]" character ...
oligofren's user avatar
  • 1,093
72 votes
3 answers
27k views

Why does vim use hjkl for cursor keys?

Why use the keys hjkl on the same line instead of keys in a triangle like wasd for moving on video games? Why not something equivalent with right hand, like ijkl or pl;'?
albttx's user avatar
  • 1,205
0 votes
1 answer
767 views

How to enter and display German Umlauts on a Windows 10 machine with Russian locale?

I want to be able to write German texts using my Vim 7.4 installed on a Windows 10 machine with Russian locale and German keyboard layout. My .vimrc file looks like this: set encoding=utf-8 set ...
Glory to Russia's user avatar
7 votes
3 answers
5k views

Can I write Japanese (SKK) text in Vim?

I need to be break it to you guys, I use emacs. But just for one little thing. Recently I've been working with a good deal of Japanese people (the company is Japanese) and I got some idea of the ...
grochmal's user avatar
  • 1,676
4 votes
1 answer
1k views

Use the same key for `, ~, esc

I am trying to use KBC Poker 3 keyboard which combines `,~ and <Esc> as one key with Vim and wondering if it is possible to use the quick press of the escape key as char '`', and long press of ...
user1135541's user avatar
  • 1,123
1 vote
2 answers
373 views

How to deal with several keyboard layouts when accessing a remote server?

I am using two different keyboard layouts (depending on the computer I use) on the same server (one being AZERTY, the other QWERTY). I would like to have "conditional" mapping options in my .vimrc ...
Feffe's user avatar
  • 1,771
2 votes
1 answer
387 views

Making gVim behave with the English International keyboard layout

I run gVim7.4 on Windows 7 with the English International keyboard layout. The keyboard layout works in a way so that pressing ` + i gives you ì. In Vim insert mode that's the desired behavior. ...
Christian's user avatar
  • 131
15 votes
1 answer
2k views

Can't map German 'umlaut' keys in .vimrc

I'm trying to find a way to map German umlaut keys (Ä,ä,Ö,ö,Ü,ü). A simple shortcut like this won't work: inoremap <c-ö> <Esc> Nothing happens when I hit ctrl+ö. Does anyone know a ...
Rotareti's user avatar
  • 625
10 votes
1 answer
19k views

How to enter tilde (~), back tick (`) and special chars with a non-US keyboard?

I usually use Vim with an Italian keyboard (I'm from Italy), (mainly in an Ubuntu Linux Virtualbox guest from a Windows host). I have problems when I have to enter some frequently used characters (...
Giorgio Robino's user avatar
22 votes
4 answers
6k views

What is the most convenient way to work with different keyboards in vim?

I sometimes need to write Greek words, but when I am using the Greek keyboard, hitting, say, <C-p> will be understood as <C-π> and not as the command I intend. This can be fixed with :map &...
Toothrot's user avatar
  • 3,149
1 vote
0 answers
261 views

Use ISO Level3/5 as modifier in vim keymap?

I've been using the pseudo keymap solution from my previous question to great effect for 6 months now. The short version is that it allows me to keep the computer keyboard map in my usual Programmer's ...
Caleb's user avatar
  • 2,265
6 votes
3 answers
849 views

Gvim <C-]> not working with azerty keyboard

I have a windows 7 machine with an azerty keyboard running gVim 7.4 My problem is that <C-]> simply does nothing: When I'm in an help page I can't follow the tags links. As I have an azerty ...
statox's user avatar
  • 50.5k
1 vote
1 answer
470 views

Special control keys in windows 7 don't work with the 'extended english keyboard (UK)' layout

Using gvim on Microsoft Windows, I find myself unable to use some control keys. For example I cannot navigate the :help topics using Control+]. Likewise, I cannot escape insert mode using Control+[. ...
M'vy's user avatar
  • 113