From 55bb362f5380c3887e31388501e4ef9d6a1df923 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 5 Feb 2026 04:09:16 +0100 Subject: Update --- .feeds.txt | 1 + .shenanigans.sh | 14 +++++++++----- .tmux.conf | 5 +++++ .vimrc | 10 ++++++---- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.feeds.txt b/.feeds.txt index b78b6d8..99f4cfd 100644 --- a/.feeds.txt +++ b/.feeds.txt @@ -10,6 +10,7 @@ https://tomscii.sig7.se/feed.xml https://www.computerenhance.com/feed https://susam.net/feed.xml https://www.gingerbill.org/article/index.xml +https://mmk2410.org/blog.rss https://github.com/srevinsaju/Brave-AppImage/releases.atom https://github.com/X11Libre/xserver/releases.atom diff --git a/.shenanigans.sh b/.shenanigans.sh index 7b9cdeb..be3e7d3 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -32,13 +32,13 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then alias ..='cd ..' alias gg='lazygit' alias less='less -R' - alias tmux='tmux -u' + alias tmux='tmux -T 256 -u' alias server='python3 -m http.server 6969' alias newsboat='newsboat -r -u ~/.feeds.txt' + alias n='cd ~/Notes && vim toc.txt' # Custom folder jump commands. alias j='cd ~/Junk' - alias n='cd ~/Notes' alias p='cd ~/Projects' alias d='cd ~/Downloads' @@ -56,6 +56,7 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then # Custom paths. export PATH="$PATH:$HOME/.local/bin" + export PATH="$PATH:$HOME/.cargo/bin" export PATH="$PATH:$HOME/go/bin" export PATH="$PATH:$HOME/Applications" export PATH="$PATH:$HOME/Applications/odin-linux-amd64-nightly+2025-12-04/" @@ -69,6 +70,7 @@ backup() { "ssh.zip $HOME/.ssh" "bash_history_infinite.zip $HOME/.bash_history_infinite" "projects.zip $HOME/Projects" + "notes.zip $HOME/Notes" "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/wow.sh" ) @@ -90,7 +92,9 @@ slugify() { } worldclocks() { - echo -e "Brisbane: \t$(TZ='Australia/Brisbane' date +'%a %H:%M')" - echo -e "San Francisco: \t$(TZ='America/Los_Angeles' date +'%a %H:%M')" - echo -e "New York: \t$(TZ='America/New_York' date +'%a %H:%M')" + printf "%-18s %s\n" "Local:" "$(TZ='Europe/Ljubljana' date +'%a %H:%M')" + printf "%-18s %s\n" "Brisbane:" "$(TZ='Australia/Brisbane' date +'%a %H:%M')" + printf "%-18s %s\n" "San Francisco:" "$(TZ='America/Los_Angeles' date +'%a %H:%M')" + printf "%-18s %s\n" "New York:" "$(TZ='America/New_York' date +'%a %H:%M')" + } diff --git a/.tmux.conf b/.tmux.conf index 94432fe..6d060f8 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -26,3 +26,8 @@ bind-key -r S-Up resize-pane -U 5 bind-key -r S-Down resize-pane -D 5 bind-key -r S-Left resize-pane -L 5 bind-key -r S-Right resize-pane -R 5 + +bind s display-popup -d "#{pane_current_path}" -w 80% -h 80% -E bash +bind g display-popup -d "#{pane_current_path}" -w 80% -h 80% -E lazygit +bind h display-popup -w 80% -h 80% -E htop +bind m display-popup -w 80% -h 80% -E mc diff --git a/.vimrc b/.vimrc index 133ffe5..6b08d02 100644 --- a/.vimrc +++ b/.vimrc @@ -6,13 +6,14 @@ call plug#begin() Plug 'mitjafelicijan/sniper.vim' Plug 'ctrlpvim/ctrlp.vim' Plug 'dense-analysis/ale' + Plug 'airblade/vim-gitgutter' call plug#end() set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 -set backspace=indent,eol,start completeopt=menuone -set path+=** wildignore+=tags,*.o,*.a,*.so +set backspace=indent,eol,start completeopt=menuone path+=** +set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so colorscheme wildcharm nnoremap :bnext @@ -33,9 +34,10 @@ nmap gr :ALEFindReferences -quickfix:sleep 100m:copen nmap gd :ALEGoToDefinition nmap re :ALERename -let g:ctrlp_use_caching = 0 -let g:ctrlp_working_path_mode = '' +" let g:ctrlp_use_caching = 0 +" let g:ctrlp_working_path_mode = '' +let g:ctrlp_working_path_mode = 'ra' let g:ale_hover_to_floating_preview = 1 let g:ale_detail_to_floating_preview = 1 let g:ale_floating_window_border = 0 -- cgit v1.2.3