summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/edit.c b/src/edit.c
index 65038e4372..6c21010156 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1418,7 +1418,7 @@ docomplete:
normalchar:
/*
- * Insert a nomal character.
+ * Insert a normal character.
*/
#ifdef FEAT_AUTOCMD
if (!p_paste)
@@ -7162,7 +7162,7 @@ cursor_up(n, upd_topline)
/*
* Count each sequence of folded lines as one logical line.
*/
- /* go to the the start of the current fold */
+ /* go to the start of the current fold */
(void)hasFolding(lnum, &lnum, NULL);
while (n--)
@@ -7213,7 +7213,7 @@ cursor_down(n, upd_topline)
(void)hasFolding(lnum, NULL, &lnum);
#endif
/* This fails if the cursor is already in the last line or would move
- * beyound the last line and '-' is in 'cpoptions' */
+ * beyond the last line and '-' is in 'cpoptions' */
if (lnum >= curbuf->b_ml.ml_line_count
|| (lnum + n > curbuf->b_ml.ml_line_count
&& vim_strchr(p_cpo, CPO_MINUS) != NULL))
@@ -7715,7 +7715,7 @@ fix_indent()
/*
* return TRUE if 'cinkeys' contains the key "keytyped",
* when == '*': Only if key is preceded with '*' (indent before insert)
- * when == '!': Only if key is prededed with '!' (don't insert)
+ * when == '!': Only if key is preceded with '!' (don't insert)
* when == ' ': Only if key is not preceded with '*'(indent afterwards)
*
* "keytyped" can have a few special values:
@@ -8541,7 +8541,7 @@ ins_start_select(c)
#endif
/*
- * <Insert> key in Insert mode: toggle insert/remplace mode.
+ * <Insert> key in Insert mode: toggle insert/replace mode.
*/
static void
ins_insert(replaceState)