Questions tagged [remap]
257 questions
1
vote
1 answer
VIM: How to map c-] (tags) to do g + lookup tag?
The usual, default mapping for Ctrl-] seems to be "lookup tag under cursor". If I want the list of all possible tag hits, I have to press "g" then ctrl-].
How do I noremap to be g + "lookup tag under cursor"? I expect the results in…

Wes Miller
- 2,191
- 2
- 38
- 64
1
vote
1 answer
Best way to 'remap' a simple binary mask?
I got a very simple binary mask.
1 = Sunday
2 = Saturday
4 = Friday
8 = Thursday
16 = Wednesday
32 = Tuesday
64 = Monday
So if you want a combination of Wednesday, Thursday and Friday you get 16 + 8 + 4 = 28
Now further along my code I only have…

Niels
- 2,496
- 5
- 24
- 38
1
vote
2 answers
Using openCV remap with float*
I'm currently working on a project which involves motion compensation.
At this point I have the input image in cv::Mat input;
cv::resize( input, input_resized, cvSize(64,48), 12, 12, CV_INTER_AREA);
input_resized.convertTo(input_float, CV_32F);…

CRS
- 109
- 4
- 15
1
vote
3 answers
What programmer-specific function can the old Esc do?
I've recently re-remapped my tilde/backtick to Escape (that's how at least I originally learned) and put the tilde/backtick in the left-Windows key (again how I originally learned).
That floating Esc key way up in the NorthWest now, I've thought…

Jé Queue
- 10,359
- 13
- 53
- 61
1
vote
1 answer
Switch tab and backtick keys Ubuntu Linux
In a very unfortunate chain of events involving my laptop and a set of stairs, I lost my tab key. Not just normal lost, where you can buy another key and slap it back on; advanced lost to where the metal frame that holds the plastic spring assembly…

Noah
- 1,608
- 15
- 31
1
vote
2 answers
Map :w to Escape in insert mode and normal mode
In order to save time in Vim, I came up with an idea. To map :w key binding to Esc in both normal mode and insert mode. However it only works in insert mode whereas in normal mode things are getting messy when I open a new file. This is what I added…

vasilakisfil
- 2,279
- 4
- 24
- 31
1
vote
1 answer
scale incoming metric data for representation in cubism
i have a data set being returned as a cubism's metric such that it has values
0 = very bad
1 = okay
2 = bad
i can write a d3.scale such that
var ord = d3.scale.ordinal( [ 0, 1, 2, null ] ).range( [ -2, 2, -1, null ] );
for( var i=0; i<=2; i++ ) {
…

yee379
- 6,498
- 10
- 56
- 101
1
vote
1 answer
Altering row data while using Oracle expdp utility
I'm a developer -not a DBA or DB expert - but as part of my job I should be able to export data to get it imported into another DB. While exporting I need to be able to alter row data that is going into dump files. Is that possible? Let's say I have…

Pokuri
- 3,072
- 8
- 31
- 55
1
vote
3 answers
Vim: Redefining :h and :help to Split Vertically
I would like to redefine the :h and :help commands, so that they split the screen vertically by default. The following solutions are undesirable for two reasons.
cnoremap h vert help
cabbrev h vert help
I only want the substitution to occur for :*…

void-pointer
- 14,247
- 11
- 43
- 61
1
vote
1 answer
Codeigniter 2: misunderstanding with_remap method in controllers
public function _remap($method)
{
if ($method == 'some_method')
{
$this->$method();
}
else
{
$this->default_method();
}
}
This is what i read from official site. As i understand _remap method is getting…

Factory Girl
- 910
- 4
- 18
- 29
1
vote
1 answer
JQGrid columns reorder
I've tried to use remapColumns:
grid.remapColumns(newOrder, false, false);
but got a strange issue - column headers was reordered, but column infos stayed untouched. How can solve that?
EDIT:
Whole mthod
permutateGrid: function (gridID,…

skayred
- 10,603
- 10
- 52
- 94
1
vote
2 answers
Remap ? in NERDTree
Since ? is usually used to search strings upwards I'd love to be able to use this also in NERDTree.
Using ? in NERDTree always brings me to help, but I just want to search upwards and don't want to cycle through the whole tree with / (downwards…

Jakob
- 127
- 7
1
vote
3 answers
vim: how to replace a variable with its value in ~/.vimrc
I would like something similar too this in my .vimrc.
let dir=“/home/user/Downloads/”
set path=$dir
nnoremap gr :grep '\b\b' $dir/*
The code above is wrong of course, but maybe you can understand what I am trying to do. I would like to…

Searene
- 25,920
- 39
- 129
- 186
1
vote
1 answer
MonoDevelop: Edit Key Bindings XML?
I am wondering where to edit the keybindings for MonoDevelop in text/XML format.
I am in a situation where I switch regularly between a Mac and a PC, and the copy/paste function between the two is driving me crazy. I have physically remapped my…

zombience
- 33
- 4
1
vote
2 answers
How do I stop my cursor from moving in vim when executing a :noremap?
I have a number of these in my .vimrc:
:noremap :set hls! :echo "hilight seach (hls) =" &hls
(It's nice to have things like autoindent, line numbering, ignorecase, etc., toggled at the press of a button.)
But there is one strange…

Sniggerfardimungus
- 11,583
- 10
- 52
- 97