Sync OpenBSD patchset 621:

Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.
This commit is contained in:
Tiago Cunha
2010-01-28 22:45:57 +00:00
parent 0e320881d5
commit 735cfaf09a
4 changed files with 50 additions and 7 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.537 2010-01-28 22:41:45 tcunha Exp $ */
/* $Id: tmux.h,v 1.538 2010-01-28 22:45:57 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -460,6 +460,7 @@ enum mode_key_cmd {
MODEKEYCOPY_MIDDLELINE,
MODEKEYCOPY_NEXTPAGE,
MODEKEYCOPY_NEXTWORD,
MODEKEYCOPY_NEXTWORDEND,
MODEKEYCOPY_PREVIOUSPAGE,
MODEKEYCOPY_PREVIOUSWORD,
MODEKEYCOPY_RIGHT,