kitty: update settings
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
font_family FiraCode Nerd
|
font_family HurmitNerdFont
|
||||||
font_size 11
|
font_size 11
|
||||||
|
|
||||||
cursor_blink_interval 0
|
cursor_blink_interval 0
|
||||||
|
|
||||||
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title} {index}"
|
tab_bar_style powerline
|
||||||
|
tab_bar_filter session:~ or session:^$
|
||||||
|
tab_title_template "{index}:{session_name}:{bell_symbol}{activity_symbol}{title}"
|
||||||
|
tab_powerline_style round
|
||||||
|
|
||||||
action_alias launch_tab launch --type=tab --cwd=current
|
open_url_with qutebrowser
|
||||||
|
|
||||||
map ctrl+shift+n launch_tab tmux
|
|
||||||
map ctrl+shift+t launch_tab tmux attach
|
|
||||||
map ctrl+shift+s launch_tab zsh
|
|
||||||
map ctrl+shift+6 no_op
|
map ctrl+shift+6 no_op
|
||||||
|
map ctrl+shift+0 nth_window -1
|
||||||
|
|
||||||
map ctrl+shift+h previous_tab
|
|
||||||
map ctrl+shift+l next_tab
|
|
||||||
map ctrl+shift+p goto_tab -1
|
|
||||||
map ctrl+alt+1 goto_tab 1
|
map ctrl+alt+1 goto_tab 1
|
||||||
map ctrl+alt+2 goto_tab 2
|
map ctrl+alt+2 goto_tab 2
|
||||||
map ctrl+alt+3 goto_tab 3
|
map ctrl+alt+3 goto_tab 3
|
||||||
@@ -24,9 +22,36 @@ map ctrl+alt+6 goto_tab 6
|
|||||||
map ctrl+alt+7 goto_tab 7
|
map ctrl+alt+7 goto_tab 7
|
||||||
map ctrl+alt+8 goto_tab 8
|
map ctrl+alt+8 goto_tab 8
|
||||||
map ctrl+alt+9 goto_tab 9
|
map ctrl+alt+9 goto_tab 9
|
||||||
map ctrl+alt+0 goto_tab 10
|
map ctrl+alt+0 goto_tab -1
|
||||||
|
|
||||||
|
map ctrl+alt+h neighboring_window left
|
||||||
|
map ctrl+alt+j neighboring_window down
|
||||||
|
map ctrl+alt+k neighboring_window up
|
||||||
|
map ctrl+alt+l neighboring_window right
|
||||||
|
|
||||||
|
map ctrl+alt+return last_used_layout
|
||||||
|
map ctrl+alt+b goto_layout fat
|
||||||
|
map ctrl+alt+g goto_layout grid
|
||||||
|
map ctrl+alt+r goto_layout tall
|
||||||
|
|
||||||
|
map ctrl+alt+space goto_session -1
|
||||||
|
map ctrl+alt+e new_tab_with_cwd nvim
|
||||||
|
map ctrl+alt+i new_tab_with_cwd lazygit
|
||||||
|
map ctrl+alt+f new_tab_with_cwd lf
|
||||||
|
map ctrl+alt+m toggle_layout stack
|
||||||
|
map ctrl+alt+o goto_session ~/.config/kitty/sessions
|
||||||
|
map ctrl+alt+s launch --stdin-source=@screen_scrollback --type=overlay nvim -R -
|
||||||
|
map ctrl+alt+w new_window_with_cwd
|
||||||
|
map ctrl+alt+t new_tab_with_cwd
|
||||||
|
map ctrl+alt+x close_window_with_confirmation
|
||||||
|
map ctrl+alt+y new_window nvim @selection
|
||||||
|
|
||||||
|
map ctrl+alt+shift+s save_as_session --base-dir ~/.config/kitty/sessions --match=session:.
|
||||||
|
map ctrl+alt+shift+t detach_tab
|
||||||
|
map ctrl+alt+shift+w detach_window
|
||||||
|
map ctrl+alt+shift+x close_session .
|
||||||
|
|
||||||
# BEGIN_KITTY_THEME
|
# BEGIN_KITTY_THEME
|
||||||
# Afterglow
|
# Kanagawa
|
||||||
include current-theme.conf
|
include current-theme.conf
|
||||||
# END_KITTY_THEME
|
# END_KITTY_THEME
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ if ok then
|
|||||||
set("n", "<leader>ep", function()
|
set("n", "<leader>ep", function()
|
||||||
builtin.find_files({ cwd = vim.fs.joinpath(vim.fn.stdpath("data"), "site") })
|
builtin.find_files({ cwd = vim.fs.joinpath(vim.fn.stdpath("data"), "site") })
|
||||||
end, { desc = "Telescope find files" })
|
end, { desc = "Telescope find files" })
|
||||||
|
set("n", "<leader>es", function()
|
||||||
|
builtin.find_files({ cwd = vim.fs.normalize('~/.config/kitty/sessions') })
|
||||||
|
end, { desc = "Telescope kitty sessions" })
|
||||||
set("n", "<leader>fa", builtin.git_files, { desc = "Telescope nvim package files" })
|
set("n", "<leader>fa", builtin.git_files, { desc = "Telescope nvim package files" })
|
||||||
set("n", "<leader>F", builtin.find_files, { desc = "Telescope find files" })
|
set("n", "<leader>F", builtin.find_files, { desc = "Telescope find files" })
|
||||||
set("n", "<leader>fh", function()
|
set("n", "<leader>fh", function()
|
||||||
|
|||||||
@@ -46,9 +46,9 @@ fi
|
|||||||
|
|
||||||
XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf)
|
XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf)
|
||||||
if [ "$THEME" = dark ]; then
|
if [ "$THEME" = dark ]; then
|
||||||
kitten themes --reload-in=all Afterglow
|
kitten themes --reload-in=all Kanagawa
|
||||||
elif [ "$THEME" = light ]; then
|
elif [ "$THEME" = light ]; then
|
||||||
kitten themes --reload-in=all One Half Light
|
kitten themes --reload-in=all Dayfox
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GTK
|
# GTK
|
||||||
|
|||||||
Reference in New Issue
Block a user