From 29f5a5dbf6857b9e626b85a73afeb9a74f790358 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 19 Jan 2022 17:26:12 -0500 Subject: [PATCH] Small updates to kak --- home/kakoune/autoload/latex.kak | 4 ++-- home/kakoune/kak.nix | 4 ++-- home/modules/programs/my-kakoune/fish-session.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/kakoune/autoload/latex.kak b/home/kakoune/autoload/latex.kak index c8b8293..3fadaf6 100644 --- a/home/kakoune/autoload/latex.kak +++ b/home/kakoune/autoload/latex.kak @@ -73,11 +73,11 @@ map -docstring "Example" global latex-insert-block e ": create-begin-bloc map -docstring "Proof" global latex-insert-block p ": create-begin-block-with proof" map -docstring "Remark" global latex-insert-block r ": create-begin-block-with remark" map -docstring "Proposition" global latex-insert-block ": create-begin-block-with proposition" -map -docstring "Corollary" global latex-insert-block c ": create-begin-block-with corollary" +map -docstring "Corollary" global latex-insert-block C ": create-begin-block-with corollary" ## Common environments map -docstring "align*" global latex-insert-block a ": create-begin-block-with align*" map -docstring "align" global latex-insert-block ": create-begin-block-with align" -map -docstring "equation" global latex-insert-block e ": create-begin-block-with equation" +map -docstring "equation" global latex-insert-block E ": create-begin-block-with equation" map -docstring "equation*" global latex-insert-block ": create-begin-block-with equation*" map -docstring "Matrix" global latex-insert-block m ": create-begin-block-with bmatrix" map -docstring "Cases" global latex-insert-block C ": create-begin-block-with cases" diff --git a/home/kakoune/kak.nix b/home/kakoune/kak.nix index 23e7c66..f000c3d 100644 --- a/home/kakoune/kak.nix +++ b/home/kakoune/kak.nix @@ -3,7 +3,7 @@ let kakounePkg = let - rev = "f68e8313b2282b1a94bd5baee2b87581f31fc5e8"; + rev = "9acd4e62dc485aa7e44a601a0300697f8825a98c"; in pkgs.kakoune.override { kakoune = pkgs.kakoune-unwrapped.overrideAttrs (oldAttrs: { @@ -12,7 +12,7 @@ let repo = "kakoune"; owner = "mawww"; rev = rev; - sha256 = "sha256-CvOjNB30FlN41JZEVuLQhYLy7D8M2BeQBnQ1S+oel5w="; + sha256 = "sha256-d0s1wA/GRpq3F6JRBWJaZQPY8UqzTzW5/hx0NlkIC6Q="; # sha256 = lib.fakeSha256; }; }); diff --git a/home/modules/programs/my-kakoune/fish-session.nix b/home/modules/programs/my-kakoune/fish-session.nix index 5b167f0..c9a346b 100644 --- a/home/modules/programs/my-kakoune/fish-session.nix +++ b/home/modules/programs/my-kakoune/fish-session.nix @@ -25,8 +25,8 @@ in echo "New kakoune session started (pid = $last_pid, session name = $kak_session)." # Rebind $VISUAL, $EDITOR and e command - set -gx VISUAL "kak -s $kak_session" - set -gx EDITOR "kak -s $kak_session" + set -gx VISUAL "kak -c $kak_session" + set -gx EDITOR "kak -c $kak_session" alias e="kak -c $kak_session" '';