summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/env3
-rw-r--r--.config/mostrc59
2 files changed, 61 insertions, 1 deletions
diff --git a/.config/env b/.config/env
index 9f398a7..aff8a66 100644
--- a/.config/env
+++ b/.config/env
@@ -24,7 +24,6 @@ export XDG_MUSIC_DIR="$HOME"/mu
export XDG_PICTURES_DIR="$HOME"/pics
export XDG_VIDEOS_DIR="$HOME"/vids
export XDG_RUNTIME_DIR=/tmp/xdg_runtime
-
# Apps
export EDITOR="editorcmd"
export VISUAL="${EDITOR}"
@@ -58,7 +57,9 @@ export GPG_TUI_CONFIG="$XDG_CONFIG_HOME"/gpg-tui/gpg-tui.toml
export GOPATH="$XDG_DATA_HOME"/go
export GOBIN="$GOPATH"/bin
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_DATA_HOME"/java
+export LESSHISTFILE=-
export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
+export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
diff --git a/.config/mostrc b/.config/mostrc
new file mode 100644
index 0000000..011828b
--- /dev/null
+++ b/.config/mostrc
@@ -0,0 +1,59 @@
+% This is an example configuration file that provides a `less' emulation
+% for MOST.
+%
+% The format is simple:
+% setkey <function-name> <key-name>
+% unsetkey <key-name>
+% color <object-name> <fg> <bg>
+%
+% Here <key-name> must be enclosed in double quotes. '^' represents Ctrl.
+% The function name is not in double quotes.
+%
+%
+% When MOST starts up, it looks for a keymap file given by the environment
+% variable MOST_INITFILE. If that environment variable does not exist,
+% MOST will look in the users HOME directory for .mostrc on Unix systems
+% and MOST.RC on VMS systems.
+%
+% The file `most.rc' contains a listing of the default MOST keybindings.
+
+% Color settings
+
+color normal default default
+color status yellow black
+color underline magenta default
+color overstrike red default
+
+% Keybindings
+
+unsetkey "^K"
+setkey up "^K"
+
+unsetkey ":"
+setkey next_file ":n"
+setkey find_file ":e"
+setkey next_file ":p"
+setkey toggle_options ":o"
+setkey toggle_case ":c"
+setkey delete_file ":d"
+setkey exit ":q"
+
+setkey down "e"
+setkey down "E"
+setkey down "j"
+setkey down "^N"
+setkey up "y"
+setkey up "^Y"
+setkey up "k"
+setkey up "^P"
+setkey page_down "f"
+setkey page_down "^F"
+setkey page_up "b"
+setkey page_up "^B"
+setkey other_window "z"
+setkey other_window "w"
+setkey search_backward "?"
+setkey bob "p"
+setkey goto_mark "'"
+setkey find_file "E"
+setkey edit "v"