fix: LaTeX and JIS keyboard support. Remove karabiner
This commit is contained in:
parent
ea608b0bb9
commit
9482790891
|
@ -160,6 +160,10 @@ Modifications to the default key bindings to mimic spacemacs
|
|||
(map! :nvi "C" nil) ; remove this one weird binding
|
||||
|
||||
(map! "<f12>" #'toggle-input-method)
|
||||
|
||||
; Remap JIS yen key to backslash
|
||||
(global-set-key (kbd "M-¥") (kbd "\\"))
|
||||
(global-set-key (kbd "C-M-¥") (kbd "C-\\"))
|
||||
#+end_src
|
||||
|
||||
** Font settings
|
||||
|
|
|
@ -2,7 +2,17 @@
|
|||
tex = pkgs.texlive.combine {
|
||||
inherit (pkgs.texlive) scheme-medium
|
||||
latexmk
|
||||
amsmath;
|
||||
amsmath
|
||||
cancel
|
||||
hyphenat
|
||||
datetime2
|
||||
makecell
|
||||
tikzmark
|
||||
tcolorbox
|
||||
environ
|
||||
tikzfill
|
||||
pdfcol
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -25,7 +35,7 @@ in
|
|||
rustup
|
||||
elan
|
||||
poetry
|
||||
tex
|
||||
(import ./tex.nix { inherit pkgs; })
|
||||
cmake
|
||||
|
||||
ispell
|
||||
|
@ -39,7 +49,7 @@ in
|
|||
# Auto upgrade nix package and the daemon service.
|
||||
services = {
|
||||
nix-daemon.enable = true;
|
||||
karabiner-elements.enable = true;
|
||||
#karabiner-elements.enable = true;
|
||||
sketchybar = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
"slack"
|
||||
"discord"
|
||||
"zoom"
|
||||
"zulip"
|
||||
|
||||
# Browsing
|
||||
"firefox"
|
||||
|
@ -58,6 +59,7 @@
|
|||
|
||||
# Fonts
|
||||
"font-noto-mono"
|
||||
"font-source-code-pro"
|
||||
];
|
||||
taps = [
|
||||
"koekeishiya/formulae"
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.texlive.combine {
|
||||
inherit (pkgs.texlive) scheme-medium
|
||||
latexmk
|
||||
amsmath
|
||||
cancel
|
||||
hyphenat
|
||||
datetime2
|
||||
makecell
|
||||
tikzmark
|
||||
tcolorbox
|
||||
environ
|
||||
tikzfill
|
||||
pdfcol
|
||||
llncs
|
||||
;
|
||||
}
|
Loading…
Reference in New Issue