From e3b1eb62ccda453ee728965605d19e85c62741ea Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sat, 16 Feb 2019 20:00:38 +0000 Subject: tools vim added vimdiff --- tools/index.html | 10 ++++++---- tools/vim.html | 19 +++++++++++++++++-- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/tools/index.html b/tools/index.html index e2eef45..816e651 100644 --- a/tools/index.html +++ b/tools/index.html @@ -27,10 +27,12 @@
  • Gpg diff --git a/tools/vim.html b/tools/vim.html index b3354d8..441fc50 100644 --- a/tools/vim.html +++ b/tools/vim.html @@ -44,7 +44,7 @@

    Default vimrc skeleton is configured to use wombat2mod, which is installed by adduser skeleton.

    -

    3. Split and Tab

    +

    3. Split and Tab

    Horizontal split;

    @@ -179,12 +179,27 @@
                 comma (,), press esc to confirm.
             
     
    -        

    6. Spell check

    +

    6. Spellcheck

    Press z= over the bad written word and select desired one.

    7. Plugins

    +

    8. Vimdiff

    + +

    If two files are open in split type :diffthis in both windows to get vimdiff of the files. To close type :diffoff.

    + +
    +
    do
    +
    Get changes from other window into the current window.
    +
    dp
    +
    Put the changes from current window into the other window.
    +
    ]c +
    Jump to the next change.
    +
    [c - Jump to the previous change. +
    Ctrl W + Ctrl W - Switch to the other split window. +
    + Systools Index

    This is part of the Hive System Documentation. Copyright (C) 2019 -- cgit 1.4.1-2-gfad0