Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
README.md: replace mpi#for with mpi#get
Browse files Browse the repository at this point in the history
  • Loading branch information
linarcx committed Mar 11, 2020
1 parent 8eacaea commit 3394921
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Just copy `mpi.vim` into your `plugin` directory.

## Why?
- [KISS](https://en.wikipedia.org/wiki/KISS_principle)
- I like [vim-devicons](https://github.com/ryanoasis/vim-devicons). But it cares too much about integrating with other plugins. Its code is huge for such a simple task.(getting file type icons)
- I like [vim-devicons](https://github.com/ryanoasis/vim-devicons). But it cares too much about integrating with other plugins. Its code is huge get such a simple task.(getting file type icons)
- I like to manipulate and discover things and see what's going on under the hood(And i encourage you, too). So, instead of just using a huge plugin, install a minimal alternative and change it according to your needs.

## How use it?
Just call `mpi#for(<name of buffer>)` to get its related icon. For exmaple use this command to see what'll happen:
Just call `mpi#get(<name of buffer>)` to get its related icon. For exmaple use this command to see what'll happen:

`:echo mpi#for(expand('%:t'))`
`:echo mpi#get(expand('%:t'))`

## Customization
You can add [unicode emojies](https://en.wikipedia.org/wiki/Template:Emoji_(Unicode_block)) like this:
Expand Down

0 comments on commit 3394921

Please sign in to comment.