diff options
| -rw-r--r-- | main.c | 6 | ||||
| -rw-r--r-- | man/vis-clipboard.1 | 1 | ||||
| -rw-r--r-- | man/vis-digraph.1 | 2 | ||||
| -rw-r--r-- | man/vis-menu.1 | 1 | ||||
| -rw-r--r-- | man/vis.1 | 4 | ||||
| -rw-r--r-- | sam.c | 2 | ||||
| -rw-r--r-- | vis-text-objects.c | 2 |
7 files changed, 8 insertions, 10 deletions
@@ -539,12 +539,12 @@ static const KeyAction vis_action[] = { }, [VIS_ACTION_CURSOR_SEARCH_WORD_FORWARD] = { "vis-motion-search-word-forward", - VIS_HELP("Move cursor to next occurence of the word under cursor") + VIS_HELP("Move cursor to next occurrence of the word under cursor") movement, { .i = VIS_MOVE_SEARCH_WORD_FORWARD } }, [VIS_ACTION_CURSOR_SEARCH_WORD_BACKWARD] = { "vis-motion-search-word-backward", - VIS_HELP("Move cursor to previous occurence of the word under cursor") + VIS_HELP("Move cursor to previous occurrence of the word under cursor") movement, { .i = VIS_MOVE_SEARCH_WORD_BACKWARD } }, [VIS_ACTION_WINDOW_PAGE_UP] = { @@ -779,7 +779,7 @@ static const KeyAction vis_action[] = { }, [VIS_ACTION_OPERATOR_FILTER_FMT] = { "vis-operator-filter-format", - VIS_HELP("Formating operator, filter range through fmt(1)") + VIS_HELP("Formatting operator, filter range through fmt(1)") operator_filter, { .s = "|fmt" } }, [VIS_ACTION_COUNT] = { diff --git a/man/vis-clipboard.1 b/man/vis-clipboard.1 index 82a14f5..e745588 100644 --- a/man/vis-clipboard.1 +++ b/man/vis-clipboard.1 @@ -97,4 +97,3 @@ vis-clipboard --paste | curl -d - https://www.nsa.gov/ .Xr vis 1 , .Xr xclip 1 , .Xr xsel 1 -. diff --git a/man/vis-digraph.1 b/man/vis-digraph.1 index b55852f..e25f320 100644 --- a/man/vis-digraph.1 +++ b/man/vis-digraph.1 @@ -53,7 +53,7 @@ Digraph not recognised. .It 2 Digraph is the beginning of an existing digraph, but does not correspond to a full digraph. .It 3 -An error occured and digraph could not be read or printed. +An error occurred and digraph could not be read or printed. .El . .Sh SEE ALSO diff --git a/man/vis-menu.1 b/man/vis-menu.1 index c1d2ab8..d0ca653 100644 --- a/man/vis-menu.1 +++ b/man/vis-menu.1 @@ -245,4 +245,3 @@ it was forked to become .Nm vis-menu to be distributed with .Xr vis 1 . -. @@ -223,7 +223,7 @@ It uses what POSIX refers to as .Dq Extended Regular Expressions as described in .Xr regex 7 . -Additonally +Additionally .Li \[rs]n and .Li \[rs]t @@ -1162,7 +1162,7 @@ keys. . In order to facilitate usage of non-latin keyboard layouts, .Nm -allows to map locale specific keys to their latin equivalents by means of the +allows one to map locale specific keys to their latin equivalents by means of the .Pp .D1 Ic :langmap Ar locale-keys Ar latin-keys .Pp @@ -300,7 +300,7 @@ static const OptionDef options[] = { [OPTION_ESCDELAY] = { { "escdelay" }, VIS_OPTION_TYPE_NUMBER, - VIS_HELP("Miliseconds to wait to distinguish <Escape> from terminal escape sequences") + VIS_HELP("Milliseconds to wait to distinguish <Escape> from terminal escape sequences") }, [OPTION_AUTOINDENT] = { { "autoindent", "ai" }, diff --git a/vis-text-objects.c b/vis-text-objects.c index af9aae2..467c101 100644 --- a/vis-text-objects.c +++ b/vis-text-objects.c @@ -61,7 +61,7 @@ static Filerange object_unpaired(Text *txt, size_t pos, char obj) { text_iterator_byte_prev(&rit, NULL); } - /* if there is no previous occurence on the same line, advance starting position */ + /* if there is no previous occurrence on the same line, advance starting position */ if (!before) { while (text_iterator_byte_get(&it, &c) && c != '\n') { if (c == obj) { |
