m (Map search to space bar increased moved to Map search key to space bar: The old title is broken, perhaps truncated on import?) |
(Change to TipImported template + severe manual clean) |
||
Line 1: | Line 1: | ||
{{review}} |
{{review}} |
||
+ | {{TipImported |
||
− | {{Tip |
||
|id=979 |
|id=979 |
||
+ | |previous=978 |
||
− | |title=Map search to space bar increased |
||
+ | |next=981 |
||
− | |created=August 27, 2005 |
+ | |created=August 27, 2005 |
|complexity=basic |
|complexity=basic |
||
|author=klausenhausen |
|author=klausenhausen |
||
|version=5.7 |
|version=5.7 |
||
|rating=13/16 |
|rating=13/16 |
||
⚫ | |||
− | |text= |
||
− | My favorite way to move around is to use the pattern search. It is mapped to / by default, but this key is a little difficult to reach with the little finger, i.e. when touch typing. Thus, I mapped the search command to the biggest key on the keyboard: the space bar, because I noticed that I never used its default mapping (move the cursor forward one character). |
+ | My favorite way to move around is to use the pattern search. It is mapped to / by default, but this key is a little difficult to reach with the little finger, i.e. when touch typing. Thus, I mapped the search command to the biggest key on the keyboard: the space bar, because I noticed that I never used its default mapping (move the cursor forward one character). |
<pre> |
<pre> |
||
− | nmap <Space> / |
+ | nmap <Space> / |
− | nmap <C-Space> ? |
+ | nmap <C-Space> ? |
</pre> |
</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | I have space mapped to <C-f>. Another variation on the theme... |
||
⚫ | |||
− | '''Anonymous''' |
||
⚫ | |||
− | , August 27, 2005 20:21 |
||
− | ---- |
||
− | Space or pattern search? |
||
− | |||
− | '''Anonymous''' |
||
− | , August 31, 2005 7:31 |
||
− | ---- |
||
− | Actually, the key I use most in normal mode is ':'. |
||
⚫ | |||
− | mail--AT--mbant.de |
||
− | , September 14, 2005 8:08 |
||
---- |
---- |
||
− | + | [[Category:Searching]] |
Revision as of 10:10, 9 December 2007
Tip 979 Printable Monobook Previous Next
created August 27, 2005 · complexity basic · author klausenhausen · version 5.7
My favorite way to move around is to use the pattern search. It is mapped to / by default, but this key is a little difficult to reach with the little finger, i.e. when touch typing. Thus, I mapped the search command to the biggest key on the keyboard: the space bar, because I noticed that I never used its default mapping (move the cursor forward one character).
nmap <Space> / nmap <C-Space> ?
This sounds like a small change but it astoundingly increases convenience in every day work.
Comments
The key I use most in normal mode is ':'. That's what I've mapped to my space bar.