aboutsummaryrefslogtreecommitdiff
path: root/src/config/files/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/files/shell')
-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
4 files changed, 19 insertions, 14 deletions
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