Skip to content
Snippets Groups Projects
Commit 86ca6e3b authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.0c03

parent d2cec5b0
No related branches found
No related tags found
No related merge requests found
" Vim Keymap file for latin1 accents through dead characters
" Maintainer: Bram Moolenaar
" Last Change: 2001 Jul 22
" Last Change: 2006 Mar 29
" All characters are given literally, conversion to another encoding (e.g.,
" UTF-8) should work.
......@@ -15,6 +15,7 @@ loadkeymap
A
^A
~A
:A
'C
C
`E
......@@ -31,10 +32,12 @@ loadkeymap
O
^O
~O
:O
`U
'U
U
^U
:U
'Y
Y
`a
......@@ -42,6 +45,7 @@ loadkeymap
a
^a
~a
:a
'c
c
`e
......@@ -58,10 +62,12 @@ loadkeymap
o
^o
~o
:o
`u
'u
u
^u
:u
'y
y
'' '
......@@ -69,3 +75,4 @@ loadkeymap
`` `
^^ ^
~~ ~
:: :
......@@ -8993,7 +8993,17 @@ nv_put(cap)
/* When all lines were selected and deleted do_put() leaves an empty
* line that needs to be deleted now. */
if (empty && *ml_get(curbuf->b_ml.ml_line_count) == NUL)
{
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
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 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
* bad word (in the cursor line: before the cursor).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment