Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notbaab/BetterFindNext
Sublime plugin for a better find next
https://github.com/notbaab/BetterFindNext
Last synced: 16 days ago
JSON representation
Sublime plugin for a better find next
- Host: GitHub
- URL: https://github.com/notbaab/BetterFindNext
- Owner: notbaab
- Created: 2017-04-25T16:59:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-25T23:08:28.000Z (over 7 years ago)
- Last Synced: 2024-08-01T05:23:49.246Z (3 months ago)
- Language: Python
- Size: 532 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BetterFindNext
A find next plugin that (attempts to) understand code.
![Not found](add_next.gif)
BetterFindNext is aims to be a smarter version of the built in find_next (super+d) command. It achieves this by allowing the user to customize what scope gets ignored.
## Default Key bindings and Behavior
By default, the shortcut maps to `alt+i` and ignores adding strings or comments.
## Ignore Options
The key binding accepts a list of scopes as it's `excluded_scopes` args. For Example, if you want to not include `constant` scope, you would define a mapping like so
```json
[
{"keys": ["ctrl+i"], "command": "better_find_next", "args": {"excluded_scopes": ["constant"]}},
]
```In a very contrived example, this would produce behavior like this.
![Not found](filter_constants.gif)
## TODO
Requests can be submitted in the issues. Current plans are
- Limit find to current function
- Limit find to current indentation
- Allow included_scopes option (inverse of the current implementation)## Install
Search for BetterFindNext on Package Control