diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
| commit | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch) | |
| tree | d8c1843a95da5ea0bb4acc09f7e37843d9995c86 /runtime/doc/usr_21.txt | |
| parent | 142d9041391780ac15b89886a54015fdc5c73995 (diff) | |
| parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
| download | rneovim-userreg.tar.gz rneovim-userreg.tar.bz2 rneovim-userreg.zip | |
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'runtime/doc/usr_21.txt')
| -rw-r--r-- | runtime/doc/usr_21.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/usr_21.txt b/runtime/doc/usr_21.txt index 191d333f3d..4ae72bbe84 100644 --- a/runtime/doc/usr_21.txt +++ b/runtime/doc/usr_21.txt @@ -82,7 +82,7 @@ After editing for a while you will have text in registers, marks in various files, a command line history filled with carefully crafted commands. When you exit Vim all of this is lost. But you can get it back! -The ShaDa (abbreviation of SHAred DAta) file is designed to store status +The ShaDa (abbreviation of SHAred DAta) file is designed to store status information: Command-line and Search pattern history @@ -218,8 +218,8 @@ Obviously, the "w" stands for "write" and the "r" for "read". The ! character is used by ":wshada" to forcefully overwrite an existing file. When it is omitted, and the file exists, the information is merged into the file. - The ! character used for ":rshada" means that all the information in ShaDa -file has priority over existing information, this may overwrite it. Without + The ! character used for ":rshada" means that all the information in ShaDa +file has priority over existing information, this may overwrite it. Without the ! only information that wasn't set is used. These commands can also be used to store info and use it again later. You could make a directory full of ShaDa files, each containing info for a @@ -277,8 +277,8 @@ example, use: > SESSION HERE, SESSION THERE The obvious way to use sessions is when working on different projects. -Suppose you store your session files in the directory "~/.config/nvim". You -are currently working on the "secret" project and have to switch to the +Suppose you store your session files in the directory "~/.config/nvim". You +are currently working on the "secret" project and have to switch to the "boring" project: > :wall @@ -426,7 +426,7 @@ a line of text that tells Vim the values of options, to be used in this file only. A typical example is a C program where you make indents by a multiple of 4 spaces. This requires setting the 'shiftwidth' option to 4. This modeline -will do that: +will do that: > /* vim:set shiftwidth=4: */ ~ |