diff options
| -rw-r--r-- | .feeds.txt | 1 | ||||
| -rwxr-xr-x | .shenanigans.sh | 14 | ||||
| -rw-r--r-- | .tmux.conf | 5 | ||||
| -rw-r--r-- | .vimrc | 10 |
4 files changed, 21 insertions, 9 deletions
| @@ -10,6 +10,7 @@ https://tomscii.sig7.se/feed.xml | |||
| 10 | https://www.computerenhance.com/feed | 10 | https://www.computerenhance.com/feed |
| 11 | https://susam.net/feed.xml | 11 | https://susam.net/feed.xml |
| 12 | https://www.gingerbill.org/article/index.xml | 12 | https://www.gingerbill.org/article/index.xml |
| 13 | https://mmk2410.org/blog.rss | ||
| 13 | 14 | ||
| 14 | https://github.com/srevinsaju/Brave-AppImage/releases.atom | 15 | https://github.com/srevinsaju/Brave-AppImage/releases.atom |
| 15 | https://github.com/X11Libre/xserver/releases.atom | 16 | 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 | |||
| 32 | alias ..='cd ..' | 32 | alias ..='cd ..' |
| 33 | alias gg='lazygit' | 33 | alias gg='lazygit' |
| 34 | alias less='less -R' | 34 | alias less='less -R' |
| 35 | alias tmux='tmux -u' | 35 | alias tmux='tmux -T 256 -u' |
| 36 | alias server='python3 -m http.server 6969' | 36 | alias server='python3 -m http.server 6969' |
| 37 | alias newsboat='newsboat -r -u ~/.feeds.txt' | 37 | alias newsboat='newsboat -r -u ~/.feeds.txt' |
| 38 | alias n='cd ~/Notes && vim toc.txt' | ||
| 38 | 39 | ||
| 39 | # Custom folder jump commands. | 40 | # Custom folder jump commands. |
| 40 | alias j='cd ~/Junk' | 41 | alias j='cd ~/Junk' |
| 41 | alias n='cd ~/Notes' | ||
| 42 | alias p='cd ~/Projects' | 42 | alias p='cd ~/Projects' |
| 43 | alias d='cd ~/Downloads' | 43 | alias d='cd ~/Downloads' |
| 44 | 44 | ||
| @@ -56,6 +56,7 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | |||
| 56 | 56 | ||
| 57 | # Custom paths. | 57 | # Custom paths. |
| 58 | export PATH="$PATH:$HOME/.local/bin" | 58 | export PATH="$PATH:$HOME/.local/bin" |
| 59 | export PATH="$PATH:$HOME/.cargo/bin" | ||
| 59 | export PATH="$PATH:$HOME/go/bin" | 60 | export PATH="$PATH:$HOME/go/bin" |
| 60 | export PATH="$PATH:$HOME/Applications" | 61 | export PATH="$PATH:$HOME/Applications" |
| 61 | export PATH="$PATH:$HOME/Applications/odin-linux-amd64-nightly+2025-12-04/" | 62 | export PATH="$PATH:$HOME/Applications/odin-linux-amd64-nightly+2025-12-04/" |
| @@ -69,6 +70,7 @@ backup() { | |||
| 69 | "ssh.zip $HOME/.ssh" | 70 | "ssh.zip $HOME/.ssh" |
| 70 | "bash_history_infinite.zip $HOME/.bash_history_infinite" | 71 | "bash_history_infinite.zip $HOME/.bash_history_infinite" |
| 71 | "projects.zip $HOME/Projects" | 72 | "projects.zip $HOME/Projects" |
| 73 | "notes.zip $HOME/Notes" | ||
| 72 | "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/wow.sh" | 74 | "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/wow.sh" |
| 73 | ) | 75 | ) |
| 74 | 76 | ||
| @@ -90,7 +92,9 @@ slugify() { | |||
| 90 | } | 92 | } |
| 91 | 93 | ||
| 92 | worldclocks() { | 94 | worldclocks() { |
| 93 | echo -e "Brisbane: \t$(TZ='Australia/Brisbane' date +'%a %H:%M')" | 95 | printf "%-18s %s\n" "Local:" "$(TZ='Europe/Ljubljana' date +'%a %H:%M')" |
| 94 | echo -e "San Francisco: \t$(TZ='America/Los_Angeles' date +'%a %H:%M')" | 96 | printf "%-18s %s\n" "Brisbane:" "$(TZ='Australia/Brisbane' date +'%a %H:%M')" |
| 95 | echo -e "New York: \t$(TZ='America/New_York' date +'%a %H:%M')" | 97 | printf "%-18s %s\n" "San Francisco:" "$(TZ='America/Los_Angeles' date +'%a %H:%M')" |
| 98 | printf "%-18s %s\n" "New York:" "$(TZ='America/New_York' date +'%a %H:%M')" | ||
| 99 | |||
| 96 | } | 100 | } |
| @@ -26,3 +26,8 @@ bind-key -r S-Up resize-pane -U 5 | |||
| 26 | bind-key -r S-Down resize-pane -D 5 | 26 | bind-key -r S-Down resize-pane -D 5 |
| 27 | bind-key -r S-Left resize-pane -L 5 | 27 | bind-key -r S-Left resize-pane -L 5 |
| 28 | bind-key -r S-Right resize-pane -R 5 | 28 | bind-key -r S-Right resize-pane -R 5 |
| 29 | |||
| 30 | bind s display-popup -d "#{pane_current_path}" -w 80% -h 80% -E bash | ||
| 31 | bind g display-popup -d "#{pane_current_path}" -w 80% -h 80% -E lazygit | ||
| 32 | bind h display-popup -w 80% -h 80% -E htop | ||
| 33 | bind m display-popup -w 80% -h 80% -E mc | ||
| @@ -6,13 +6,14 @@ call plug#begin() | |||
| 6 | Plug 'mitjafelicijan/sniper.vim' | 6 | Plug 'mitjafelicijan/sniper.vim' |
| 7 | Plug 'ctrlpvim/ctrlp.vim' | 7 | Plug 'ctrlpvim/ctrlp.vim' |
| 8 | Plug 'dense-analysis/ale' | 8 | Plug 'dense-analysis/ale' |
| 9 | Plug 'airblade/vim-gitgutter' | ||
| 9 | call plug#end() | 10 | call plug#end() |
| 10 | 11 | ||
| 11 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 | 12 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
| 12 | set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes | 13 | set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes |
| 13 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 | 14 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
| 14 | set backspace=indent,eol,start completeopt=menuone | 15 | set backspace=indent,eol,start completeopt=menuone path+=** |
| 15 | set path+=** wildignore+=tags,*.o,*.a,*.so | 16 | set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
| 16 | colorscheme wildcharm | 17 | colorscheme wildcharm |
| 17 | 18 | ||
| 18 | nnoremap <C-Right> :bnext<CR> | 19 | nnoremap <C-Right> :bnext<CR> |
| @@ -33,9 +34,10 @@ nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> | |||
| 33 | nmap <silent> gd :ALEGoToDefinition<CR> | 34 | nmap <silent> gd :ALEGoToDefinition<CR> |
| 34 | nmap <silent> re :ALERename<CR> | 35 | nmap <silent> re :ALERename<CR> |
| 35 | 36 | ||
| 36 | let g:ctrlp_use_caching = 0 | 37 | " let g:ctrlp_use_caching = 0 |
| 37 | let g:ctrlp_working_path_mode = '' | 38 | " let g:ctrlp_working_path_mode = '' |
| 38 | 39 | ||
| 40 | let g:ctrlp_working_path_mode = 'ra' | ||
| 39 | let g:ale_hover_to_floating_preview = 1 | 41 | let g:ale_hover_to_floating_preview = 1 |
| 40 | let g:ale_detail_to_floating_preview = 1 | 42 | let g:ale_detail_to_floating_preview = 1 |
| 41 | let g:ale_floating_window_border = 0 | 43 | let g:ale_floating_window_border = 0 |
