Can't get metaSendsEscape to work





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I previously used Manjaroi3, when I enabled xrvt*metaSendsEscape: true
it just worked.



I got tired of all the complicated stuff that came with running arch, nothing against arch, I just got sidetracked with problems and workarounds way too much.
So I switched to Ubuntu, I am running version 18.04LTS with i3wm.



When I set up rxvt-unicode, I can't get metaSendsEscape to work inside neovim.



I have tried the following:




  • I have gone into ubuntu, disabled every alt-keyboardshortcut I could find.

  • Downloaded gnome-tweaks and set alt to meta & alt

  • Tried seemingly every combination of Xterm, xterm, URxvt, . * in .Xresources

  • Tried altSendsEscape with every combination I could think of

  • Tried remapping with xmodmaps, my keypress on left alt now gives meta-L

  • Googled for days, now when I search for metaSendsEscape, the whole page is populated with purple links


I think something is stealing the alt/meta when I press it, before it reaches urxvt or nvim. I don't know, i'm desperate.



The goal:




Use alt + h j k l to move between splits.



Use alt + anything to exit insertmode and do that action, not moving between windows.




That's how I had it in Manjaroi3, I want it back. I miss it so.



I'll post all of my config files:




  • .Xresources > https://pastebin.com/yEcWVA15


  • .xintric only contains one line




xrdb ~/.Xresources





  • .Xdefaults only contains 3 lines.



xterm*metaSendsEscape: true



*metaSendsEscape: true



URxvt.metaSendsEscape: true





  • .bashrc > https://pastebin.com/kv4rbXKx


  • init.vim > https://pastebin.com/v9c1qW3v


  • .i3/config > https://pastebin.com/MnwuyiT0


  • .tmux.conf (for good measure. even though the problem persists outside and inside tmux) > https://pastebin.com/MeD8s76x


  • .xmodmap > https://pastebin.com/xHkDSXK4


  • xev output.


  • showkey -s output



xev output:




KeyPress event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27037188, (551,529), root:(3517,576),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



KeyRelease event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27038381, (551,529), root:(3517,576),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False




showkey -s output:




normal keypresses ____________________



0x38



0xb8



0x38 0xb8



0x38



0xb8



0x38



Holding it down ____________________



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38



0x38



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0xb8



Spamming it franticly ____________________



0x38



0xb8



0x38 0xb8 0x38



0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38 0xb8



0x38



0xb8



0x38 0xb8



0x38 0xb8




Any suggestions are accepted with incredible enthusiasm, I will try anything, but I am not going to install manjaro again, as it took too much of my time right now. Down the road, I'll probably go back. But for now, Ubuntu.










share|improve this question

























  • nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

    – Justin M. Keyes
    Feb 7 at 15:13













  • Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

    – Justin M. Keyes
    Feb 7 at 15:17








  • 1





    @JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

    – kjetilcodes
    Feb 7 at 15:46




















0















I previously used Manjaroi3, when I enabled xrvt*metaSendsEscape: true
it just worked.



I got tired of all the complicated stuff that came with running arch, nothing against arch, I just got sidetracked with problems and workarounds way too much.
So I switched to Ubuntu, I am running version 18.04LTS with i3wm.



When I set up rxvt-unicode, I can't get metaSendsEscape to work inside neovim.



I have tried the following:




  • I have gone into ubuntu, disabled every alt-keyboardshortcut I could find.

  • Downloaded gnome-tweaks and set alt to meta & alt

  • Tried seemingly every combination of Xterm, xterm, URxvt, . * in .Xresources

  • Tried altSendsEscape with every combination I could think of

  • Tried remapping with xmodmaps, my keypress on left alt now gives meta-L

  • Googled for days, now when I search for metaSendsEscape, the whole page is populated with purple links


I think something is stealing the alt/meta when I press it, before it reaches urxvt or nvim. I don't know, i'm desperate.



The goal:




Use alt + h j k l to move between splits.



Use alt + anything to exit insertmode and do that action, not moving between windows.




That's how I had it in Manjaroi3, I want it back. I miss it so.



I'll post all of my config files:




  • .Xresources > https://pastebin.com/yEcWVA15


  • .xintric only contains one line




xrdb ~/.Xresources





  • .Xdefaults only contains 3 lines.



xterm*metaSendsEscape: true



*metaSendsEscape: true



URxvt.metaSendsEscape: true





  • .bashrc > https://pastebin.com/kv4rbXKx


  • init.vim > https://pastebin.com/v9c1qW3v


  • .i3/config > https://pastebin.com/MnwuyiT0


  • .tmux.conf (for good measure. even though the problem persists outside and inside tmux) > https://pastebin.com/MeD8s76x


  • .xmodmap > https://pastebin.com/xHkDSXK4


  • xev output.


  • showkey -s output



xev output:




KeyPress event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27037188, (551,529), root:(3517,576),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



KeyRelease event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27038381, (551,529), root:(3517,576),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False




showkey -s output:




normal keypresses ____________________



0x38



0xb8



0x38 0xb8



0x38



0xb8



0x38



Holding it down ____________________



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38



0x38



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0xb8



Spamming it franticly ____________________



0x38



0xb8



0x38 0xb8 0x38



0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38 0xb8



0x38



0xb8



0x38 0xb8



0x38 0xb8




Any suggestions are accepted with incredible enthusiasm, I will try anything, but I am not going to install manjaro again, as it took too much of my time right now. Down the road, I'll probably go back. But for now, Ubuntu.










share|improve this question

























  • nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

    – Justin M. Keyes
    Feb 7 at 15:13













  • Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

    – Justin M. Keyes
    Feb 7 at 15:17








  • 1





    @JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

    – kjetilcodes
    Feb 7 at 15:46
















0












0








0








I previously used Manjaroi3, when I enabled xrvt*metaSendsEscape: true
it just worked.



I got tired of all the complicated stuff that came with running arch, nothing against arch, I just got sidetracked with problems and workarounds way too much.
So I switched to Ubuntu, I am running version 18.04LTS with i3wm.



When I set up rxvt-unicode, I can't get metaSendsEscape to work inside neovim.



I have tried the following:




  • I have gone into ubuntu, disabled every alt-keyboardshortcut I could find.

  • Downloaded gnome-tweaks and set alt to meta & alt

  • Tried seemingly every combination of Xterm, xterm, URxvt, . * in .Xresources

  • Tried altSendsEscape with every combination I could think of

  • Tried remapping with xmodmaps, my keypress on left alt now gives meta-L

  • Googled for days, now when I search for metaSendsEscape, the whole page is populated with purple links


I think something is stealing the alt/meta when I press it, before it reaches urxvt or nvim. I don't know, i'm desperate.



The goal:




Use alt + h j k l to move between splits.



Use alt + anything to exit insertmode and do that action, not moving between windows.




That's how I had it in Manjaroi3, I want it back. I miss it so.



I'll post all of my config files:




  • .Xresources > https://pastebin.com/yEcWVA15


  • .xintric only contains one line




xrdb ~/.Xresources





  • .Xdefaults only contains 3 lines.



xterm*metaSendsEscape: true



*metaSendsEscape: true



URxvt.metaSendsEscape: true





  • .bashrc > https://pastebin.com/kv4rbXKx


  • init.vim > https://pastebin.com/v9c1qW3v


  • .i3/config > https://pastebin.com/MnwuyiT0


  • .tmux.conf (for good measure. even though the problem persists outside and inside tmux) > https://pastebin.com/MeD8s76x


  • .xmodmap > https://pastebin.com/xHkDSXK4


  • xev output.


  • showkey -s output



xev output:




KeyPress event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27037188, (551,529), root:(3517,576),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



KeyRelease event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27038381, (551,529), root:(3517,576),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False




showkey -s output:




normal keypresses ____________________



0x38



0xb8



0x38 0xb8



0x38



0xb8



0x38



Holding it down ____________________



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38



0x38



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0xb8



Spamming it franticly ____________________



0x38



0xb8



0x38 0xb8 0x38



0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38 0xb8



0x38



0xb8



0x38 0xb8



0x38 0xb8




Any suggestions are accepted with incredible enthusiasm, I will try anything, but I am not going to install manjaro again, as it took too much of my time right now. Down the road, I'll probably go back. But for now, Ubuntu.










share|improve this question
















I previously used Manjaroi3, when I enabled xrvt*metaSendsEscape: true
it just worked.



I got tired of all the complicated stuff that came with running arch, nothing against arch, I just got sidetracked with problems and workarounds way too much.
So I switched to Ubuntu, I am running version 18.04LTS with i3wm.



When I set up rxvt-unicode, I can't get metaSendsEscape to work inside neovim.



I have tried the following:




  • I have gone into ubuntu, disabled every alt-keyboardshortcut I could find.

  • Downloaded gnome-tweaks and set alt to meta & alt

  • Tried seemingly every combination of Xterm, xterm, URxvt, . * in .Xresources

  • Tried altSendsEscape with every combination I could think of

  • Tried remapping with xmodmaps, my keypress on left alt now gives meta-L

  • Googled for days, now when I search for metaSendsEscape, the whole page is populated with purple links


I think something is stealing the alt/meta when I press it, before it reaches urxvt or nvim. I don't know, i'm desperate.



The goal:




Use alt + h j k l to move between splits.



Use alt + anything to exit insertmode and do that action, not moving between windows.




That's how I had it in Manjaroi3, I want it back. I miss it so.



I'll post all of my config files:




  • .Xresources > https://pastebin.com/yEcWVA15


  • .xintric only contains one line




xrdb ~/.Xresources





  • .Xdefaults only contains 3 lines.



xterm*metaSendsEscape: true



*metaSendsEscape: true



URxvt.metaSendsEscape: true





  • .bashrc > https://pastebin.com/kv4rbXKx


  • init.vim > https://pastebin.com/v9c1qW3v


  • .i3/config > https://pastebin.com/MnwuyiT0


  • .tmux.conf (for good measure. even though the problem persists outside and inside tmux) > https://pastebin.com/MeD8s76x


  • .xmodmap > https://pastebin.com/xHkDSXK4


  • xev output.


  • showkey -s output



xev output:




KeyPress event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27037188, (551,529), root:(3517,576),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



KeyRelease event, serial 34, synthetic NO, window 0x1800001,
root 0x51f, subw 0x0, time 27038381, (551,529), root:(3517,576),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False




showkey -s output:




normal keypresses ____________________



0x38



0xb8



0x38 0xb8



0x38



0xb8



0x38



Holding it down ____________________



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38 0x38



0x38



0x38 0x38 0x38 0x38 0x38 0x38 0x38 0xb8



Spamming it franticly ____________________



0x38



0xb8



0x38 0xb8 0x38



0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38



0xb8 0x38 0xb8 0x38 0xb8



0x38



0xb8



0x38 0xb8



0x38 0xb8




Any suggestions are accepted with incredible enthusiasm, I will try anything, but I am not going to install manjaro again, as it took too much of my time right now. Down the road, I'll probably go back. But for now, Ubuntu.







ubuntu keyboard vim urxvt alt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 6 at 13:47









slhck

164k47452477




164k47452477










asked Feb 6 at 12:49









kjetilcodeskjetilcodes

1




1













  • nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

    – Justin M. Keyes
    Feb 7 at 15:13













  • Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

    – Justin M. Keyes
    Feb 7 at 15:17








  • 1





    @JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

    – kjetilcodes
    Feb 7 at 15:46





















  • nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

    – Justin M. Keyes
    Feb 7 at 15:13













  • Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

    – Justin M. Keyes
    Feb 7 at 15:17








  • 1





    @JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

    – kjetilcodes
    Feb 7 at 15:46



















nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

– Justin M. Keyes
Feb 7 at 15:13







nmap <silent> <M-k> :wincmd k<CR> looks fine although :nnoremap is best practice. escape-time 0 in your tmux.conf also is fine. Try :checkhealth nvim anyways to verify that no problems are detected. More generally there is way too much going on here, it should not be complicated. Usually it's just "enable meta-as-escape" and you're done. Try a different terminal, such as gnome-terminal. Xdefaults, xmodmap, blah blah blah should not be needed.

– Justin M. Keyes
Feb 7 at 15:13















Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

– Justin M. Keyes
Feb 7 at 15:17







Use alt + anything to exit insertmode and do that action should work by default since ~Nvim 0.3.1 (maybe earlier). Always mention the version you are using ...

– Justin M. Keyes
Feb 7 at 15:17






1




1





@JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

– kjetilcodes
Feb 7 at 15:46







@JustinM.Keyes I reinstalled python3-neovim python-neovim and neovim itself, and i went trough the whole install-process on neovim's github page, and now it works! Thank you for leading me to the right path

– kjetilcodes
Feb 7 at 15:46












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402657%2fcant-get-metasendsescape-to-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402657%2fcant-get-metasendsescape-to-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa