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

Interpret % as current filepath #25

Open
autokludge opened this issue Nov 17, 2012 · 3 comments
Open

Interpret % as current filepath #25

autokludge opened this issue Nov 17, 2012 · 3 comments

Comments

@autokludge
Copy link

Just wondering if you could implement interpreting % as the path and name of the current views file like vim (eg. /home/foo/bar/projects/baz.ext )?

@misfo
Copy link
Owner

misfo commented Nov 30, 2012

This would be handy. The only problem is that it would make it impossible to use a % literal in command, even in quoted parts of the command (since we're not going to start "parsing" the shell command). So maybe a longer substitution would work better:

rm $st_filename

Maybe a few other variables could be substituted and they could possibly be tab-completed as well. What do you think?

@ArmorDarks
Copy link

thumbs up for that feature

@fabiosantoscode
Copy link

+1 here too. I came from vim to Sublime recently and I'm missing this. It's really practical. I don't mind typing longer things like $filename or $file_dir.

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

4 participants