mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
feat: config
This commit is contained in:
@@ -18,8 +18,8 @@ unbind %
|
||||
# bind -n C-M-Down select-pane -D
|
||||
|
||||
# Ctrl+K to clear
|
||||
# bind -n C-k send-keys -R \; send-keys C-l
|
||||
bind -n C-k send-keys C-l
|
||||
bind -n C-k send-keys -R \; send-keys C-l \; clear-history
|
||||
# bind -n C-k send-keys C-l
|
||||
|
||||
# Ctrl+Shift+W to close session
|
||||
bind -n C-M-w confirm-before kill-session
|
||||
@@ -27,7 +27,7 @@ bind -n C-M-w confirm-before kill-session
|
||||
# Enable mouse control
|
||||
set -g mouse on
|
||||
|
||||
set -g @plugin 'noscript/tmux-mighty-scroll'
|
||||
# set -g @plugin 'noscript/tmux-mighty-scroll'
|
||||
|
||||
# Emulate scrolling by sending up and down keys if these commands are running in the pane
|
||||
# tmux_commands_with_legacy_scroll="nano less more man git"
|
||||
@@ -54,7 +54,7 @@ run-shell "${HOME}/.tmux-power/tmux-power.tmux"
|
||||
# set -g @tmux_power_theme '#FF0000'
|
||||
set -g @tmux_power_theme 'redwine'
|
||||
set -g window-style 'bg=terminal'
|
||||
# set -g window-active-style 'bg=black'
|
||||
set -g window-active-style 'bg=terminal'
|
||||
set -g pane-active-border-style 'bg=red'
|
||||
set -g status-position top
|
||||
# set -g window-style 'fg=colour242,bg=terminal'
|
||||
|
||||
@@ -22,6 +22,7 @@ return {
|
||||
}
|
||||
require("notify").setup({
|
||||
background_colour = "#000000",
|
||||
stages = "static",
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
|
||||
@@ -4,6 +4,7 @@ SCAFFOLDS_DIR="$DOTFILES/scaffolds"
|
||||
|
||||
function tpl() {
|
||||
tpl_name="$1"
|
||||
sub_tpl_name="default"
|
||||
shift
|
||||
if [[ "$#" -ne 0 ]]; then
|
||||
sub_tpl_name="$1"
|
||||
@@ -21,7 +22,7 @@ function tpl() {
|
||||
;;
|
||||
esac
|
||||
|
||||
npx -y simple-scaffold@latest -gh "chenasraf/templates#${tpl_name}.js" -k "${sub_tpl_name:-default}" $name $@
|
||||
npx -y simple-scaffold@latest -gh "chenasraf/templates#${tpl_name}.js" -k "${sub_tpl_name}" $name $@
|
||||
}
|
||||
|
||||
# tpl_name="$1"
|
||||
|
||||
Reference in New Issue
Block a user