Eric Smith wrote: > How do I map the escape sequence of gnu screen in a vim > keybinding or function? > > Does not work for me so far.
Depends on what you want to do in Screen. Screen intercepts the key-strokes before passing them along to Vim. If your desired action can be performed by screen on the command-line (such as launching an application in a new screen), the mapping should be pretty straight-forward: nnoremap Q :!screen top<cr><cr> (this launches "top" in a new screen; the second <cr> clears the "press <enter> to continue" message) If, however, you're trying to perform a single screen action that can't be called from the command-line shell, you'd likely have to just use screen's key-mapping functions. If you're trying to do a complex mapping that scripts both Vim and Screen, I'm stumped on that one. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
