Giter VIP home page Giter VIP logo

Comments (7)

hlissner avatar hlissner commented on June 9, 2024 2

Hey there! You're right, this isn't ideal and I've certainly neglected non-QWERTY layouts. I'll look into this (and this-command-keys) this week and see if I can cook something up that's flexible yet backward compatible.

from evil-snipe.

hlissner avatar hlissner commented on June 9, 2024

It's been almost a year. I've looked into this a number of times and couldn't come up with anything clever, so I think I'll go with the simple solution: a evil-snipe-style switch variable that defaults to 'qwerty and accepts 'colemak (or set to nil and left to the user to define their own -- evil-snipe-def is no longer a private macro).

That said, I'd like to include a reasonable default for colemak users, but I'm not familiar with the layout, so I'm hoping you can offer some advice: are t, T, j and J good colemak alternatives, or are they simply your personal preference? Could you also offer alternatives for s and S as well?

from evil-snipe.

wbolster avatar wbolster commented on June 9, 2024

vim layouts on colemak are plenty, my own evil-colemak-basics obviously the best among them 😉.

using evil-snipe-def is the most flexible way i would say. this is what evil-colemak-basics already does:

        (evil-snipe-def 1 inclusive "t" "T")
        (evil-snipe-def 1 exclusive "j" "J")

(https://github.com/wbolster/evil-colemak-basics/blob/master/evil-colemak-basics.el#L111-L114)

no opinion on s and S since i have those disabled (i use avy / evil-easy-motion).

from evil-snipe.

wbolster avatar wbolster commented on June 9, 2024

using evil-snipe-def overwrites the old commands/functions though, perhaps the macro could take an argument so that it can create unique names, but i do not have a strong opinion on that since i only use colemak and never switch between layouts (my brain would melt if i were to try).

from evil-snipe.

joefromct avatar joefromct commented on June 9, 2024

Hi, dvorak user here. I've been getting into evil-snipe more and the ; is tuff to hit for me many times a day.

I'll post back if i come up with something better for myself.

from evil-snipe.

wbolster avatar wbolster commented on June 9, 2024

@joefromct have you tried my evil-snipe-def approach? it works fine actually. see above or consult my dotfiles

from evil-snipe.

joefromct avatar joefromct commented on June 9, 2024

I actually realized i had a different ailment regarding my evil-snipe-needs as i dug into it... i think this does the trick for me but curious if this would be the correct way.. i haven't tinkered with emacs lisp too much.

My root issue was ; isn't dvorak-accessible for forward-key that i believe is hard-coded for the macro generation?

With the above commit and something like this:

(map! :nv "<SPC>"   'evil-snipe-f 
      :nv "S-<SPC>" 'evil-snipe-s)

my sore hands seem to be much happier for the past 1hr...

Also, I now realize that my issue was different than yours? Let me know if that's the case and I'll make myself a new issue, and apologies for hi-jacking the thread.

from evil-snipe.

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.