diff --git a/README.asciidoc b/README.asciidoc index 2c6ebe5f..15a58b5f 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -585,7 +585,7 @@ saved in the command history. Basic Commands ~~~~~~~~~~~~~~ -Some commands take an esclamation mark (`!`), which can be used to force +Some commands take an exclamation mark (`!`), which can be used to force the execution of the command (i.e. to quit a modified buffer, the command `q!` has to be used). diff --git a/doc/autoedit.asciidoc b/doc/autoedit.asciidoc index c6936e20..2b967e97 100644 --- a/doc/autoedit.asciidoc +++ b/doc/autoedit.asciidoc @@ -73,10 +73,10 @@ j # 3. go back to next line and indent it even if it is empty Note that if no previous lines end with a +{+ or +(+, the ++ command will raise an error, and stop the execution. This is what we want: it is similar to -what would happend if we would continue with no selections; the following +what would happen if we would continue with no selections; the following commands would have no effects. -However, the error would end up being catched by the hook execution code, and +However, the error would end up being caught by the hook execution code, and it will write informations about it in the debug buffer, which we do not want, as this is actually expected. In order to prevent that, the exec should be wrapped in a try command. So we would have: diff --git a/doc/coding-style.asciidoc b/doc/coding-style.asciidoc index 36208bce..ad5d1b27 100644 --- a/doc/coding-style.asciidoc +++ b/doc/coding-style.asciidoc @@ -13,7 +13,7 @@ Kakoune is written in C++11, here are the main coding style points: * public interface before private methods/data when defining a class - * use +override+ keyword for overriden virtual methods + * use +override+ keyword for overridden virtual methods * opening brackets on their own lines by default, except when declaring an object where the opening bracket follows the equal sign. @@ -65,7 +65,7 @@ Kakrc coding style as executed by a POSIX shell. Avoid non posix extensions to common tools. - * Avoid too much comlexity/logic in kak scripts. They are not meant + * Avoid too much complexity/logic in kak scripts. They are not meant to implement generic tools, only to transform a general tool output to Kakoune commands. diff --git a/doc/design.asciidoc b/doc/design.asciidoc index e8c536ea..10594522 100644 --- a/doc/design.asciidoc +++ b/doc/design.asciidoc @@ -90,7 +90,7 @@ things easier to understand, bugs easier to fix, and code easier to change. - Either we want a direct result, and we need to be synchronous with the user, so getting a 4x speed up is meaningless, we need to have an - algorithm which appears instantaneous the the user. + algorithm which appears instantaneous the user. - Or we want an asynchronous result, and then the processing is best left to a helper command which can be reused with other Unix tools. diff --git a/doc/manpages/commands.asciidoc b/doc/manpages/commands.asciidoc index d0ab9d4f..c6bb4f55 100644 --- a/doc/manpages/commands.asciidoc +++ b/doc/manpages/commands.asciidoc @@ -8,7 +8,7 @@ commands - a Primitives ---------- -Some commands take an esclamation mark (*!*), which can be used to force +Some commands take an exclamation mark (*!*), which can be used to force the execution of the command (i.e. to quit a modified buffer, the command *q!* has to be used). @@ -166,7 +166,7 @@ commands: *try* catch :: prevent an error in *commands* from aborting the whole commands execution, execute *on_error_commands* instead. If nothing is to be - done on error, the catch part can be ommitted + done on error, the catch part can be omitted *reg* :: set register *name* to *content* @@ -212,7 +212,7 @@ New commands can be defined using the *def* command: positional params and output one completion candidate per line *-allow-override*::: - allow the new command to replace an exisiting one with the same name + allow the new command to replace an existing one with the same name *-hidden*::: do not show the command in command name completions diff --git a/doc/manpages/execeval.asciidoc b/doc/manpages/execeval.asciidoc index c1ff0f90..224fd99b 100644 --- a/doc/manpages/execeval.asciidoc +++ b/doc/manpages/execeval.asciidoc @@ -16,7 +16,7 @@ eval [] ... ---------------------------- *exec* runs keys as if they were pressed, whereas *eval* executes its given -paremeters as if they were entered in the command prompt. By default, their +parameters as if they were entered in the command prompt. By default, their execution happens within the context of the current client, and stops when the last key/command is reached, or an error is raised. diff --git a/doc/manpages/expansions.asciidoc b/doc/manpages/expansions.asciidoc index 1d3f58b7..51c40d92 100644 --- a/doc/manpages/expansions.asciidoc +++ b/doc/manpages/expansions.asciidoc @@ -56,19 +56,19 @@ informations about Kakoune's state: content of the main selection *kak_selections*:: content of the selection separated by colons, colons in the selection - contents are escapted with a backslash + contents are escaped with a backslash *kak_selection_desc*:: range of the main selection, represented as anchor,cursor; anchor and cursor are in this format: line.column *kak_selections_desc*:: - range of the selecations separated by colons + range of the selections separated by colons *kak_bufname*:: name of the current buffer *kak_buffile*:: full path of the file or same as kak_bufname when there’s no associated file *kak_buflist*:: - the current buffer list, each buffer seperated by a colon + the current buffer list, each buffer separated by a colon *kak_timestamp*:: timestamp of the current buffer, the timestamp is an integer value which is incremented each time the buffer is modified @@ -111,4 +111,4 @@ syntax will enable the face facename until another face gets activated, or the end of the string is reached. Literal '{' characters shall be written '\{', and a literal backslash ('\') -that preceeds a '{' character shall be escaped as well ('\\'). +that precedes a '{' character shall be escaped as well ('\\'). diff --git a/doc/manpages/faces.asciidoc b/doc/manpages/faces.asciidoc index 483200bc..2aea6fc7 100644 --- a/doc/manpages/faces.asciidoc +++ b/doc/manpages/faces.asciidoc @@ -44,7 +44,7 @@ fg_color[,bg_color][+attributes] Builtin faces ------------- -The following default faces are used by color schemes to highlight certains +The following default faces are used by color schemes to highlight certain areas of the user interface: *Default*:: diff --git a/doc/manpages/highlighters.asciidoc b/doc/manpages/highlighters.asciidoc index 66f40dff..0f0b829b 100644 --- a/doc/manpages/highlighters.asciidoc +++ b/doc/manpages/highlighters.asciidoc @@ -40,12 +40,12 @@ General highlighters in yellow on red background *dynregex*:: - Similar to regex, but expand (like a command paramater would) the + Similar to regex, but expand (like a command parameter would) the given expression before building a regex from the result *flag_lines* :: add a column in front of text, and display the given flag in it for - everly line contained in the int-list option named + every line contained in the int-list option named *show_matching*:: highlight matching char of the character under the selections cursor diff --git a/doc/manpages/hooks.asciidoc b/doc/manpages/hooks.asciidoc index 80901845..760efb52 100644 --- a/doc/manpages/hooks.asciidoc +++ b/doc/manpages/hooks.asciidoc @@ -8,7 +8,7 @@ hooks - a Description ----------- -Commands can be registred to be executed when certain events arise. To +Commands can be registered to be executed when certain events arise. To register a hook use the following command: ---------------------------------------------------------------------- @@ -71,7 +71,7 @@ Default hooks a window was created, the filtering text is the buffer name *WinClose*:: - a window was detroyed, the filtering text is the buffer name + a window was destroyed, the filtering text is the buffer name *WinDisplay*:: a window was bound a client, the filtering text is the buffer name diff --git a/doc/manpages/options.asciidoc b/doc/manpages/options.asciidoc index 7edd4f8e..75c1e217 100644 --- a/doc/manpages/options.asciidoc +++ b/doc/manpages/options.asciidoc @@ -70,7 +70,7 @@ Builtin options execute search as it is typed *aligntab* 'bool':: - use tabs for alignement command + use tabs for alignment command *autoinfo* 'flags(command|onkey|normal)':: display automatic information box in the enabled contexts diff --git a/doc/manpages/shortcuts.asciidoc b/doc/manpages/shortcuts.asciidoc index bbbab1a9..b2479b27 100644 --- a/doc/manpages/shortcuts.asciidoc +++ b/doc/manpages/shortcuts.asciidoc @@ -88,10 +88,10 @@ is a sequence of non whitespace characters same as [wbe] but select WORD instead of word *f*:: - select to the next occurence of given character + select to the next occurrence of given character *t*:: - select until the next occurence of given character + select until the next occurrence of given character **:: same as [ft] but in the other direction @@ -325,7 +325,7 @@ If a count is given prior to hitting *g*, *g* will jump to the given line open the file whose name is selected *g.*:: - go to last buffer modifiction position + go to last buffer modification position View commands ------------- @@ -566,7 +566,7 @@ Prompt Commands insert then content of the register given by next key **:: - insert next keystroke without interpretting it + insert next keystroke without interpreting it **:: disable auto completion for this prompt