diff options
-rw-r--r-- | doc/config | 36 | ||||
-rw-r--r-- | src/config.h | 33 |
2 files changed, 32 insertions, 37 deletions
diff --git a/doc/config b/doc/config deleted file mode 100644 index 3a9e587..0000000 --- a/doc/config +++ /dev/null @@ -1,36 +0,0 @@ -# default config -nmap gf=source -nmap <shift-:>=input -nmap o=inputopen -nmap t=inputtabopen -nmap O=inputopencurrent -nmap T=inputtabopencurrent -nmap d=quit -nmap <ctrl-o>=back -nmap <ctrl-i>=forward -nmap r=reload -nmap R=reload! -nmap <ctrl-c>=stop -nmap <ctrl-f>=pagedown -nmap <ctrl-b>=pageup -nmap <ctrl-d>=halfpagedown -nmap <ctrl-u>=halfpageup -nmap gg=jumptop -nmap G=jumpbottom -nmap 0=jumpleft -nmap $=jumpright -nmap h=scrollleft -nmap l=scrollright -nmap k=scrollup -nmap j=scrolldown -nmap f=hint-link -nmap F=hint-link-new -nmap ;o=hint-input-open -nmap ;t=hint-input-tabopen -nmap ;y=hint-yank -nmap y=yank-uri -nmap Y=yank-selection -cmap <tab>=complete -cmap <shift-tab>=complete-back -hmap <tab>=hint-focus-next -hmap <shift-tab>=hint-focus-prev diff --git a/src/config.h b/src/config.h index e8e1d02..75e493b 100644 --- a/src/config.h +++ b/src/config.h @@ -32,10 +32,41 @@ const struct { char* command; } default_config[] = { + {"nmap gf=source"}, + {"nmap <shift-:>=input"}, {"nmap o=inputopen"}, + {"nmap t=inputtabopen"}, {"nmap O=inputopencurrent"}, - {"nmap :=input"}, + {"nmap T=inputtabopencurrent"}, {"nmap d=quit"}, + {"nmap <ctrl-o>=back"}, + {"nmap <ctrl-i>=forward"}, + {"nmap r=reload"}, + {"nmap R=reload!"}, + {"nmap <ctrl-c>=stop"}, + {"nmap <ctrl-f>=pagedown"}, + {"nmap <ctrl-b>=pageup"}, + {"nmap <ctrl-d>=halfpagedown"}, + {"nmap <ctrl-u>=halfpageup"}, + {"nmap gg=jumptop"}, + {"nmap G=jumpbottom"}, + {"nmap 0=jumpleft"}, + {"nmap $=jumpright"}, + {"nmap h=scrollleft"}, + {"nmap l=scrollright"}, + {"nmap k=scrollup"}, + {"nmap j=scrolldown"}, + {"nmap f=hint-link"}, + {"nmap F=hint-link-new"}, + {"nmap ;o=hint-input-open"}, + {"nmap ;t=hint-input-tabopen"}, + {"nmap ;y=hint-yank"}, + {"nmap y=yank-uri"}, + {"nmap Y=yank-selection"}, + {"cmap <tab>=complete"}, + {"cmap <shift-tab>=complete-back"}, + {"hmap <tab>=hint-focus-next"}, + {"hmap <shift-tab>=hint-focus-prev"}, {NULL} }; |