Two robust Vim plugins already exist for this purpose:

https://github.com/drmikehenry/vim-fixkey#readme

https://github.com/nacitar/terminalkeys.vim#readme
On Feb 7, 2014 1:49 AM, "Mark Oteiza" <mvote...@udel.edu> wrote:

> Nicholas Marriott <nicholas.marri...@gmail.com> writes:
>
> > Hi
> >
> > Looks nice, can you make a diff with your suggested text against FAQ
> > and adding this file to examples/?
> >
> > Cheers
> >
> > -------- Original message --------
> > From: Mark Oteiza <mvote...@udel.edu>
> > Date: 04/02/2014 06:11 (GMT+00:00)
> > To: tmux-users@lists.sourceforge.net
> > Subject: FAQ: xterm-keys and editors
> >
> > Hi,
> >
> > Recently I tackled the issue of editors and keybindings in tmux. This
> > has been addressed on the mailing list a couple times before [0][1],
> > and
> > has spawned a bunch of SO posts, etc. It would be really nice if
> > solutions were in the FAQ.
> >
> > Most of what I think should be added was already written by Chris
> > Johnsen: on here about emacs [1], and on SO about vim [3].
> >
> > I think I found a simpler (and elispy) alternative solution for emacs
> > based on what I found on the emacs help mailing list [2]. I try to
> > explain all the details for the below snippet in its comments.
> >
> > <snip>
> >
> > [0]
> > http://thread.gmane.org/gmane.comp.terminal-emulators.tmux.user/2197
> > [1]
> > http://thread.gmane.org/gmane.comp.terminal-emulators.tmux.user/4268
> > [2] https://groups.google.com/forum/#!topic/gnu.emacs.help/ZGu2MNkJGrI
> > [3] https://stackoverflow.com/questions/15445481
>
> Here's the patch for the emacs stuff, and another with a
> vim-plugin-ified version of what Johnsen wrote in [3], if you think that
> could be added as well.
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to