mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
chore
This commit is contained in:
parent
31fde92975
commit
f4e142e83e
6 changed files with 20 additions and 7 deletions
|
|
@ -172,3 +172,5 @@ test -f /opt/miniconda3/etc/fish/conf.d/conda.fish && source /opt/miniconda3/etc
|
|||
# User-specific PATH
|
||||
test -d $HOME/.local/scripts && fish_add_path $HOME/.local/scripts
|
||||
test -d $HOME/.local/build && fish_add_path $HOME/.local/build
|
||||
|
||||
source "/home/js0ny/.deno/env.fish"
|
||||
|
|
|
|||
|
|
@ -167,3 +167,11 @@ function __last_history_item; echo $history[1]; end
|
|||
|
||||
abbr -a !! --position anywhere --function __last_history_item
|
||||
|
||||
function y
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
"js0ny/multiple-cursors.nvim",
|
||||
"brenton-leighton/multiple-cursors.nvim",
|
||||
version = "*", -- Use the latest tagged version
|
||||
-- opts = , -- This causes the plugin setup function to be called
|
||||
keys = {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ return {
|
|||
},
|
||||
{ key = "q", icon = " ", desc = "退出", action = "<cmd>qa<CR>" },
|
||||
},
|
||||
--[[header = [[
|
||||
header = [[
|
||||
================= =============== =============== ======== ========
|
||||
\\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . //
|
||||
||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .||
|
||||
|
|
@ -42,8 +42,8 @@ return {
|
|||
==' _-' N E O V I M \/ `==
|
||||
\ _-' `-_ /
|
||||
`'' ``'
|
||||
--]]
|
||||
header = [[
|
||||
]],
|
||||
--[[header = [[
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣠⣤⣤⣴⣦⣤⣤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⢀⣤⣾⣿⣿⣿⣿⠿⠿⠿⠿⣿⣿⣿⣿⣶⣤⡀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⣠⣾⣿⣿⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣿⣿⣶⡀⠀⠀⠀⠀
|
||||
|
|
@ -59,7 +59,7 @@ return {
|
|||
⠀⠀⠀⠀⠈⠻⣿⣿⣷⣤⣄⡀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⠟⠁⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠈⠛⠿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⠁⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⠛⠛⠛⠛⠛⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
]]
|
||||
--]]
|
||||
},
|
||||
sections = {
|
||||
{ section = "header" },
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@
|
|||
|
||||
"bindings": {
|
||||
// "j k": ["workspace::SendKeystrokes", "escape"]
|
||||
"alt-e": "editor::AddSelectionAbove", // Insert Cursor Above
|
||||
"alt-n": "editor::AddSelectionBelow" // Insert Cursor Below
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,3 +34,4 @@ for file in $DOTFILES/tools/zsh/mod/*.zsh; do
|
|||
done
|
||||
|
||||
[ -f "/home/js0ny/.local/share/ghcup/env" ] && . "/home/js0ny/.local/share/ghcup/env" # ghcup-env
|
||||
. "/home/js0ny/.deno/env"
|
||||
Loading…
Add table
Add a link
Reference in a new issue