mirror of
https://github.com/tstack/lnav.git
synced 2024-10-26 21:19:54 +03:00
[keymap] add german keymap
This commit is contained in:
parent
ce0383dee1
commit
9773efd3a5
23
README.md
23
README.md
@ -22,15 +22,14 @@ efficiently zero in on problems.
|
||||
|
||||
The following software packages are required to build lnav:
|
||||
|
||||
* gcc/clang - A C++14-compatible compiler.
|
||||
* libpcre - The Perl Compatible Regular Expression (PCRE) library.
|
||||
* sqlite - The SQLite database engine. Version 3.9.0 or higher is required.
|
||||
* ncurses - The ncurses text UI library.
|
||||
* readline - The readline line editing library.
|
||||
* zlib - The zlib compression library.
|
||||
* bz2 - The bzip2 compression library.
|
||||
* libcurl - The cURL library for downloading files from URLs. Version 7.23.0 or higher is required.
|
||||
|
||||
* gcc/clang - A C++14-compatible compiler.
|
||||
* libpcre - The Perl Compatible Regular Expression (PCRE) library.
|
||||
* sqlite - The SQLite database engine. Version 3.9.0 or higher is required.
|
||||
* ncurses - The ncurses text UI library.
|
||||
* readline - The readline line editing library.
|
||||
* zlib - The zlib compression library.
|
||||
* bz2 - The bzip2 compression library.
|
||||
* libcurl - The cURL library for downloading files from URLs. Version 7.23.0 or higher is required.
|
||||
|
||||
## Installation
|
||||
|
||||
@ -43,7 +42,6 @@ Lnav follows the usual GNU style for configuring and installing software:
|
||||
__Run `./autogen.sh` before running any of the above commands when
|
||||
compiling from a cloned repository.__
|
||||
|
||||
|
||||
## Cygwin users
|
||||
|
||||
It should compile fine in Cygwin.
|
||||
@ -56,7 +54,6 @@ Remember that you still need the lnav dependencies under Cygwin, here is a quick
|
||||
|
||||
Currently, the x64 version seems to be working better than the x86 one.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
The only file installed is the executable, `lnav`. You can execute it
|
||||
@ -115,9 +112,7 @@ highlights. Errors are red and warnings are yellow.
|
||||
|
||||
[![Screenshot](http://tstack.github.io/lnav/lnav-syslog-thumb.png)](http://tstack.github.io/lnav/lnav-syslog.png)
|
||||
|
||||
|
||||
See Also
|
||||
--------
|
||||
## See Also
|
||||
|
||||
The lnav website can be found at:
|
||||
|
||||
|
@ -92,6 +92,7 @@ can be used to change the keymap:
|
||||
|
||||
The builtin keymaps are:
|
||||
|
||||
:de: German
|
||||
:fr: French
|
||||
:uk: United Kingdom
|
||||
:us: United States
|
||||
|
@ -163,6 +163,7 @@ list(APPEND GEN_SRCS default-formats.h default-formats.c)
|
||||
|
||||
set(CONFIG_FILES
|
||||
root-config.json
|
||||
keymaps/de-keymap.json
|
||||
keymaps/default-keymap.json
|
||||
keymaps/fr-keymap.json
|
||||
keymaps/uk-keymap.json
|
||||
|
@ -61,6 +61,7 @@ default-formats.h default-formats.c: bin2c $(FORMAT_FILES)
|
||||
|
||||
CONFIG_FILES = \
|
||||
$(srcdir)/root-config.json \
|
||||
$(srcdir)/keymaps/de-keymap.json \
|
||||
$(srcdir)/keymaps/default-keymap.json \
|
||||
$(srcdir)/keymaps/fr-keymap.json \
|
||||
$(srcdir)/keymaps/uk-keymap.json \
|
||||
|
51
src/keymaps/de-keymap.json
Normal file
51
src/keymaps/de-keymap.json
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"$schema": "https://lnav.org/schemas/config-v1.schema.json",
|
||||
"ui": {
|
||||
"keymap-defs": {
|
||||
"de": {
|
||||
"x31": {
|
||||
"command": ":goto next 10 minutes after the hour"
|
||||
},
|
||||
"x32": {
|
||||
"command": ":goto next 20 minutes after the hour"
|
||||
},
|
||||
"x33": {
|
||||
"command": ":goto next 30 minutes after the hour"
|
||||
},
|
||||
"x34": {
|
||||
"command": ":goto next 40 minutes after the hour"
|
||||
},
|
||||
"x35": {
|
||||
"command": ":goto next 50 minutes after the hour"
|
||||
},
|
||||
"x36": {
|
||||
"command": ":goto next hour"
|
||||
},
|
||||
"x37": {
|
||||
"command": ":goto previous minute"
|
||||
},
|
||||
"x38": {
|
||||
"command": ":goto next minute"
|
||||
},
|
||||
"x21": {
|
||||
"command": ":goto last 10 minutes after the hour"
|
||||
},
|
||||
"x22": {
|
||||
"command": ":goto last 20 minutes after the hour"
|
||||
},
|
||||
"xc2xa7": {
|
||||
"command": ":goto last 30 minutes after the hour"
|
||||
},
|
||||
"x24": {
|
||||
"command": ":goto last 40 minutes after the hour"
|
||||
},
|
||||
"x25": {
|
||||
"command": ":goto last 50 minutes after the hour"
|
||||
},
|
||||
"x26": {
|
||||
"command": ":goto last hour"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user