diff --git a/.feeds.txt b/.feeds.txt index b78b6d81281ca014f8dea52e8c787cbb8788f841..99f4cfd511cab29a9c4108d6f69bb74927b2b4c8 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 7b9cdeb9f40bf85e6fe1e95f5bc29e9d04687235..be3e7d3d1c6e28ccfff727631970791f1e672d12 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -32,13 +32,13 @@ alias t='tree -L 2' 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 [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi # 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 @@ archive_sets=( "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 @@ echo "$text" | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9]+/-/g; s/^-+|-+$//g' } 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 94432feb37d4bc7532cbefad8373f46b8077e363..6d060f8edc98edbc1301763c1e8c0ecaa213dc87 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 133ffe50634bd7631f552aa5ab8efe0a8b6f5233..6b08d0276492c1afb3293fbc4cfa963a207934a5 100644 --- a/.vimrc +++ b/.vimrc @@ -6,13 +6,14 @@ Plug 'tpope/vim-commentary' 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