From f5cfb83475d6f2e7d19b8ebd90c87fe24f6bbea6 Mon Sep 17 00:00:00 2001 From: Aney Date: Sat, 3 Oct 2020 14:28:02 +0100 Subject: [PATCH] Added notes for extra keybinds for vim --- vim.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/vim.md b/vim.md index 7bd586c..5c6f5f5 100644 --- a/vim.md +++ b/vim.md @@ -160,11 +160,19 @@ This is the "change and replace" of vim. It makes use of regex. Vim can open numerous files/buffers at the same time. These can be in tab like buffers, or in a splitscreen view. -:r -:e filename -:bn -:bp -:bd +## Buffers + +`:r` +`:e filenam` +`:bn` +`:bp` +`:bd` +`:ls` - Shows the buffers +`Ctrl+6` - Switches between the buffers +`#Ctrl+6` - Switches to the buffer number + +## Splits + :split :vs