aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-04 22:22:39 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-04 22:22:39 +0200
commit33812921a2294637e4635d5b8426fc47f69a05a5 (patch)
treefea0b77a032b80b0211fb9a7110ee01ef2aa3955 /main.c
parent3bfd0792b7116eacd5f9c46070b6fee236d4b956 (diff)
downloadvis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.gz
vis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.xz
Implement movement to a given line
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 0 insertions, 10 deletions
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;