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

[rfe] documented key for bclose #15

Closed
0x64746b opened this issue Aug 17, 2011 · 2 comments
Closed

[rfe] documented key for bclose #15

0x64746b opened this issue Aug 17, 2011 · 2 comments
Milestone

Comments

@0x64746b
Copy link
Collaborator

Situation

The USAGE file states

[global-maps]
    [...]
x = bclose

[bufferlist-maps]
d = closefocussed

Problem

For me 'd' seems do close the current buffer while 'x' seems to close the selected buffer while in the bufferlist buffer.
I am rather uncertain, though, whether this is really an error in the documentation, since the documented behaviour might be the more desirable one.

Solution

  • Adapt documentation to observed behaviour
  • Adjust behaviour to match documented specification
@pazz
Copy link
Owner

pazz commented Aug 18, 2011

you are right: I changed this some time ago to have alot behave more like pentadactyl instead of sup:
in pd, 'd' closes the buffer. I updated the full config example but forgot to update the usage doc. thanks.
btw: here is how i auto generate a default config. Basically, the defaults are hardcoded into settings.DEFAULTS.

generate_config.py
#!/bin/python
from alot.settings import DEFAULTS
for sec, sets in DEFAULTS.items():
print "\n[%s]" % sec
keys = sets.keys()
keys.sort()
for k in keys:
print "%s = %s" % (k, sets[k])

@pazz pazz closed this as completed Aug 18, 2011
@0x64746b
Copy link
Collaborator Author

I changed this some time ago to have alot behave more like pentadactyl instead of sup

sweet. actually, either one is fine with me, as long as it's consistent.

in pd, 'd' closes the buffer

yeah, I already assumed that's where it came from ;)

thx for the update
dtk

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

2 participants