Neomutt: bind <ctrl-o> to sidebar-open not working.

Created on 10 May 2018  路  2Comments  路  Source: neomutt/neomutt

bug reports

  • Expected behavior
    open sidebar mailbox after pressing

  • Actual behavior
    Nothing happen

  • Steps to reproduce
    append

    bind index,pager \Cj sidebar-next
    bind index,pager \Ck sidebar-prev
    bind index,pager \Co sidebar-open
    

    to muttrc.

  • Used program versions

NeoMutt 20180323
Copyright (C) 1996-2016 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Darwin 17.5.0 (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libiconv: 1.11
libidn: 1.34 (compiled with 1.33)
hcache backends: tokyocabinet, lmdb

Compiler:
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Configure options: --prefix=/usr/local/Cellar/neomutt/20180323 --enable-gpgme --gss --lmdb --notmuch --sasl --tokyocabinet --with-ssl=/usr/local/opt/openssl --with-ui=ncurses

Compilation CFLAGS: -g -O2 -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/local/Cellar/neomutt/20180323/include -DNCURSES_WIDECHAR -I/usr/local/opt/openssl/include

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash

Compile options:
  +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens +getaddrinfo
  -gnutls +gpgme +gss +hcache -homespool +idn -locales_hack -lua +meta
  -mixmaster +nls +notmuch +openssl +pgp +sasl +smime +start_color
  +sun_attachment +typeahead
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/Cellar/neomutt/20180323/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/usr/local/Cellar/neomutt/20180323/etc"

To learn more about NeoMutt, visit: https://www.neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
    https://github.com/neomutt/neomutt/issues
or send an email to: <[email protected]>
  • Operating System and its version
macOS High Sierra 10.13.4

After binding keys, in mutt the keybinding is reported as:

<Enter>                                    sidebar-next                                           move the highlight to next mailbox
^K                                         sidebar-prev                                           move the highlight to previous mailbox
^O                                         sidebar-open                                           open highlighted mailbox

sidebar-next is bond to , but works.

Most helpful comment

Hi @d0u9

macOS High Sierra 10.13.4

I think macOS' Terminal uses Ctrl-O for "flow control".
Try running: stty discard undef in the terminal before NeoMutt.

Side note for Linux Users:
Some other terminals need stty flush undef instead.

All 2 comments

Hi @d0u9

macOS High Sierra 10.13.4

I think macOS' Terminal uses Ctrl-O for "flow control".
Try running: stty discard undef in the terminal before NeoMutt.

Side note for Linux Users:
Some other terminals need stty flush undef instead.

@flatcap Works! Thank you sincerely.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tdehaeze picture tdehaeze  路  4Comments

toogley picture toogley  路  4Comments

anarcat picture anarcat  路  5Comments

mvdan picture mvdan  路  3Comments

misaflo picture misaflo  路  3Comments