aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: e3eedcfce125fb989522cf93b8b2b1764a412c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# karlmarks

A teaching plugin for Vim. It uses the `signcolumn` to display currently active
`marks`. These are mostly used as jump locations and some are set by Vim
automatically during the edit sessions. Also user defined marks are shown.
These can be set with `m[a-z]`, e.g. `ma` sets mark `a` and this plugin would
display its line and you can jump to that line with ```a``. Captital letters
even allow jumps between files and session persistent marks.

Chances are that you have learned only some of the marks Vim has to offer. This
plugin will remember you to use more and once you have that on disk you can
always deinstall it again.


## Prerequirements

I recommend you use this in your `~/.vim/vimrc`

    set signcolumn=yes

because if you set it to `signcolumn=auto` it will flicker when you change
the window.


## Installation

Download the [zip file](https://git.entwicklerseite.de/vim-recently-used/snapshot/vim-recently-used-master.zip)
and extract it inside `~/.vim/pack/coderonline/start/`.

### Example

    mkdir ~/.vim/pack/coderonline/start/
    cd    ~/.vim/pack/coderonline/start/
    # download plugin in that directory:
    curl -o vim-recently-used.zip  https://git.entwicklerseite.de/vim-recently-used/snapshot/vim-recently-used-master.zip
    # unzip the zip file    
    unzip vim-recently-used.zip
    # remove zip file (not needed any more)
    rm vim-recently-used.zip


## Deinstallation

Remove the folder `~/.vim/pack/coderonline/start/vim-karlmarks` (if you named
it as suggested in the Installation section)

### Exmaple
    rm -irv ~/.vim/pack/coderonline/start/vim-karlmarks

..