break!: mappings overhaul#65
Conversation
|
I'm aware default mappings can be overwritten but I'm not 100% sure about these...
The <leader> mapping is very personal and many times may be set to <space> (very common in file names) or other common keystrokes. I think we should avoid it. Also, I think we should try to maintain some logic between the insert and normal mappings. |
|
Thanks for chiming in :)
Yeah, agree that one needs to go for something better. Any ideas?
Agreed, as mentioned in my OP. Not sure whether to just leave it to
Isn't there a consistent logic apart from these two problematic mappings across normal and insert mode? Would you say more changes than apart from your two mentioned mappings are required? |
2e31c47 to
f8e91ab
Compare
|
I've now changed E: the alternative always of course is to stay more in line with #62 I don't care so much, I just would like to make the best default experience for the largest user base possible. 😅 Thoughts? |
|
Generally LGTM, but remember to change all the mappings in the docs :) |
ed55f50 to
8848169
Compare
|
Good catch, thanks :) |
|
First time looking at this. Sorry if it’s been addressed but you asked for feedback… Why no <A-a> for ‘add’ instead of <A-c> for ‘create’? My mind would go to ‘adding’ a file/folder rather than ‘creating’ it |
|
|
as per I don't mind one way or another. |
7602b16 to
87181e1
Compare
skip-checks: true
|
I'll try and leave this up for a couple of days (latest up until Monday); I hope this is generally is a change users would like. Ideally, let's try and await more feedback. |
Why not |
Following the reddit discussion, I've deeply reconsidered mappings once more.
I really like the suggestion from @David-Kunz to map going upwards to
h(with-alias) and move quite some it ouf of the way of mapping to muchCTRL-KEYto leave space for users.Please note this is only a first crack at a over haul.
I'm CCing all people of the previous PR in hopes to get feedback :) sorry for the noise.
Logic:
<C-KEY>mappings as possible for the user-fromnvim-tree,~as home, "" being close to~`I guess some of the single character bindings can be controversial, but my initial feeling is in 99% of usages users won't need them in insert-mode. I'd very much welcome feedback.
@jamestrew
@ikerurda
@AckslD
@adgai19
@Jidbo
@nawordar
@zeina99
@jacksonludwig
@weseven
@diskriminantti
As a reference dired mappings though it seems super involved to enable virtually any file system operation at the cost of ease for the 95% of things.