From cf0f0133dd94266fa58f375a9d8bf0d2fc53a171 Mon Sep 17 00:00:00 2001 From: Osamu Aoki Date: Sun, 3 Mar 2024 14:22:51 +0900 Subject: [PATCH] Ch09: rephrase and reorder Signed-off-by: Osamu Aoki --- rawxml/09_system_tips.rawxml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/rawxml/09_system_tips.rawxml b/rawxml/09_system_tips.rawxml index 574c3e98..21a4cc94 100644 --- a/rawxml/09_system_tips.rawxml +++ b/rawxml/09_system_tips.rawxml @@ -326,6 +326,7 @@ xnoremap * y/\V<C-R>"<CR> xnoremap # y?\V<C-R>"<CR> """ repeat last substitute and *KEEP* flags nnoremap & :&&<CR> + In order for the above keybindings to function properly, the terminal program needs to be configured to generate "ASCII DEL" for Backspace-key and "Escape sequence" for Delete-key. Other miscellaneous configuration can be changed in user's vimrc file. E.g.: packadd! secure-modelines packadd! winmanager @@ -374,8 +383,7 @@ let mapleader = ' ' set pastetoggle=<leader>p " IDE-like UI for files and buffers with <space>w nnoremap <leader>w :WMToggle<CR> - In order for the above keybindings to function properly, the terminal program needs to be configured to generate "ASCII DEL" for Backspace-key and "Escape sequence" for Delete-key. - The new native Vim package system works nicely with "git" and "git submodule". One such example configuration can be found at my git repository: dot-vim. This does essentially: + The new native Vim package system works nicely with "git" and "git submodule". One such example configuration can be found at my git repository: dot-vim. This does essentially: By using "git" and "git submodule", latest external packages, such as "name", are placed into ~/.vim/pack/*/opt/name and similar. By adding :packadd! name line to user's vimrc file, these packages are placed on runtimepath. @@ -383,12 +391,6 @@ nnoremap <leader>w :WMToggle<CR> At the end of its initialization, tags for the installed documents are updated with "helptags ALL". For more, please start vim with "vim --startuptime vimstart.log" to check actual execution sequence and time spent for each step. - Interesting external plugin packages can be found: - - Vim - the ubiquitous text editor -- The official upstream site of Vim and vim scripts - VimAwsome -- The listing of Vim plugins - vim-scripts -- Debian package: a collection of vim scripts - It is quite confusing to see too many ways vim-pathogen was popular. to manage and load these external packages to vim. Checking the original information is the best cure. Information on the initialization of <literal>vim</literal>