Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [input-methods]

Questions about techniques to input text other than what is literally labelled on keycaps on a keyboard

0
votes
1answer
28 views

Ex command to put value of variable into terminal emulator?

Using a terminal emulator (with :term), I would like to insert the value of a variable at the terminal cursor. In a normal text buffer, I could use put =g:my_variable or exec ("normal! i" . g:...
2
votes
1answer
309 views

Control (or respond to) Input Method on Mac OS?

Occasionally, I need to edit text in Chinese, and the input method I use makes it extremely tedious to do so with vim. Each time I want to leave insert mode, I have to <C-]> (to return to normal ...
0
votes
1answer
64 views

How do I “draw” a buffer from scratch in an efficient manner?

I am writing a small plugin to manage my address book (the actual plugin interfaces with the abook program). I use a special buffer (nofile) and I redraw the entire buffer each time something changes....
3
votes
0answers
13 views

greek_polytonic keymap file not working

Is anyone using this keymap file with success? https://github.com/vim-scripts/greek_polytonic.vim I get only Latin output after following the instructions.
4
votes
1answer
174 views

Test `.in` files in Java program

I have a folder with some input files (text files with extention .in). In same folder, I have made a Java program. I want to test the input of all the input files in this Java program. In a GUI, I ...
4
votes
0answers
140 views

readline: inputrc vi keys, ipython and the del key [closed]

I have the following .inputrc: set editing-mode vi set keymap vi-command set show-all-if-ambiguous on set completion-ignore-case on In bash when I type following (in insert mode!) as an example, # ...
1
vote
0answers
149 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 ...
28
votes
5answers
8k views

What is the easiest way to insert Unicode characters into a document?

When writing documents occasionally I want to insert Unicode characters into the text. Sometimes I know the character code and sometimes I look it up on the web. Currently I go to insert mode and ...
31
votes
7answers
6k views

What is the easiest way to insert en dash in Vim?

To insert an en dash, I use ^v u 2014 which is seven keypresses. Is there an easier way? (I was looking at digraphs and didn't find en dash there.)