An open API service indexing awesome lists of open source software.

https://github.com/lambdalisue/vim-mr

🎩 Small plugin to track MRU/MRW
https://github.com/lambdalisue/vim-mr

Last synced: 8 months ago
JSON representation

🎩 Small plugin to track MRU/MRW

Awesome Lists containing this project

README

          

# 🎩 vim-mr

_vim-mr_ (mr) is a plugin to asynchronously record MRU (Most Recently Used files), MRW (Most Recently Written files), MRR (Most Recent git Repositories), or MRD (Most Recent Directories).

### Function

Use `mr#mru#list()`, `mr#mrw#list()`, `mr#mrr#list()`, or `mr#mrd#list()` to list MRU/MRW/MRR/MRD like:

```
:echo mr#mru#list()
:echo mr#mrw#list()
:echo mr#mrr#list()
:echo mr#mrd#list()
```

If you want to delete a filename from each list:

```
:call mr#mru#delete("foo.txt")
:call mr#mrw#delete("foo.txt")
:call mr#mrr#delete("foo.txt")
:call mr#mrd#delete("foo.txt")
```

### Special thanks

The original idea of MRW comes from https://github.com/rbtnn/vim-mrw.