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