Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep last filter / remember list of filters (tmru) #6

Open
blueyed opened this issue Mar 31, 2011 · 1 comment
Open

Keep last filter / remember list of filters (tmru) #6

blueyed opened this issue Mar 31, 2011 · 1 comment

Comments

@blueyed
Copy link
Contributor

blueyed commented Mar 31, 2011

When invoking tmru I would like to either have the last filter set initially (optionally, via some config), or an easy method to get to previously used filters.

This would allow for easily going back to a particular filter state after having selected an item.

@tomtom
Copy link
Owner

tomtom commented Mar 31, 2011

With the head version of tlib_vim @ github you should be able to add these lines to ~/.vim/after/plugin/tmru.vim to get the behaviour you want:

let g:tmru_world.cache_var = 'g:tmru_cache'
let g:tmru_world.restore_from_cache = ['filter']

I'd appreciate if you could test this. I'm not sure it works well with all the other modes/states/ways to enter/exit the list view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants