Questions tagged [mappings]
55 questions
                    
                    9
                    
            votes
                
                1 answer
            
        VIM: mapping for visual line mode
I have this mappings for indenting several lines by pressing TAB in visual mode:
vnoremap  >gv
vnoremap  
        
            
            
                
                    
    
    
        
    
    
                
            
        
       
        Anton
        
- 2,217
 - 3
 - 21
 - 34
 
                    8
                    
            votes
                
                1 answer
            
        How to remap  (control) modifier key in vim? 
        I avoid the "control" key, AKA  in vim parlance, on my laptop; I hate where Apple put it. I would really like to remap all of the vim commands using control to instead use "command", but this does not seem possible on a Mac, despite what I have… 
        
        David Rivers
        
- 2,896
 - 1
 - 31
 - 39
 
                    5
                    
            votes
                
                2 answers
            
        Hibernate: how to map java object on two columns automatically?
Imagine I have one common functionality: series and number (string and integer) of some document. My object (insurance policy) contains information about series and number of different documents, so I would like to group this series and number into…
        
        bitec
        
- 606
 - 1
 - 11
 - 23
 
                    5
                    
            votes
                
                1 answer
            
        obtain grails url mappings from memory
hi i want to obtain the grails url mappings from memory and change them dynamically.
My doubt is where to get the url mappings from memory programatically ? is it available in the grailsapplication?
        
        mahati
        
- 209
 - 5
 - 10
 
                    3
                    
            votes
                
                2 answers
            
        railo application.cfc this.mappings not working
i am using the latest version of railo, and am trying to get the per-application mappings to work.  this is what i am doing:
    
    
        
            
            
                
                    
    
    
        
    
    
                
            
        
       
        jzimmerman2011
        
- 1,806
 - 2
 - 24
 - 37
 
                    3
                    
            votes
                
                1 answer
            
        Multi-valued mappings in Solidity
I need to be able to have several possible values under the same key in a mapping. Today, Solidity's mappings are mono-valued: writing a value overwrite the previous one (which is still in the blockchain, but not retrievable by a contract). I wrote…
        
        bortzmeyer
        
- 34,164
 - 12
 - 67
 - 91
 
                    3
                    
            votes
                
                0 answers
            
        Many to many mapping attribute value type should not be persistent entity
I am using hibernate with annotations and I have made two entities, one name User and other is Chatroom. I want to define bidirectional many to many mapping. But in one entity its not allowing me to apply many to many annotation and gives error…
        
        xxdecent
        
- 47
 - 7
 
                    3
                    
            votes
                
                2 answers
            
        Is there a need to use very-short field names in ElasticSearch documents
My co-worker have suggested to use very short names for fields in elastic.
Currently I have mapping like:
"keyword": {
  type: { type: "string" },
  phrase: { type: "string" },
  count: { type: "integer" }
}
but he says it will take to many place,…
        
        Vitaliy Yanchuk
        
- 1,463
 - 1
 - 11
 - 22
 
                    2
                    
            votes
                
                2 answers
            
        Mappings sections of the aws Cloudformation template and Serverless.yml
I have a little doubt about "Mappings section" of the aws cloudformation syntax:
Example:
...
Mappings:
  accounts:
    56565d644801:true
    986958470041:true
    090960219037:true
    05166767667:false
functions:
  MyFunction:
    handler:…
        
        José Enrique Hernández
        
- 943
 - 1
 - 8
 - 17
 
                    2
                    
            votes
                
                1 answer
            
        Dealing with mappings in Alloy
I am trying to generate in Alloy two sets of classes, for instance, classes before a refactoring application and classes after a refactoring application. Suppose in the first set we have the following classes:
a -> br -> cr
           class1
       …
        
        Tarciana
        
- 113
 - 10
 
                    2
                    
            votes
                
                0 answers
            
        Using Powershell how to Revert-to-Parent in handler mappings for an application in IIS
I want to modify the IIS Web application Handler mappings to Revert to Parent.
I did this manually like below.
Open IIS , Site/Web application, Clicked Handler Mappings, in Actions Clicked "Revert to Parent".
I want to automate this using…
        
        Kavya Shetty
        
- 185
 - 2
 - 14
 
                    2
                    
            votes
                
                4 answers
            
        TypeScript typing files are not being created/copied
When I run tsc from the command line my .js, .map, and .d.ts files are created:
C:\Users\{user}\Documents\My Projects\BEPS\angular2-soap>tsc -version
Version 1.8.10
...but when I invoke the following Gulp function everything works except that the…
        
        Neoheurist
        
- 3,183
 - 6
 - 37
 - 55
 
                    2
                    
            votes
                
                1 answer
            
        Hibernate Bi- Directional many to many mapping advice!
i woundered if anyone might be able to help me out.  I am trying to work out what to google for (or any other ideas!!) basically i have a bidirectional many to many mapping between a user entity and a club entity (via a join table called userClubs)…
        
        Rob
        
- 703
 - 1
 - 7
 - 18
 
                    1
                    
            vote
                
                0 answers
            
        Rails already initialized constant HELP_MAPPINGS
I am working through the Ruby on Rails Tutorial Sample app and I don't understand how I can fix the warning and the multiple tests that get run every time but don't do anything. 
Screenshot of multiple tests running with the warning. 
I am unsure if…
        
        Matt Lanzi
        
- 31
 - 1
 - 5
 
                    1
                    
            vote
                
                3 answers
            
        Coldfusion this.mappings does not work in a cfc -> function
How do I get the mappings I have defined in application.cfc to work in other functions in other cfcs? 
i.e. this.mappings["plugins"] works just fine on any page but if I try to instantiate a cfc containing a function that calls…
        
        Sean Kimball
        
- 4,506
 - 9
 - 42
 - 73