mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
updated for version 7.0c03
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
" Vim Keymap file for latin1 accents through dead characters
|
" Vim Keymap file for latin1 accents through dead characters
|
||||||
" Maintainer: Bram Moolenaar
|
" Maintainer: Bram Moolenaar
|
||||||
" Last Change: 2001 Jul 22
|
" Last Change: 2006 Mar 29
|
||||||
|
|
||||||
" All characters are given literally, conversion to another encoding (e.g.,
|
" All characters are given literally, conversion to another encoding (e.g.,
|
||||||
" UTF-8) should work.
|
" UTF-8) should work.
|
||||||
@@ -15,6 +15,7 @@ loadkeymap
|
|||||||
<EFBFBD>A <09>
|
<EFBFBD>A <09>
|
||||||
^A <09>
|
^A <09>
|
||||||
~A <09>
|
~A <09>
|
||||||
|
:A <09>
|
||||||
'C <09>
|
'C <09>
|
||||||
<EFBFBD>C <09>
|
<EFBFBD>C <09>
|
||||||
`E <09>
|
`E <09>
|
||||||
@@ -31,10 +32,12 @@ loadkeymap
|
|||||||
<EFBFBD>O <09>
|
<EFBFBD>O <09>
|
||||||
^O <09>
|
^O <09>
|
||||||
~O <09>
|
~O <09>
|
||||||
|
:O <09>
|
||||||
`U <09>
|
`U <09>
|
||||||
'U <09>
|
'U <09>
|
||||||
<EFBFBD>U <09>
|
<EFBFBD>U <09>
|
||||||
^U <09>
|
^U <09>
|
||||||
|
:U <09>
|
||||||
'Y <09>
|
'Y <09>
|
||||||
<EFBFBD>Y <09>
|
<EFBFBD>Y <09>
|
||||||
`a <09>
|
`a <09>
|
||||||
@@ -42,6 +45,7 @@ loadkeymap
|
|||||||
<EFBFBD>a <09>
|
<EFBFBD>a <09>
|
||||||
^a <09>
|
^a <09>
|
||||||
~a <09>
|
~a <09>
|
||||||
|
:a <09>
|
||||||
'c <09>
|
'c <09>
|
||||||
<EFBFBD>c <09>
|
<EFBFBD>c <09>
|
||||||
`e <09>
|
`e <09>
|
||||||
@@ -58,10 +62,12 @@ loadkeymap
|
|||||||
<EFBFBD>o <09>
|
<EFBFBD>o <09>
|
||||||
^o <09>
|
^o <09>
|
||||||
~o <09>
|
~o <09>
|
||||||
|
:o <09>
|
||||||
`u <09>
|
`u <09>
|
||||||
'u <09>
|
'u <09>
|
||||||
<EFBFBD>u <09>
|
<EFBFBD>u <09>
|
||||||
^u <09>
|
^u <09>
|
||||||
|
:u <09>
|
||||||
'y <09>
|
'y <09>
|
||||||
<EFBFBD>y <09>
|
<EFBFBD>y <09>
|
||||||
'' '
|
'' '
|
||||||
@@ -69,3 +75,4 @@ loadkeymap
|
|||||||
`` `
|
`` `
|
||||||
^^ ^
|
^^ ^
|
||||||
~~ ~
|
~~ ~
|
||||||
|
:: :
|
||||||
|
10
src/normal.c
10
src/normal.c
@@ -8993,7 +8993,17 @@ nv_put(cap)
|
|||||||
/* When all lines were selected and deleted do_put() leaves an empty
|
/* When all lines were selected and deleted do_put() leaves an empty
|
||||||
* line that needs to be deleted now. */
|
* line that needs to be deleted now. */
|
||||||
if (empty && *ml_get(curbuf->b_ml.ml_line_count) == NUL)
|
if (empty && *ml_get(curbuf->b_ml.ml_line_count) == NUL)
|
||||||
|
{
|
||||||
ml_delete(curbuf->b_ml.ml_line_count, TRUE);
|
ml_delete(curbuf->b_ml.ml_line_count, TRUE);
|
||||||
|
|
||||||
|
/* If the cursor was in that line, move it to the end of the last
|
||||||
|
* line. */
|
||||||
|
if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
|
||||||
|
{
|
||||||
|
curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
|
||||||
|
coladvance((colnr_T)MAXCOL);
|
||||||
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
auto_format(FALSE, TRUE);
|
auto_format(FALSE, TRUE);
|
||||||
}
|
}
|
||||||
|
@@ -2039,7 +2039,7 @@ spell_move_to(wp, dir, allwords, curline, attrp)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Start looking for bad word at the start of the line, because we can't
|
* Start looking for bad word at the start of the line, because we can't
|
||||||
* start halfway a word, we don't know where the it starts or ends.
|
* start halfway a word, we don't know where it starts or ends.
|
||||||
*
|
*
|
||||||
* When searching backwards, we continue in the line to find the last
|
* When searching backwards, we continue in the line to find the last
|
||||||
* bad word (in the cursor line: before the cursor).
|
* bad word (in the cursor line: before the cursor).
|
||||||
|
Reference in New Issue
Block a user