Compare commits
3 commits
cad577b193
...
f9837b7cab
Author | SHA1 | Date | |
---|---|---|---|
f9837b7cab | |||
443ea96d1f | |||
da557a7b7e |
4 changed files with 8 additions and 8 deletions
|
@ -171,7 +171,11 @@
|
||||||
plugins.treesitter = {
|
plugins.treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nixGrammars = true;
|
nixGrammars = true;
|
||||||
settings.indent.enable = true;
|
settings = {
|
||||||
|
indent.enable = true;
|
||||||
|
auto_install = true;
|
||||||
|
highlight.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
plugins.fzf-lua = {
|
plugins.fzf-lua = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -39,11 +39,6 @@
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# disable control+s to pause terminal
|
# disable control+s to pause terminal
|
||||||
unsetopt FLOW_CONTROL
|
unsetopt FLOW_CONTROL
|
||||||
# manually integrate fzf cause we need to make sure zsh-vi-mode
|
|
||||||
# won't override C-r
|
|
||||||
function zvm_after_init() {
|
|
||||||
eval "$(${pkgs.fzf}/bin/fzf --zsh)"
|
|
||||||
}
|
|
||||||
|
|
||||||
# useful emacs mode bindings
|
# useful emacs mode bindings
|
||||||
bindkey -M viins "^E" end-of-line
|
bindkey -M viins "^E" end-of-line
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
cything.io {
|
cything.io {
|
||||||
import common
|
import common
|
||||||
reverse_proxy localhost:8084
|
redir https://cy7.sh/posts{uri} permanent
|
||||||
|
|
||||||
header /.well-known/matrix/* Content-Type application/json
|
header /.well-known/matrix/* Content-Type application/json
|
||||||
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
||||||
|
|
3
justfile
3
justfile
|
@ -1,9 +1,10 @@
|
||||||
update:
|
update:
|
||||||
|
git branch -D update || true
|
||||||
git switch -c update
|
git switch -c update
|
||||||
nix flake update
|
nix flake update
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
git commit -s -m "flake update"
|
git commit -s -m "flake update"
|
||||||
git push
|
git push -f
|
||||||
git switch main
|
git switch main
|
||||||
|
|
||||||
upgrade:
|
upgrade:
|
||||||
|
|
Loading…
Add table
Reference in a new issue