diff options
Diffstat (limited to 'config/zsh/aliases/dev.zsh')
| -rw-r--r-- | config/zsh/aliases/dev.zsh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/config/zsh/aliases/dev.zsh b/config/zsh/aliases/dev.zsh index 65922a1..fa0bf5c 100644 --- a/config/zsh/aliases/dev.zsh +++ b/config/zsh/aliases/dev.zsh @@ -23,19 +23,6 @@ far() { fd "$file_r" | sad "$matcher_r" "$result" -p diff-so-fancy "$@"; } -# :: FileType Filename -calc() { - local syntax="${1:-javascript}" - shift - nvim -c \ - "let g:startify_disable_at_vimenter = 1 |\ - set bt=nofile ls=0 |\ - hi ColorColumn ctermbg=NONE |\ - hi VertSplit ctermbg=NONE |\ - hi NonText ctermfg=0 |\ - Codi $syntax" "$@" -} - get_node_script_runner() { # TODO: Check .engines.* # jq -r .engines.pnpm package.json @@ -64,21 +51,3 @@ bindkey '^B' p__run_npm_script; fix-interpreter() { nix-shell -p patchelf --run "patchelf --set-interpreter \$(patchelf --print-interpreter \$(which mkdir)) $@" } - - -# Terminal through neovim -vt() { - nvim +term \ - +'norm i' \ - +"lua vim.fn.feedkeys([[$1]])" \ - +'lua vim.go.termguicolors = false' \ - +'set nonumber norelativenumber signcolumn=no' \ - +'autocmd TermClose * execute "qa"' \ - +'hi @_phenax.term-title guibg=#1a1824 guifg=#8e7ae3 gui=bold' \ - +'set winbar=%#@_phenax.term-title#%=nvim-term%='; -} - -p__nvim_virtual_terminal() { vt "$BUFFER"; } -zle -N p__nvim_virtual_terminal; -bindkey '^T' p__nvim_virtual_terminal; - |
