diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-02-08 18:52:00 +0100 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-02-08 18:52:00 +0100 |
commit | 0b1ca6b5bbe18f7c879aaf9b0ebcf8a731a5a012 (patch) | |
tree | a9cfd829d773703ed14563476191205d127fc402 | |
parent | 74cad52f129679213c13b69f287dc93800115d4e (diff) | |
download | dotfiles-0b1ca6b5bbe18f7c879aaf9b0ebcf8a731a5a012.tar.gz dotfiles-0b1ca6b5bbe18f7c879aaf9b0ebcf8a731a5a012.tar.bz2 dotfiles-0b1ca6b5bbe18f7c879aaf9b0ebcf8a731a5a012.zip |
updated dotfiles
-rw-r--r-- | .bashrc | 9 | ||||
-rw-r--r-- | .newsboat/cache.db | bin | 0 -> 1716224 bytes | |||
-rw-r--r-- | .newsboat/history.cmdline | 3 | ||||
-rw-r--r-- | .newsboat/urls | 18 | ||||
-rw-r--r-- | .vimrc | 33 |
5 files changed, 53 insertions, 10 deletions
@@ -113,13 +113,11 @@ fi set -o vi -# some more ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' +export LS_OPTIONS='-la --color=auto' +alias ls='ls $LS_OPTIONS' alias r='ranger' alias vrc='vim ~/.vimrc' -alias brc='vim ~/.bashrc' +alias brc='vim ~/.bashrc && source $_' alias npasswd='tr -dc A-Za-z0-9 </dev/urandom | head -c 13; echo' alias cts='ssh root@rabiega.xyz' alias ctg='ssh git@rabiega.xyz' @@ -131,3 +129,4 @@ groffe(){ groff -e $1.ms -ms -Tpdf > $1.pdf } +setxkbmap -option caps:swapescape diff --git a/.newsboat/cache.db b/.newsboat/cache.db Binary files differnew file mode 100644 index 0000000..d133863 --- /dev/null +++ b/.newsboat/cache.db diff --git a/.newsboat/history.cmdline b/.newsboat/history.cmdline new file mode 100644 index 0000000..b60ba88 --- /dev/null +++ b/.newsboat/history.cmdline @@ -0,0 +1,3 @@ +q +!vim .newsboat/config +q diff --git a/.newsboat/urls b/.newsboat/urls new file mode 100644 index 0000000..3b8353a --- /dev/null +++ b/.newsboat/urls @@ -0,0 +1,18 @@ +http://rss.cnn.com/rss/cnn_topstories.rss +https://lukesmith.xyz/index.xml +https://www.youtube.com/feeds/videos.xml?channel_id=UCOQpO_rBsXTcjgBQCQGfyrg +https://www.youtube.com/feeds/videos.xml?channel_id=UCHASrbCS-niYRn-Y3WX38pA +https://www.youtube.com/feeds/videos.xml?channel_id=UCtscFf8VayggrDYjOwDke_Q +https://www.youtube.com/feeds/videos.xml?channel_id=UCGq_4hy864L32WGuL6pJzFA +https://wykop.pl/rss +https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA +https://stallman.org/rss/rss.xml +https://based.cooking/index.xml +https://notrelated.xyz/rss +https://www.youtube.com/feeds/videos.xml?channel_id=UCz75RVbH8q2jdBJ4SnwuZZQ +https://boards.4chan.org/g/index.rss +https://boards.4chan.org/sci/index.rss +https://boards.4chan.org/his/index.rss +https://boards.4chan.org/lit/index.rss +http://www.kendo.pl/?format=feed&type=rss +https://blog.linuxmint.com/?feed=rss2 @@ -1,20 +1,43 @@ set number set relativenumber +set title +set bg=dark +set go=a +set mouse=a +set nohlsearch +set clipboard+=unnamedplus +set noshowmode +set noruler +set laststatus=0 +set noshowcmd set nocompatible +set autoindent +set nocindent +set smartindent + execute pathogen#infect() syntax on filetype plugin indent on +" Automatically updates server after server files have been modified +autocmd BufWritePost ~/website/*.html !bash ~/.local/bin/update_website +autocmd BufWritePost ~/website/*.css !bash ~/.local/bin/update_website + +" Automatically source .vimrc after saving +autocmd BufWritePost ~/.vimrc source $MYVIMRC + +" Automatically deletes all trailing whitespace and newlines at end of file on save. & reset cursor position +autocmd BufWritePre * let currPos = getpos(".") +autocmd BufWritePre * %s/\s\+$//e +autocmd BufWritePre * %s/\n\+\%$//e +autocmd BufWritePre * cal cursor(currPos[1], currPos[2]) + nnoremap <silent> <F7> :tabnew ~/.vimrc<CR> nnoremap <silent> <F8> :TlistToggle<CR> nnoremap <silent> <F9> :NERDTree<CR> -inoremap <Space><Space> <Esc>/<++><CR>"_c4l - -set autoindent -set nocindent -set smartindent +inoremap <Space><Space> <Esc>/<++><CR>"_c4l " show existing tab with 4 spaces width set tabstop=4 |