From 8ba582fa7a0db15a6c7087dd6348d4bc7f743eeb Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 26 Apr 2022 19:09:37 +0200 Subject: [PATCH] add basic vim --- vim/basic_vim.md | 19 +++++++++++++++++++ vim/vim-completion.md | 8 ++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 vim/basic_vim.md diff --git a/vim/basic_vim.md b/vim/basic_vim.md new file mode 100644 index 0000000..a944d6b --- /dev/null +++ b/vim/basic_vim.md @@ -0,0 +1,19 @@ +--- +title: "Basic vim" +tags: [ "Documentation", "vim" ] +--- + +Insert text by pressing `i`. + +Stop inserting text by pressing `Ctrl+[`. + +Exit with `ZZ`. + +Congratulations, you now know `vim`. + +## Extras + +- [Navigation](navigate.md) +- [Completion](vim-completion.md) +- [Search](vim-search.md) +- [Window Splits](vim-windows.md) diff --git a/vim/vim-completion.md b/vim/vim-completion.md index 9c79aea..c43e6ea 100644 --- a/vim/vim-completion.md +++ b/vim/vim-completion.md @@ -3,10 +3,14 @@ title: "vim completion" tags: [ "Documentation", "vim" ] --- -Complete the word: +Complete the word by searching for the *n*ext similar word: > C-n -Complete the full segment: +Complete the word by searching for a *p*revious similar word: + +> C-p + +Complete the full line: > C-x C-l