From 9ba6e49d36c332eba0bc510c28d540e5c19397d8 Mon Sep 17 00:00:00 2001 From: Qwerty-Space Date: Fri, 21 Feb 2020 23:10:35 +0000 Subject: [PATCH 1/2] Command to convert newlines from Windows to Unix --- vim.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vim.md b/vim.md index 87c13e5f6..feafb6e1f 100644 --- a/vim.md +++ b/vim.md @@ -362,10 +362,11 @@ Do these in visual or normal mode. ### Misc -| Shortcut | Description | -| --- | --- | -| `.` | Repeat last command | -| `]p` | Paste under the current indentation level | +| Shortcut | Description | +| --- | --- | +| `.` | Repeat last command | +| `]p` | Paste under the current indentation level | +| `:ff=unix` | Convert Windows line endings to Unix line endings | {: .-shortcuts} ### Command line From d8b2a29afae7f37c8c045ad739f09a3c52757ac5 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sun, 23 Feb 2020 20:32:37 +1100 Subject: [PATCH 2/2] Update vim.md --- vim.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim.md b/vim.md index feafb6e1f..96d9bb3e6 100644 --- a/vim.md +++ b/vim.md @@ -43,7 +43,7 @@ Getting started #### Words | Shortcut | Description | -| --- | --- | +ff| --- | --- | | `b` _/_ `w` | Previous/next word | | `ge` _/_ `e` | Previous/next end of word | {: .-shortcuts} @@ -366,6 +366,7 @@ Do these in visual or normal mode. | --- | --- | | `.` | Repeat last command | | `]p` | Paste under the current indentation level | +| --- | --- | | `:ff=unix` | Convert Windows line endings to Unix line endings | {: .-shortcuts}