aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-11-27 21:15:08 -0600
committerAaditya Dhruv <[email protected]>2023-11-27 21:15:08 -0600
commitf03ea918e8591ba5794e5e1c4b9426138f72ab32 (patch)
tree70640d31f8f16fbc70d77a82512d2287b2ab0246
parent486298c62f5586dcd4904079c4633b000538c8b0 (diff)
Update packages and config files
tmux.conf -> bindings for saving and scrolling zsh/p10k -> new layouts and aliases vimrc -> New plugins for tmux and tab bindings new wallpapers
-rw-r--r--src/config/files/alacritty/alacritty.yml7
-rw-r--r--src/config/files/shell/.p10k.zsh4
-rw-r--r--src/config/files/shell/.tmux.conf11
-rw-r--r--src/config/files/shell/.vimrc16
-rw-r--r--src/config/files/shell/.zshrc2
-rw-r--r--src/config/files/wallpapers/Erdtree.pngbin0 -> 2825085 bytes
-rw-r--r--src/config/files/wallpapers/Grace.pngbin0 -> 2861310 bytes
-rw-r--r--src/config/files/wallpapers/mario.jpgbin0 -> 734788 bytes
-rw-r--r--src/config/files/wallpapers/sekiro.jpgbin0 -> 3053292 bytes
9 files changed, 24 insertions, 16 deletions
diff --git a/src/config/files/alacritty/alacritty.yml b/src/config/files/alacritty/alacritty.yml
index f331fc3..83fe9d2 100644
--- a/src/config/files/alacritty/alacritty.yml
+++ b/src/config/files/alacritty/alacritty.yml
@@ -156,7 +156,7 @@ font:
style: Bold Italic
# Point size
- size: 8.0
+ size: 14.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
@@ -745,7 +745,10 @@ colors:
#
# If the same trigger is assigned to multiple actions, all of them are executed
# in the order they were defined in.
-#key_bindings:
+key_bindings:
+ - { key: N, mods: Control, action: CreateNewWindow }
+ - { key: N, mods: Control | Shift, action: SpawnNewInstance }
+ - { key: W, mods: Super, action: Quit }
#- { key: Paste, action: Paste }
#- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
diff --git a/src/config/files/shell/.p10k.zsh b/src/config/files/shell/.p10k.zsh
index aa8ea94..54eea45 100644
--- a/src/config/files/shell/.p10k.zsh
+++ b/src/config/files/shell/.p10k.zsh
@@ -37,7 +37,7 @@
vcs # git status
# =========================[ Line #2 ]=========================
-# newline # \n
+ newline # \n
prompt_char # prompt symbol
)
@@ -217,7 +217,7 @@ typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,ROOT,REMOTE_SUDO,REMOTE,SUDO}_SUFFIX=']
typeset -g POWERLEVEL9K_DIR_FOREGROUND=002
# If directory is too long, shorten some of its segments to the shortest possible unique
# prefix. The shortened directory can be tab-completed to the original.
- typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
+ typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_last #tab-completed #truncate_to_unique
# Replace removed segment suffixes with this symbol.
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
# Color of the shortened directory segments.
diff --git a/src/config/files/shell/.tmux.conf b/src/config/files/shell/.tmux.conf
index e278575..2896f30 100644
--- a/src/config/files/shell/.tmux.conf
+++ b/src/config/files/shell/.tmux.conf
@@ -11,16 +11,16 @@ set-option -g display-panes-active-colour red
set-option -g display-panes-colour blue
set-option -g display-panes-time 1000
set-option -g display-time 750
-set-option -g history-limit 2000
+set-option -g history-limit 4000
set-option -g key-table root
set-option -g lock-after-time 0
set-option -g lock-command "lock -np"
set-option -g message-command-style bg=black,fg=yellow
set-option -g message-style bg=yellow,fg=black
-set-option -g mouse off
+set-option -g mouse on
set-option -g prefix C-a
set-option -g prefix2 None
-set-option -g renumber-windows off
+set-option -g renumber-windows on
set-option -g repeat-time 1000
set-option -g set-titles off
set-option -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}"
@@ -53,3 +53,8 @@ set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g word-separators "!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~"
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+set -g @resurrect-strategy-vim 'session'
+set -g @resurrect-strategy-nvim 'session'
+run '~/.tmux/plugins/tpm/tpm'
+
diff --git a/src/config/files/shell/.vimrc b/src/config/files/shell/.vimrc
index 658eac5..5a4e376 100644
--- a/src/config/files/shell/.vimrc
+++ b/src/config/files/shell/.vimrc
@@ -10,14 +10,17 @@ call vundle#begin()
set bs=2
set ts=8
-set sw=8
+set tw=80
set t_Co=256
set number
set ruler
+set shiftwidth=2 smarttab
+set expandtab
-nnoremap <C-Left> :tabprevious<CR>
-nnoremap <C-Right> :tabnext<CR>
+
+nnoremap <C-Left> :bp<CR>
+nnoremap <C-Right> :bn<CR>
nnoremap <C-Up> :tabfirst<CR>
nnoremap <C-Down> :tablast<CR>
nnoremap <C-S-Right> :tabmove +1<CR>
@@ -25,10 +28,6 @@ nnoremap <C-S-Left> :tabmove -1<CR>
map <F1> :NERDTreeTabsToggle<CR>
noremap <C-f> :Files <CR>
xnoremap <C-c> :s/^/\/\/ <CR>
-nnoremap <Tab> >>
-nnoremap <S-Tab> <<
-xnoremap <Tab> >
-xnoremap <S-Tab> <
nmap <C-p> <Plug>MarkdownPreviewToggle
@@ -49,10 +48,11 @@ Plugin 'valloric/youcompleteme'
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'iamcco/markdown-preview.nvim'
+Plugin 'tpope/vim-obsession'
" All of your Plugins must be added before the following line
let g:airline_theme='gruvbox_material'
-let g:airline_powerline_fonts = 1
+let g:airline_powerline_fonts = 0
let g:AutoClosePreserveDotReg = 0
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#formatter = 'unique_tail'
diff --git a/src/config/files/shell/.zshrc b/src/config/files/shell/.zshrc
index ad4b8c0..e809df2 100644
--- a/src/config/files/shell/.zshrc
+++ b/src/config/files/shell/.zshrc
@@ -126,6 +126,6 @@ export GEM_HOME="$HOME/.gems"
export PATH="$HOME/.gems/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
-alias note="/bin/nvim /home/aaditya/Notes/general/$(date +'%d-%m-%y').md"
+alias note="/bin/nvim /home/aaditya/Notes/general/$(date +'%Y-%m-%d').md"
source <(kubectl completion zsh)
alias k=kubectl
diff --git a/src/config/files/wallpapers/Erdtree.png b/src/config/files/wallpapers/Erdtree.png
new file mode 100644
index 0000000..3039a6b
--- /dev/null
+++ b/src/config/files/wallpapers/Erdtree.png
Binary files differ
diff --git a/src/config/files/wallpapers/Grace.png b/src/config/files/wallpapers/Grace.png
new file mode 100644
index 0000000..e46ead5
--- /dev/null
+++ b/src/config/files/wallpapers/Grace.png
Binary files differ
diff --git a/src/config/files/wallpapers/mario.jpg b/src/config/files/wallpapers/mario.jpg
new file mode 100644
index 0000000..bd710bd
--- /dev/null
+++ b/src/config/files/wallpapers/mario.jpg
Binary files differ
diff --git a/src/config/files/wallpapers/sekiro.jpg b/src/config/files/wallpapers/sekiro.jpg
new file mode 100644
index 0000000..b3e91d5
--- /dev/null
+++ b/src/config/files/wallpapers/sekiro.jpg
Binary files differ