2016-05-22 10:22:39 -04:00
|
|
|
/* basic.h -- basic commands for cursor movement in active window */
|
2013-05-18 20:13:48 -04:00
|
|
|
#ifndef _BASIC_H_
|
2021-08-12 23:06:58 -04:00
|
|
|
#define _BASIC_H_
|
2013-05-18 20:13:48 -04:00
|
|
|
|
2021-08-12 23:06:58 -04:00
|
|
|
#include "names.h" /* BINDABLE() */
|
2016-05-22 10:22:39 -04:00
|
|
|
|
2021-08-09 00:06:07 -04:00
|
|
|
/* $overlap is the size of the line overlap when kbd calls page forw/back
|
|
|
|
if 0, page will move by 2/3 of the window size (1/3 page overlap)
|
|
|
|
default to 0
|
|
|
|
*/
|
|
|
|
extern int overlap ; /* $overlap: line overlap in forw/back page */
|
2016-05-22 10:22:39 -04:00
|
|
|
|
|
|
|
|
2017-03-22 02:18:29 -04:00
|
|
|
/* $target (== curgoal) is the column target when doing line move */
|
2021-08-09 00:06:07 -04:00
|
|
|
extern int curgoal ; /* $target: Goal for C-P previous-line, C-N next-line */
|
2013-10-09 23:49:04 -04:00
|
|
|
|
2013-10-09 02:38:55 -04:00
|
|
|
|
2021-08-09 00:06:07 -04:00
|
|
|
/* Bindable functions */
|
2021-08-11 05:02:19 -04:00
|
|
|
BBINDABLE( backline) ;
|
|
|
|
TBINDABLE( backpage) ;
|
|
|
|
BBINDABLE( forwline) ;
|
|
|
|
TBINDABLE( forwpage) ;
|
|
|
|
TBINDABLE( gotobob) ;
|
|
|
|
TBINDABLE( gotobol) ;
|
|
|
|
TBINDABLE( gotoeob) ;
|
|
|
|
TBINDABLE( gotoeol) ;
|
|
|
|
BINDABLE( gotoline) ;
|
|
|
|
TBINDABLE( setmark) ;
|
|
|
|
TBINDABLE( swapmark) ;
|
2013-05-18 20:13:48 -04:00
|
|
|
|
|
|
|
#endif
|
2016-05-22 10:22:39 -04:00
|
|
|
/* end of basic.h */
|