Hi, I’m just trying to create a very basic plugin that executes on a keypress and requires the current selected filename and line number, I checked the API and saw that I can get this from sublime.View, but I can’t figure out how to access this class from a keypress (note - I have very little experience with Python, but am otherwise an experienced programmer).
Basically I created a python file, imported sublime_plugin and sublime and created a class which matched the command executed on a keypress. Now how do I access sublime.View ?
Thanks