INCS = -Iinc/
BINS = tide pick xcpd term
-MAN1 = docs/tide.1 docs/pick.1 docs/xtagpick.1 docs/xfilepick.1
+MAN1 = docs/tide.1 docs/pick.1 docs/picktag.1 docs/pickfile.1
LIBEDIT_OBJS = \
lib/buf.o \
cp -f tide $(PREFIX)/bin
cp -f pick $(PREFIX)/bin
cp -f xcpd $(PREFIX)/bin
- cp -f xfilepick $(PREFIX)/bin
- cp -f xtagpick $(PREFIX)/bin
+ cp -f pickfile $(PREFIX)/bin
+ cp -f picktag $(PREFIX)/bin
uninstall:
rm -f $(PREFIX)/bin/tide
rm -f $(PREFIX)/bin/pick
rm -f $(PREFIX)/bin/xcpd
- rm -f $(PREFIX)/bin/xfilepick
- rm -f $(PREFIX)/bin/xtagpick
+ rm -f $(PREFIX)/bin/pickfile
+ rm -f $(PREFIX)/bin/picktag
test: $(TEST_BINS)
for t in $(TEST_BINS); do ./$$t || exit 1; done
* shortcut to jump to previous edit
* xrandr dpi setting does not affect tide like it should
+
The Future:
* Ctrl+Shift+Enter copies indent of wrong line
Maybe think about addressing these later:
+* add current dir to path
+* add support for guidefiles
* Shift+Insert should insert primary selection
* Find shortcut should select previous word if current char is newline
* diagnostic messages can stack up if deselected and not resolved
/* OS-Specific Config
******************************************************************************/
#ifdef __MACH__
-#define FONT "Monaco:size=10:antialias=true:autohint=true"
-#define LNSPACE 0
+ #define FONT "Monaco:size=10:antialias=true:autohint=true"
+ #define LNSPACE 0
#else
-#define FONT "Liberation Mono:pixelsize=14:antialias=true:autohint=true"
-#define LNSPACE 2
+ #define FONT "Liberation Mono:pixelsize=14:antialias=true:autohint=true"
+ #define LNSPACE 2
#endif
/* General Config
char* SedCmd[] = { "sed", "-e", NULL, NULL };
/* Fuzzy Picker for files in the current directory and subdirectories */
-char* PickFileCmd[] = { "xfilepick", ".", NULL };
+char* PickFileCmd[] = { "pickfile", ".", NULL };
/* Fuzzy picker for tags in a ctags database. */
-char* PickTagCmd[] = { "xtagpick", NULL, "tags", NULL, NULL };
+char* PickTagCmd[] = { "picktag", NULL, "tags", NULL, NULL };
/* Open a new instance of the editor */
char* OpenCmd[] = { "tide", NULL, NULL };
Michael D\. Lowis
.
.SH "SEE ALSO"
-tide(1) pick(1) xfilepick(1) xtagpick(1)
+tide(1) pick(1) pickfile(1) picktag(1)
## SEE ALSO
-tide(1) pick(1) xfilepick(1) xtagpick(1)
+tide(1) pick(1) pickfile(1) picktag(1)
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "XFILEPICK" "1" "May 2017" "" ""
+.TH "PICKFILE" "1" "May 2017" "" ""
.
.SH "NAME"
-\fBxfilepick\fR \- fuzzy find a file from the current directory tree
+\fBpickfile\fR \- fuzzy find a file from the current directory tree
.
.SH "SYNOPSIS"
.
-# xfilepick -- fuzzy find a file from the current directory tree
+# pickfile -- fuzzy find a file from the current directory tree
## SYNOPSIS
## DESCRIPTION
## OPTIONS
.
.TP
\fBCtrl+o\fR
-Launch xfilepick(1) to choose a file from a recursive list of files in the current deirectory and sub directories\. This file will be opened in a new instance of \fBtide\fR\.
+Launch pickfile(1) to choose a file from a recursive list of files in the current deirectory and sub directories\. This file will be opened in a new instance of \fBtide\fR\.
.
.TP
\fBCtrl+p\fR
-Launch xtagpick(1) to select a tag from a ctags(1) generated index file\. \fBtide\fR will jump to the selected ctag definition in the current window if the file is currently being edited\. Otherwise, a new instance of \fBtide\fR will be launched with the target file and the cursor set to the line containing the definition\.
+Launch picktag(1) to select a tag from a ctags(1) generated index file\. \fBtide\fR will jump to the selected ctag definition in the current window if the file is currently being edited\. Otherwise, a new instance of \fBtide\fR will be launched with the target file and the cursor set to the line containing the definition\.
.
.TP
\fBCtrl+g\fR
Michael D\. Lowis
.
.SH "SEE ALSO"
-tide(1) pick(1) xfilepick(1) xtagpick(1)
+tide(1) pick(1) pickfile(1) picktag(1)
in `TEXT SELECTION`.
* `Ctrl+o`:
- Launch xfilepick(1) to choose a file from a recursive list of files in the
+ Launch pickfile(1) to choose a file from a recursive list of files in the
current deirectory and sub directories. This file will be opened in a
new instance of `tide`.
* `Ctrl+p`:
- Launch xtagpick(1) to select a tag from a ctags(1) generated index file.
+ Launch picktag(1) to select a tag from a ctags(1) generated index file.
`tide` will jump to the selected ctag definition in the current window if
the file is currently being edited. Otherwise, a new instance of `tide`
will be launched with the target file and the cursor set to the line
## SEE ALSO
-tide(1) pick(1) xfilepick(1) xtagpick(1)
+tide(1) pick(1) pickfile(1) picktag(1)