|
|
| Line 4: |
Line 4: |
| |
|previous=875 |
|
|previous=875 |
| |
|next=878 |
|
|next=878 |
| − |
|created=February 15, 2005 |
+ |
|created=2005 |
| |
|complexity=basic |
|
|complexity=basic |
| |
|author=Dane Summers |
|
|author=Dane Summers |
| Line 24: |
Line 24: |
| |
{{Todo}} |
|
{{Todo}} |
| |
Fix above: |
|
Fix above: |
| − |
#The <tt>(</tt> and <tt>)</tt> move by a ''sentence'', not a paragraph. |
+ |
#The <code>(</code> and <code>)</code> move by a ''sentence'', not a paragraph. |
| − |
#Tip should use <tt>vip</tt> to select a paragraph. |
+ |
#Tip should use <code>vip</code> to select a paragraph. |
| |
#Fix the key used for the mapping. |
|
#Fix the key used for the mapping. |
| |
|
|
|
| |
==Comments== |
|
==Comments== |
| − |
You can select a paragraph by typing <tt>vip</tt> or <tt>vap</tt> |
+ |
You can select a paragraph by typing <code>vip</code> or <code>vap</code> |
| |
|
|
|
| |
See {{help|v_ip}} (vip = visual inner paragraph). |
|
See {{help|v_ip}} (vip = visual inner paragraph). |
| |
|
|
|
| − |
In general, use <tt>:help v_<whatever></tt> for help on ''<whatever>'' in visual mode. |
+ |
In general, use <code>:help v_<whatever></code> for help on ''<whatever>'' in visual mode. |
| |
|
|
|
| − |
Or <tt>:help c_<whatever></tt> for the command line, or <tt>:help i_<whatever></tt> for insert mode. |
+ |
Or <code>:help c_<whatever></code> for the command line, or <code>:help i_<whatever></code> for insert mode. |
| |
|
|
|
| |
---- |
|
---- |
Latest revision as of 05:53, July 13, 2012
Here are two mappings that help copy SQL queries from gvim to other applications running under Windows.
"Select all of current paragraph.
:map <C-S-v> (V)
"Copy all of current paragraph to clipboard.
:map <C-S-v> (V)*y''
TO DO
Fix above:
- The
( and ) move by a sentence, not a paragraph.
- Tip should use
vip to select a paragraph.
- Fix the key used for the mapping.
You can select a paragraph by typing vip or vap
See :help v_ip (vip = visual inner paragraph).
In general, use :help v_<whatever> for help on <whatever> in visual mode.
Or :help c_<whatever> for the command line, or :help i_<whatever> for insert mode.