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

Feature request: adding a search prefix to search particular bundle #155

Open
sine-w opened this issue Feb 25, 2020 · 2 comments
Open

Feature request: adding a search prefix to search particular bundle #155

sine-w opened this issue Feb 25, 2020 · 2 comments
Assignees
Labels

Comments

@sine-w
Copy link

sine-w commented Feb 25, 2020

Hi,
I have read your doc and found that this function is not present, but if it is already here, please delete my issue.

I have created different bundle on different context. e.g. one bundle for typing social science related articles and one related to information technology.

Since they are all completed in microsoft word, and setting context specific bundle doesn't work.

I would like a function that,

typing a prefix into the search field, e.g. -d or -default will only search within the default bundle.
so if I would like to search the social science bundle, I could search with -s explo and it will match something like explore yourself, and not internet explorer from technology bundle.

why this is needed, because similar text are present in different bundles, I always type a search term and matched things from the other bundle.

@lintalist lintalist self-assigned this Feb 25, 2020
@lintalist
Copy link
Owner

I will consider it and think about it.

Current options:

You can load a specific bundle via the Bundle menu. If you do, it will lock the selected bundle so it is always active. You can remove the lock and return to the default behaviour by pressing alt+l which serves as a toggle to lock/unlock. There is a lock/unlock button on the button bar.

If you give your social science papers a filename that end with say -social.doc and your computer related papers with say -cs.doc you could use that as TitleMatch criteria for each bundle. That should work.

You could also use hotkeys to quickly change bundles using the WinMenuSelectItem command.
You could add this to include\myplugins.ahk for example:

#IfWinActive Lintalist ahk_class AutoHotkeyGUI
#1::
WinMenuSelectItem, Lintalist, , 1&, 3& ; the first bundle starts at menu position 3 which you indicate with 3 followed by the ampersand character
Return
#2::
WinMenuSelectItem, Lintalist, , 1&, 4& ; the second bundle is at menu position 4 which you indicate with 4 followed by the ampersand character
Return
#IfWinActive

Now when you press windowskey 1 it will select the first menu from the button, windowskey 2 the second and so on. Use alt+l to toggle the lock state as noted above.

If you add it to include\myplugins.ahk it won't be overwritten when updating Lintalist.

@sine-w
Copy link
Author

sine-w commented Feb 25, 2020

I will consider it and think about it.

Thanks.
Well, my current option is, I add a prefix to the part 2 .
e.g. if it is social science,
I add -ss to part 2,
so that whenver I search with -ssexp
I will only have result from social science.

Why loading the particular bundle is not applicable for me, it is because I have to use more than one bundle at the same time. But lintalist allow either loading all bundle or loading one particular bundle.

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

No branches or pull requests

2 participants