Questions tagged [remap]
257 questions
4
votes
1 answer
Longer execution time of OpenCV function cv::remap() when program is put to sleep in between
I am doing some image processing using OpenCV library and I discovered that the time it takes to process an image depends on the amount of time I put my thread to sleep in between image processing. I measured execution time of several parts of my…

Matej Jeglič
- 403
- 3
- 11
4
votes
4 answers
vim key mapping reference
I've just installed the command-t plugin and what to map it to cmd-t instead of leader-t. I'm fairly new to vim and I don't know what the symbols are for the key mappings. Where can I find a reference for the symbols you use when mapping key combos…

opsb
- 29,325
- 19
- 89
- 99
4
votes
1 answer
remapping Interrupt vectors and boot block
I am not able to understand the concept of remapping Interrupt vectors or boot block. What is the use of remapping vector table? How it works with remap and without remap? Any links to good articles on this? I googled for this, but unable to get…

Mahesha Padyana
- 431
- 6
- 22
4
votes
1 answer
Mapping ALT '-' (dash/minus) in VsVim
I've tried looking for a solution to my problem, but I can't seem to find anything that works. I'm using VsVim, the Vim plugin for Visual Studio. In my _vsvimrc, I have the following remaps:
nnoremap
nnoremap
The ALT+= remap…

rockzombie2
- 2,835
- 4
- 16
- 20
4
votes
1 answer
How to remap keyboard key in c++ with LowLevelKeyboardProc?
I need to remap some of keys like Left Alt but i just disable it so code for disable Left Alt look like this:
LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode == HC_ACTION)
{
KBDLLHOOKSTRUCT*…

tonni
- 1,225
- 4
- 19
- 35
4
votes
1 answer
Vim: swapping 2 characters in operation-pending mode
Using an exotic keyboard layout, I have to remap g (among others) which is, on my layout, in the h position on a classic qwerty layout. To do so I decided to swap g with h with the following commands:
noremap g h
noremap h g
This doesn't work. For…

bootleg
- 187
- 7
3
votes
1 answer
Using VIM, how do I remap directional keys from right hand to left hand?
This is the best solution I've seen so far:
" Map Right Directionals to Left Commands
noremap s h
noremap d k
noremap f j
noremap g l
" Map Left Commands to Right Directionals
noremap h s
noremap k d
noremap j f
noremap l g
However, when actually…

Masao Kitamura
- 31
- 4
3
votes
2 answers
Remap Capslock Key in Keymando?
Can you remap the CapsLock key in Keymando?
CapsLock is listed as an available key but when I try a test like:
map "" { alert("CapsLock-j") }
... and hit Reload Config in the Keymando menu, I get an error dialog that says:
Error…

TechZen
- 64,370
- 15
- 118
- 145
3
votes
0 answers
Remapping shortcut buttons on the kinesis freestyle 2
This is a niche problem, but making a reference if it helps anyone!
If you have a keyboard with built in shortcut keys and you want to reprogram them, what do you do? I had a kinesis freestyle 2 keyboard (mac and PC versions) that had two rows of…

Phil Williams
- 31
- 1
3
votes
2 answers
vim: shortcut to resize split windows
When I have split windows in Vim, I can resize the windows using :resize +1/-1. I wanted to add a shortcut for it that worked like split windows in terminator. In terminator, if I have two windows on top of each other, CTRL Shift Up / Down moves the…

Adriano_Pinaffo
- 1,429
- 4
- 23
- 46
3
votes
0 answers
Remap for Neovim on OSX
I'm trying to remap C-any arrow key in Neovim on my Mac to switch windows.
My .config/nvim/init.vim has the following:
" Basic key mappings and controls
" -------------------------------
" Simpler pane moving.
nnoremap
nnoremap…

SJWard
- 3,629
- 5
- 39
- 54
3
votes
1 answer
Python 2.7/OpenCV 3.3: Error in cv2.initUndistortRectifyMap . Not showing undistort rectified images
I want to distort and rectified my stereo images. For which I used Opencv 3.3 in Python 2.7. Code I used is :
import cv2
import numpy as np
cameraMatrixL = np.load('mtx_left.npy')
distCoeffsL = np.load('dist_left.npy')
cameraMatrixR =…

Naseeb Gill
- 661
- 10
- 23
3
votes
1 answer
How to rename multiple table names with REMAP_TABLE
I have a dump file which contains several tables (A, B, C).
How can I rename these tables (A -> x, B -> y, C -> z) during data import?

Meisam
- 435
- 1
- 4
- 12
3
votes
1 answer
Using OpenCV remap function crops image
I am trying to warp an 640x360 image via the OpenCV remap function (in python 2.7). The steps executed are the following
Generate a curve and store its x and y coordinates in two seperate arrays, curve_x and curve_y.I am attaching the generated…

Socrats
- 133
- 2
- 9
3
votes
4 answers
Vim remap in paste mode
Is there a possibility to remap in paste mode.
For example, I remapped jk to in insert mode with inoremap jk , so I can easily exit normal mode. But when I'm in paste mode with :pastetoggle my remapping does not work anymore. I looked for…

Till Friebe
- 1,280
- 15
- 27