Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Doing an action when pressing a key. These are also called key mappings or mappings. For questions about default key bindings, as well as creating or redefining key bindings.
1
vote
1
answer
85
views
mapping '2' key in Thai resulting in '/'
I copied the code from vim-thai-keys to my .vimrc file and made a few adjustments.
My problem: Typing the '2' key while using the Thai keyboard in Normal mode either sends me to /search mode or moves …
1
vote
mapping '2' key in Thai resulting in '/'
A simple solution is to use the <Leader> key which I have chosen to map to <space>.
map <space> <Leader>
nnoremap <Leader>/ 2
Make sure there are no spaces after the 2.
Another useful mapping for …