Small updates
This commit is contained in:
3
.bashrc
3
.bashrc
@@ -18,6 +18,7 @@ shopt -s histappend
|
|||||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
HISTFILESIZE=200000
|
HISTFILESIZE=200000
|
||||||
|
HISTTIMEFORMAT='%F %T '
|
||||||
|
|
||||||
# check the window size after each command and, if necessary,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# update the values of LINES and COLUMNS.
|
||||||
@@ -33,7 +34,7 @@ shopt -s autocd
|
|||||||
alias ls='ls -lahtr --color=auto'
|
alias ls='ls -lahtr --color=auto'
|
||||||
alias vi='kak'
|
alias vi='kak'
|
||||||
alias df='/usr/bin/git --git-dir=$HOME/.dotfilesrepo/ --work-tree=$HOME'
|
alias df='/usr/bin/git --git-dir=$HOME/.dotfilesrepo/ --work-tree=$HOME'
|
||||||
alias unpack='dtrx'
|
alias unpack='bsdtar -xf'
|
||||||
alias imv='imv-wayland'
|
alias imv='imv-wayland'
|
||||||
alias sway='sway --unsupported-gpu'
|
alias sway='sway --unsupported-gpu'
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,29 @@ map global user / ': comment-line<ret>'
|
|||||||
# insert four spaces instead of a tab character while in insert mode.
|
# insert four spaces instead of a tab character while in insert mode.
|
||||||
map global insert <tab> '<space><space><space><space>'
|
map global insert <tab> '<space><space><space><space>'
|
||||||
|
|
||||||
hook global RegisterModified '"' %{ nop %sh{
|
hook global InsertChar j %{ try %{
|
||||||
|
exec -draft hH <a-k>jj<ret> d
|
||||||
|
exec -with-hooks <esc>
|
||||||
|
}}
|
||||||
|
hook global RegisterModified '"' %{ nop %reg{dquote} %sh{
|
||||||
printf %s "$kak_main_reg_dquote" | wl-copy > /dev/null 2>&1 &
|
printf %s "$kak_main_reg_dquote" | wl-copy > /dev/null 2>&1 &
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
define-command -hidden paste-system-after %{
|
||||||
|
evaluate-commands -save-regs '"' %{
|
||||||
|
set-register dquote %sh{ wl-paste --no-newline 2>/dev/null }
|
||||||
|
execute-keys p
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
define-command -hidden paste-system-before %{
|
||||||
|
evaluate-commands -save-regs '"' %{
|
||||||
|
set-register dquote %sh{ wl-paste --no-newline 2>/dev/null }
|
||||||
|
execute-keys P
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
map global normal p ': paste-system-after<ret>'
|
||||||
|
map global normal P ': paste-system-before<ret>'
|
||||||
|
|
||||||
add-highlighter global/ number-lines
|
add-highlighter global/ number-lines
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ set -g renumber-windows on
|
|||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -as terminal-features ",*:RGB"
|
set -as terminal-features ",*:RGB"
|
||||||
|
|
||||||
|
# Allow terminal escape passthrough for apps such as opencode that use OSC 52
|
||||||
|
# clipboard sequences from inside tmux.
|
||||||
|
set -g allow-passthrough on
|
||||||
|
|
||||||
# Keep a large scrollback history.
|
# Keep a large scrollback history.
|
||||||
set -g history-limit 1000000
|
set -g history-limit 1000000
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ core_packages=(
|
|||||||
plocate
|
plocate
|
||||||
fzf
|
fzf
|
||||||
gdb
|
gdb
|
||||||
|
which
|
||||||
)
|
)
|
||||||
|
|
||||||
network_packages=(
|
network_packages=(
|
||||||
@@ -34,6 +35,7 @@ desktop_packages=(
|
|||||||
wl-clipboard
|
wl-clipboard
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
|
xdg-utils
|
||||||
grim
|
grim
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ base_packages=(
|
|||||||
amd-ucode # AMD CPU microcode updates loaded by the boot loader
|
amd-ucode # AMD CPU microcode updates loaded by the boot loader
|
||||||
sudo # Run commands as root from the user account
|
sudo # Run commands as root from the user account
|
||||||
git # Version control and cloning dotfiles
|
git # Version control and cloning dotfiles
|
||||||
|
which
|
||||||
|
base-devel
|
||||||
)
|
)
|
||||||
|
|
||||||
pacstrap -K /mnt "${base_packages[@]}"
|
pacstrap -K /mnt "${base_packages[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user