From 33812921a2294637e4635d5b8426fc47f69a05a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 4 Sep 2014 22:22:39 +0200 Subject: Implement movement to a given line --- main.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 68bcb0c..d1c0b07 100644 --- a/main.c +++ b/main.c @@ -21,8 +21,6 @@ int ESCDELAY; static Key getkey(void); static void cursor(const Arg *arg); static void call(const Arg *arg); -static void insert(const Arg *arg); -static void line(const Arg *arg); static void find_forward(const Arg *arg); static void find_backward(const Arg *arg); @@ -38,10 +36,6 @@ static void call(const Arg *arg) { arg->f(vis); } -static void line(const Arg *arg) { - vis_line_goto(vis, arg->i); -} - static void find_forward(const Arg *arg) { vis_search(vis, arg->s, 1); } @@ -50,10 +44,6 @@ static void find_backward(const Arg *arg) { vis_search(vis, arg->s, -1); } -static void insert(const Arg *arg) { - //vis_insert(vis, arg->s, strlen(arg->s)); -} - typedef struct Screen Screen; static struct Screen { int w, h; -- cgit v1.2.3