Up Next:
-* Right click in tags region should search edit region
* Implement X Selection protocol for handling clipboard and primary selections
+* Right click in tags region should search edit region
* Add keyboard shortcut to highlight the thing under the cursor
* Tag line count should account for wrapped lines
* ctrl+alt+f should find next occurence of previous search term
#ifndef TEST
int main(int argc, char** argv) {
/* load the buffer views */
+ char* tags = getenv("EDITTAGS");
view_init(getview(TAGS), NULL);
- view_putstr(getview(TAGS), DEFAULT_TAGS);
+ view_putstr(getview(TAGS), (tags ? tags : DEFAULT_TAGS));
view_selprev(getview(TAGS)); // clear the selection
buf_logclear(getbuf(TAGS));
view_init(getview(EDIT), (argc > 1 ? argv[1] : NULL));