Skip to content

Commit

Permalink
Tweak editor configurations
Browse files Browse the repository at this point in the history
Introduce dvtm-editor which can be used as a (smlinked)-name
for an editor that is useable as a filter but not listed in
config.h.
  • Loading branch information
martanne committed Nov 15, 2014
1 parent 2af6ab0 commit d8db440
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ static char const * const keytable[] = {
* redirected (i.e. not a terminal).
*/
static Editor editors[] = {
{ .name = "vis", .argv = { "vis", "+%d", NULL }, .filter = true },
{ .name = "sandy",.argv = { "sandy","-d", "-", NULL }, .filter = true },
{ .name = "vim", .argv = { "vim", "+%d", "-", NULL }, .filter = false },
{ .name = "less", .argv = { "less", "+%d", "-", NULL }, .filter = false },
{ .name = "vis", .argv = { "vis", "+%d", "-", NULL }, .filter = true },
{ .name = "sandy", .argv = { "sandy", "-d", "-", NULL }, .filter = true },
{ .name = "dvtm-editor", .argv = { "dvtm-editor", "-", NULL }, .filter = true },
{ .name = "vim", .argv = { "vim", "+%d", "-", NULL }, .filter = false },
{ .name = "less", .argv = { "less", "+%d", NULL }, .filter = false },
{ .name = "more", .argv = { "more", "+%d", NULL }, .filter = false },
};

0 comments on commit d8db440

Please sign in to comment.