1
Fork 0
This commit is contained in:
Hadeed 2024-11-12 02:43:32 +05:00
parent 78ce74fe06
commit a8ce70f550
9 changed files with 25 additions and 11 deletions

View file

@ -6,3 +6,6 @@ symbol=" "
[golang]
symbol=" "
[gcloud]
symbol="󱇶 "

View file

@ -2,7 +2,7 @@
defaultBranch = main
[user]
email = hadeedji@gmail.com
email = me@hadeedahmad.com
name = Hadeed Ahmad
[push]

View file

@ -9,6 +9,7 @@ map kitty_mod+n scroll_line_down
map kitty_mod+u scroll_page_up
map kitty_mod+d scroll_page_down
map kitty_mod+g show_last_command_output
map kitty_mod+g launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -r
map kitty_mod+equal change_font_size all +1.0
map kitty_mod+minus change_font_size all -1.0

View file

@ -4,7 +4,7 @@ font_size 12.0
enable_audio_bell no
disable_ligatures cursor
scrollback_lines 4096
scrollback_lines 65536
enabled_layouts tall
tab_bar_style hidden
@ -13,3 +13,8 @@ hide_window_decorations yes
include keys.conf
include symbol_map.conf
include themes/gruvbox.conf
allow_remote_control socket-only
listen_on unix:/tmp/kitty
action_alias kitty_scrollback_nvim kitten /home/hadeed/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output

View file

@ -1,5 +1,6 @@
env ZDOTDIR=$HOME/.config/zsh
env REMOTE_HOST=1
copy --dest .config/zsh --exclude 'dot-' $DOTS/zsh
copy --dest .config/zsh/.zshenv $DOTS/zsh/dot-zshenv
copy --dest .config/zsh/.zshrc $DOTS/zsh/dot-zshrc

View file

@ -54,5 +54,15 @@ return {
"tpope/vim-unimpaired",
"fladson/vim-kitty",
"cljoly/minimal-format.nvim"
"cljoly/minimal-format.nvim",
{
'mikesmithgh/kitty-scrollback.nvim',
lazy = true,
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
config = function()
require('kitty-scrollback').setup()
end,
}
}

View file

@ -11,9 +11,6 @@ alias la='l -a'
alias lla='ll -a'
alias lta='lt -a --ignore-glob=".git"'
alias cc='noglob cc'
alias wcl='wc -l'
alias s='kitty +kitten ssh'
# vim: filetype=zsh

View file

@ -1,5 +1,5 @@
function cc() python -c "from math import *; print($*)"
function mkcd() mkdir -p -- $1 && cd -- $1
alias cc='noglob cc'
function save-ssh-key() {
mkdir -p "$HOME/.ssh"
@ -12,10 +12,6 @@ function save-ssh-key() {
fi
}
function eik() {
kitten edit-in-kitty "$1"
}
function find-directory() {
FOLDER=$(fd -t d --hidden | fzf --height="~50%" --reverse)
if [ -n "$FOLDER" ]; then

View file

@ -10,6 +10,7 @@ setopt HIST_VERIFY
setopt INC_APPEND_HISTORY
setopt RM_STAR_SILENT
setopt NO_BEEP
setopt MULTIOS
bindkey -e