Giter Site home page Giter Site logo

Comments (7)

Tehnix avatar Tehnix commented on August 11, 2024

That would be awesome!

Do you know if there is anything similar in Spacemacs? We aim to strive to as close of a keybinding match as we can, but if it's not present there, then we just make our own :)

I think it would make sense under SPC s which is currently +specs, but should probably be +search. This does bring up where to move testing though 🤔 (or perhaps combine them with +search/specs)

from spaceneovim-layers.

vviikk avatar vviikk commented on August 11, 2024

Not sure about Spacemacs, but Spacevim has bound 'f f' to find file which I don't agree with as you can't use f to forward-find a character anymore! They have defaulted to use SPC SPC f <character> instead - which brings up easymotion. Also - three keystrokes to invoke easymotion doesn't make it any easier :).

SPC s makes sense - however how about keeping tests in it's own layer but under 'SPC t' and binding easymotion to SPC s? What else do you have in mind for the search layer? I don't believe I have the know how right now to combine layers, but I'll have a look over the next few days. Keep up the good work.

p.s. can't seem to add labels - so you can mark this as discussion when you have time.

from spaceneovim-layers.

Tehnix avatar Tehnix commented on August 11, 2024

Sorry for the slow replies lately!

Hmm, yeah it would probably be best to have it on something that's quickly accessible. SPC t is current inhabited by +toggle.

How about a making it a top-level binding, meaning it activates directly after SPC + whatever key, preferably without moving anything we currently have - something like SPC d, which is neither used in SpaceNeovim or Spacemacs, and is conveniently on the home row?

Just for easy reference in this discussion, these are the current top-level bindings,

screenshot 2017-12-19 12 54 28

and Spacemacs, for inspiration,

screenshot 2017-12-19 12 59 46

from spaceneovim-layers.

Tehnix avatar Tehnix commented on August 11, 2024

I've just pushed 32db36a, which adds vim-easymotion on SPC d, and some other navigation commands under SPC N.

Let me know if there's anything missing, and then we can reopen the issue (or just make PRs to change the behaviour 😃 ).

from spaceneovim-layers.

ytang avatar ytang commented on August 11, 2024

Spacemacs (see doc) uses SPC j j and SPC j J for 1-char and 2-char jumps, respectively. I suggest we use the same, and also map SPC j w to easymotion-overwin-w, SPC j l to easymotion-overwin-line, etc.

from spaceneovim-layers.

Tehnix avatar Tehnix commented on August 11, 2024

@ytang I've made an initial PR at #45, let me know if you have any comments or wishes for more there!

from spaceneovim-layers.

vviikk avatar vviikk commented on August 11, 2024

Thanks a lot! I did not see this notification. Will update my layers.

from spaceneovim-layers.

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.