Code Monkey home page Code Monkey logo

Comments (5)

skuroda avatar skuroda commented on July 20, 2024

I do consider this an issue. If the plugin weren't as widely used as it is now, I would have considered removing the default bindings, and letting the user define them. Since that's not possible, I'll take you through a (less than ideal) work around. I'm not really sure why alt+n would trigger it. In the ST console, can you enter sublime.log_input(True) and sublime.log_commans(True). Then press alt+n. What comes up? It's possible there is something odd going on in the background (though I'm not sure what). Assuming it is the default binding causing the issue, can you tell me if you are using ST2 or ST3?

from advancednewfile.

delroh avatar delroh commented on July 20, 2024

I'm using ST2 (2.0.2 build 2221). This is what comes up int the console:

key evt: control+alt+n
command: advanced_new_file

It is odd, since I only pressed alt(right)+n. Then I tried this sequence: alt(left)+n and then alt(right)+n
This is what comes up:

key evt: alt+n
key evt: control+alt+n
command: advanced_new_file

Now, have a look at this. I removed the AdvancedNewFile package and tried the alt(left)+n, alt(right)+n sequence again. This comes up:

key evt: alt+n
key evt: control+alt+n
chr evt: ñ (0xf1)

Why would it capture it as control+alt+n? Well, it seems it is a substitute for right alt key, also called AltGr key. Check: http://en.wikipedia.org/wiki/AltGr_key#Control_.2B_Alt_as_a_substitute

So, that seems to be the issue.

from advancednewfile.

skuroda avatar skuroda commented on July 20, 2024

Interesting, it's obviously a system thing, so I can't solve the root issue. If you choose to rebind to another key, I can tell you how to disable the default setting. I believe package control (assuming you used that to install) will merge these properly, but I can't be sure. Anyways, navigate to Packages/AdvancedNewFile/Default (Windows).sublime-keymap. Delete the entry from there. This should stop it from "falling back" to that. If you don't want to navigate there manually, you can use https://github.com/skuroda/PackageResourceViewer. It will list the packages installed using a quick panel. So you can open the file through there.

from advancednewfile.

delroh avatar delroh commented on July 20, 2024

I'll try it. Thank you!

from advancednewfile.

skuroda avatar skuroda commented on July 20, 2024

Guessing things are working okay. If not, please reopen this issue.

from advancednewfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.