kitty stuff
This commit is contained in:
parent
21577acad0
commit
8345c8656e
|
@ -622,7 +622,7 @@
|
|||
#: The audio bell. Useful to disable it in environments that require
|
||||
#: silence.
|
||||
|
||||
visual_bell_duration 0.1
|
||||
visual_bell_duration 0.01
|
||||
|
||||
#: The visual bell duration (in seconds). Flash the screen when a bell
|
||||
#: occurs for the specified number of seconds. Set to zero to disable.
|
||||
|
@ -1135,7 +1135,7 @@ tab_title_template "{index} {fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.ta
|
|||
|
||||
: Advanced {{{
|
||||
|
||||
# shell .
|
||||
shell zsh
|
||||
|
||||
#: The shell program to execute. The default value of . means to use
|
||||
#: whatever shell is set as the default shell for the current user.
|
||||
|
@ -1143,7 +1143,7 @@ tab_title_template "{index} {fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.ta
|
|||
#: --login and --interactive to ensure that the shell starts in
|
||||
#: interactive mode and reads its startup rc files.
|
||||
|
||||
# editor .
|
||||
editor nvim
|
||||
|
||||
#: The terminal based text editor (such as vim or nano) to use when
|
||||
#: editing the kitty config file or similar tasks.
|
||||
|
@ -1244,7 +1244,7 @@ tab_title_template "{index} {fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.ta
|
|||
#: socket or socket-only. Changing this option by reloading the config
|
||||
#: is not supported.
|
||||
|
||||
# env
|
||||
env KITTY_TERM=TRUE
|
||||
|
||||
#: Specify the environment variables to be set in all child processes.
|
||||
#: Using the name with an equal sign (e.g. env VAR=) will set it to
|
||||
|
|
|
@ -26,7 +26,7 @@ alias psgrep="ps axu | grep"
|
|||
alias plasmarestart="killall plasmashell; kstart5 plasmashell"
|
||||
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
||||
alias gg=lazygit
|
||||
alias kssh="kitty +kitten ssh"
|
||||
alias reload="source ~/.zshrc"
|
||||
|
||||
### Functions
|
||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||
|
@ -85,5 +85,18 @@ export FZF_CTRL_R_OPTS='--no-sort --exact'
|
|||
### --- nnn Config ------------------------------------
|
||||
source ~/.local/share/nnn/quitcd/quitcd.bash_zsh
|
||||
|
||||
### --- kitty Config ------------------------------------
|
||||
# $KITTY_TERM is a custom envar I set in the kitty conf
|
||||
# this stuff does not work nicely with tmux, just make them regular aliases. Shows an error if you use them in another terminal
|
||||
#if [[ "$KITTY_TERM" -eq "TRUE" ]]
|
||||
#then
|
||||
# alias ssh="kitty +kitten ssh"
|
||||
# alias tmux="export KITTY_TERM='TRUE'; tmux"
|
||||
#fi
|
||||
alias kssh="kitty +kitten ssh"
|
||||
alias kimg="kitty +kitten icat"
|
||||
# kdiff does not work on my system for some reason
|
||||
#alias kdiff="kitty +kitten diff"
|
||||
|
||||
### --- local Config ------------------------------------
|
||||
source ~/.local.zsh
|
||||
|
|
Loading…
Reference in New Issue