Small updates to kak
This commit is contained in:
parent
1df631061a
commit
29f5a5dbf6
|
@ -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<ret>"
|
||||
map -docstring "Remark" global latex-insert-block r ": create-begin-block-with remark<ret>"
|
||||
map -docstring "Proposition" global latex-insert-block <a-p> ": create-begin-block-with proposition<ret>"
|
||||
map -docstring "Corollary" global latex-insert-block c ": create-begin-block-with corollary<ret>"
|
||||
map -docstring "Corollary" global latex-insert-block C ": create-begin-block-with corollary<ret>"
|
||||
## Common environments
|
||||
map -docstring "align*" global latex-insert-block a ": create-begin-block-with align*<ret>"
|
||||
map -docstring "align" global latex-insert-block <a-a> ": create-begin-block-with align<ret>"
|
||||
map -docstring "equation" global latex-insert-block e ": create-begin-block-with equation<ret>"
|
||||
map -docstring "equation" global latex-insert-block E ": create-begin-block-with equation<ret>"
|
||||
map -docstring "equation*" global latex-insert-block <a-e> ": create-begin-block-with equation*<ret>"
|
||||
map -docstring "Matrix" global latex-insert-block m ": create-begin-block-with bmatrix<ret>"
|
||||
map -docstring "Cases" global latex-insert-block C ": create-begin-block-with cases<ret>"
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
});
|
||||
|
|
|
@ -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"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue