about summary refs log tree commit diff stats
path: root/home-manager/config/lf/keybindings/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/lf/keybindings/default.nix117
1 files changed, 117 insertions, 0 deletions
diff --git a/home-manager/config/lf/keybindings/default.nix b/home-manager/config/lf/keybindings/default.nix
new file mode 100644
index 00000000..bc2178cf
--- /dev/null
+++ b/home-manager/config/lf/keybindings/default.nix
@@ -0,0 +1,117 @@
+{config, ...}: {
+  # Remove some defaults
+  m = null;
+  "\"'\"" = null;
+  "'\"'" = null;
+  d = null;
+  c = null;
+  e = null;
+  j = null;
+  k = null;
+  l = null;
+  ";" = null;
+
+  # File Openers
+  ee = "\$\$EDITOR \"$f\"";
+  u = "%\$IVIEWER \"$f\"";
+  cc = "\$sudo -e \"$f\"";
+
+  # Archive Mappings
+  au = "unarchive";
+  aa = "archive";
+
+  # Trash Mappings
+  dd = "trash";
+  jc = "clear_trash";
+  jr = "restore_trash";
+
+  # Broot Mapping
+  f = "fzf_jump";
+
+  # Dragon Mapping
+  dr = "dragon";
+  ds = "dragon-stay";
+  di = "dragon-individual";
+  #dm = "mvdragon";
+  #dc = "cpdragon";
+  dl = "dlfile";
+
+  cs = "stripspace";
+
+  # Vim keys
+  h = "updir";
+  t = "down";
+  n = "up";
+  s = "open";
+
+  # Basic Functions
+  bn = "help";
+  kk = "mk_ln";
+  "." = "set hidden!";
+  DD = "delete";
+  p = "paste";
+  x = "cut";
+  y = "copy";
+  "<enter>" = "open";
+  mf = "mk_file";
+  md = "mk_dir";
+  ms = "mk_scr";
+  ch = "chmod";
+  bg = "set_wall_paper";
+  o = "open_config";
+  br = "\$vimv \$fx"; # TODO what is this command?
+  r = "rename";
+  H = "top";
+  L = "bottom";
+  R = "reload";
+  C = "clear";
+  U = "unselect";
+
+  # Movement
+  gjr = "cd ~/.local/share/Trash/files";
+  gus = "cd /run/${config.home.username}";
+
+  "gr." = "cd ~/repos";
+  grr = "cd ~/repos/rust";
+  grp = "cd ~/repos/python";
+  grc = "cd ~/repos/c";
+  gra = "cd ~/repos/auto_hot_key";
+  grn = "cd ~/repos/nix";
+  grt = "cd ~/repos/tex";
+  grs = "cd ~/repos/shell";
+  grpe = "cd ~/repos/perl";
+  grja = "cd ~/repos/java";
+  grjs = "cd ~/repos/java_script";
+  # -------------
+  "gm." = "cd ~/media";
+  gmpi = "cd ~/media/pictures";
+  gmd = "cd ~/media/downloads";
+  gmm = "cd ~/media/music";
+  gmi = "cd ~/media/isos";
+  # -------------
+  "gs." = "cd ~/school";
+  gsgs = "cd ~/school/geschichte";
+  gsch = "cd ~/school/chemie";
+  gsen = "cd ~/school/english";
+  gsgo = "cd ~/school/geographie";
+  gsin = "cd ~/school/infomatik";
+  gsso = "cd ~/school/sozialkunde";
+  gskr = "cd ~/school/katholische_religion";
+  gsmu = "cd ~/school/musik";
+  gsla = "cd ~/school/latein";
+  gsde = "cd ~/school/deutsch";
+  gsma = "cd ~/school/mathematik";
+  gsbi = "cd ~/school/biologie";
+  gssp = "cd ~/school/sport";
+  gsphy = "cd ~/school/physik";
+  gsphi = "cd ~/school/philosophie";
+
+  gc = "cd ~/.config";
+  gl = "cd ~/.local";
+  gE = "cd /etc";
+
+  "gU." = "cd /usr";
+  gUs = " cd /usr/share";
+
+  gt = "cd /tmp";
+}