diff options
author | xaizek <xaizek@posteo.net> | 2024-05-04 11:47:00 +0300 |
---|---|---|
committer | xaizek <xaizek@posteo.net> | 2024-05-04 11:47:00 +0300 |
commit | a8a0ffb1b0f5b10b64918853e16198fda703adff (patch) | |
tree | 4898db38b149760b17afcbeb5d0ada031a516b02 | |
parent | 4c79f0f6b55fd231f096a5c7d3b5a3f972454e61 (diff) | |
parent | 42c19e3482df35561a6cc7fe87fbdb51b7a6dc2e (diff) |
Merge branch 'docs-fixes'
Fix error and typos in documentation.
Patch by qadzek.
Make update-compile-info script report revision.
Fix bad formatting in vifm-app.txt
-rw-r--r-- | data/man/vifm.1 | 8 | ||||
-rw-r--r-- | data/vim/doc/app/vifm-app.txt | 14 | ||||
-rwxr-xr-x | src/update-compile-info | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/data/man/vifm.1 b/data/man/vifm.1 index 33d1f5e5f..46f32dbcc 100644 --- a/data/man/vifm.1 +++ b/data/man/vifm.1 @@ -816,7 +816,7 @@ yank count files starting from current cursor position downward. Or you can use count with motions passed to y, d or D. .TP .BI d[count]j -delete (count + 1) files starting from current cursor position upward. +delete (count + 1) files starting from current cursor position downward. .\" --------------------------------------------------------------------------- .SH Registers .\" --------------------------------------------------------------------------- @@ -3510,7 +3510,7 @@ The command macros may be used in user commands. .TP .BI %a User arguments. When user arguments contain macros, they are expanded before -preforming substitution of %a. +performing substitution of %a. .TP .BI "%c %""c" The current file under the cursor. @@ -3997,7 +3997,7 @@ character extension unless it's "d" letter. And associates `sxiv` picture viewer only for JPEG-files that contain single digit in their name. -If you need to include literal comma, which is normally separates multiple +If you need to include literal comma, which normally separates multiple globs, double it. .\" --------------------------------------------------------------------------- .SH :set options @@ -5357,7 +5357,7 @@ which will be expanded (prepend $ with a slash to prevent expansion). Environment variables are expanded when the option is set. On *nix, if element ends with "%u", the mark is replaced with real user ID and -permissions are set so that only that only owner is able to use it. +permissions are set so that only that owner is able to use it. .br .B Note that even this setup is not completely secure when combined with "%r/" and it's diff --git a/data/vim/doc/app/vifm-app.txt b/data/vim/doc/app/vifm-app.txt index d299eb145..58162ea6a 100644 --- a/data/vim/doc/app/vifm-app.txt +++ b/data/vim/doc/app/vifm-app.txt @@ -723,7 +723,7 @@ downward. Or you can use count with motions passed to y, d or D. d[count]j delete (count + 1) files starting from current cursor position -upward. +downward. Registers~ *vifm-registers* @@ -1847,7 +1847,7 @@ The builtin commands are: *vifm-:find* *vifm-:fin* :[range]fin[d] pattern - display results of find command in the menu. Searche among selected + display results of find command in the menu. Searches among selected files if any and no range given. Macros are accepted. By default the command relies on the external "find" utility, which can be customized by altering value of the |vifm-'findprg'| option. See @@ -2904,7 +2904,7 @@ Command macros~ The command macros may be used in user commands. *vifm-%a* %a user arguments. When user arguments contain macros, they are - expanded before preforming substitution of %a. + expanded before performing substitution of %a. *vifm-%c* %c %"c the current file under the cursor. *vifm-%C* @@ -3304,8 +3304,8 @@ character extension unless it's "d" letter. And > associates `sxiv` picture viewer only for JPEG-files that contain single digit in their name. -If you need to include literal comma, which is normally separates multiple -globs, double it. +If you need to include literal comma, which normally separates multiple globs, +double it. -------------------------------------------------------------------------------- *vifm-set-options* @@ -4428,7 +4428,7 @@ Example of highlighting tab number: > highlight User8 ctermbg=blue ctermfg=none " use optional group predicated on current-tab flag set tabprefix=[%7*%[%8*%C%]%N%*: - +< *vifm-'tabscope'* tabscope type: enumeration @@ -4488,7 +4488,7 @@ which will be expanded (prepend $ with a slash to prevent expansion). Environment variables are expanded when the option is set. On *nix, if element ends with "%u", the mark is replaced with real user ID and -permissions are set so that only that only owner is able to use it. +permissions are set so that only that owner is able to use it. Note that even this setup is not completely secure when combined with "%r/" and it's overall safer to keep files in home directory, but that implies cost of copying files between partitions. diff --git a/src/update-compile-info b/src/update-compile-info index f81c566c8..c97fd57ba 100755 --- a/src/update-compile-info +++ b/src/update-compile-info @@ -23,6 +23,6 @@ fi new="const char GIT_INFO[] = \"$info\";" if [ "$old" != "$new" -o ! -f compile_info.c ]; then - echo "Updating build revision" + echo "Updating build revision to be '$info'" echo "$new" > compile_info.c fi |