Re: Use both mcedit and vim as mc editors from keyboard shortcuts
Nikolay Shaplov via mc <[email protected]> Sat, 03 Jun 2023 20:16:23 +0300
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Organization | Postgres Professional |
| Message-ID | <3333843.C9D0OR3iGl@thinkpad-pgpro> |
В письме от суббота, 3 июня 2023 г. 12:30:03 MSK пользователь Yury V. Zaytsev написал: > >> and bind the EditForceInternal to the desired shortcut. > > > > 1. can you please point me how to do this (or what to read to learn how to > > do that)? > > man mc "Redefine hotkey bindings" In /etc/mc/mc.keymap, in [panel] section I've commented out #EditNew = f14 and added to the [filemanager] section EditForceInternal = f14 But this did not changed existing behaviour. I still get vim with new empty file when I press Shift+F4. I also tried other key combinations with same result. What I am doing wrong, and how to troubleshoot it? P.S. I am using mc 4.8.26 from Debian Stable. -- Nikolay Shaplov aka Nataraj Fuzzing Engineer at Postgres Professional Matrix IM: @dhyan:nataraj.su -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE+sk3ebqQKlezKOi8PMbfuIHAGpgFAmR7dWcACgkQPMbfuIHA GphlrAf/epux3fU2v242wH/C5VnQ6h5jxZ4a7NTpIChRBgAvbIJHZsBFxVBceClh Hdkkl744Ag+nl/VemvJ0yLcbmlX9ifIbZfWbwh35ey7tdFp8UzMMktBuoCgMREaU FnV32j+yq14fpO+fAc43r+A7GJExk/r4dG9hROYrjx/hFwhDPHG3zcemYMbLe9bx +NMdM47NSxRykCne4DFdsk1cPSWo8Mgiya9ZUosfM9OjTLHKD1kYiQp8xCmc5LTb DVZei/IxYDs8AY5iObelgawGUeDBoyW9ElhYHuO1mWQjHflrpNvrCBQcufozKuH1 OtEbVVat80SN9Nrs4KcqZH8DgmxJ4g== =71JR -----END PGP SIGNATURE-----