]> git.armaanb.net Git - dotfiles.git/commitdiff
Initial commit
authorArmaan Bhojwani <me@armaanb.net>
Sun, 21 Nov 2021 02:38:54 +0000 (21:38 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 21 Nov 2021 02:38:54 +0000 (21:38 -0500)
.Xdefaults [new file with mode: 0644]
.config/cmus/rc [new file with mode: 0644]
.config/nvim/init.vim [new file with mode: 0644]
.cwmrc [new file with mode: 0644]
.exrc [new file with mode: 0644]
.gitconfig [new file with mode: 0644]
.kshrc [new file with mode: 0644]
.tmux.conf [new file with mode: 0644]

diff --git a/.Xdefaults b/.Xdefaults
new file mode 100644 (file)
index 0000000..9a32529
--- /dev/null
@@ -0,0 +1,9 @@
+*visualBell: True
+XTerm*eightBitInput: false
+
+XTerm*renderFont: true
+XTerm*faceName: SourceCodePro
+XTerm*faceSize: 12
+
+XTerm*loginShell:true
+XTerm*scrollBar: false
diff --git a/.config/cmus/rc b/.config/cmus/rc
new file mode 100644 (file)
index 0000000..08ee4a9
--- /dev/null
@@ -0,0 +1 @@
+colorscheme xterm-white
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
new file mode 100644 (file)
index 0000000..718707f
--- /dev/null
@@ -0,0 +1,27 @@
+set mouse=a
+set undofile
+set textwidth=80
+map Q <nop>
+
+call plug#begin()
+Plug 'ap/vim-css-color'              " Highlight css colors
+Plug 'ctrlpvim/ctrlp.vim'            " Fuzzy file finding
+Plug 'editorconfig/editorconfig-vim' " Follow editorconfig
+Plug 'meain/hima-vim'                " Nice color scheme
+Plug 'sheerun/vim-polyglot'          " Language pack 
+Plug 'tpope/vim-commentary'          " Easily comment
+Plug 'tpope/vim-rsi'                 " Readline bindings
+Plug 'tpope/vim-sensible'            " Sensible defaults
+Plug 'tpope/vim-speeddating'         " Modify dates with C-a, C-x
+Plug 'tpope/vim-surround'            " Easily modify sorrounding characters
+call plug#end()
+
+set termguicolors
+colorscheme hima
+
+nnoremap <C-j> <C-w><C-j>
+nnoremap <C-k> <C-w><C-k>
+nnoremap <C-l> <C-w><C-l>
+nnoremap <C-h> <C-w><C-h>
+
+nnoremap <C-c> :noh<CR>
diff --git a/.cwmrc b/.cwmrc
new file mode 100644 (file)
index 0000000..53b6872
--- /dev/null
+++ b/.cwmrc
@@ -0,0 +1,12 @@
+moveamount 25
+color activeborder purple
+
+bind-mouse M-3 window-resize
+
+command firefox firefox-esr
+command cmus "xterm -e cmus"
+command xterm xterm
+
+ignore xclock
+ignore xload
+ignore "Hello, world" # xworld
diff --git a/.exrc b/.exrc
new file mode 100644 (file)
index 0000000..f0c5eac
--- /dev/null
+++ b/.exrc
@@ -0,0 +1,5 @@
+set verbose showmode showmatch autoindent ruler searchincr
+set wraplen=80
+set cedit=#
+set filec=\    
+map g :0\r
diff --git a/.gitconfig b/.gitconfig
new file mode 100644 (file)
index 0000000..ae26d6e
--- /dev/null
@@ -0,0 +1,11 @@
+[color]        
+       ui = false
+       branch = false
+       diff = false
+       interactive = false
+       status = false
+       log = false
+
+[user]
+       name = Armaan Bhojwani
+       email = me@armaanb.net
diff --git a/.kshrc b/.kshrc
new file mode 100644 (file)
index 0000000..d272cd6
--- /dev/null
+++ b/.kshrc
@@ -0,0 +1,40 @@
+set -o vi
+ulimit -c unlimited
+alias rsync="openrsync -rv"
+export CDPATH=:~
+alias ls="LC_COLLATE=C ls -lhF"
+alias rm="rm -iv"
+alias cp="cp -riv"
+alias mv="mv -iv"
+alias grep="grep -in"
+alias nl="nl -b all"
+alias rclone="rclone -P"
+alias mosh="env LC_CTYPE=en_US.UTF-8 mosh"
+alias ytmusic="youtube-dl --add-metadata --extract-audio --audio-format vorbis --restrict-filenames -o '%(title)s.%(ext)s'"
+
+stty dsusp undef
+
+alias mspdf="groff -Tpdf -M ~/var/docs -ms -macheam"
+
+rpdf() {
+       tmp=/tmp/rpdf${RANDOM}.pdf
+       mspdf $1 > $tmp
+       zathura $tmp &
+       fwa $1 | while read; do mspdf $1 > $tmp; done
+       rm -f $tmp
+}
+
+dosa() {
+       echo "Dosa! Yum yum yum"
+       doas $@
+}
+
+watch() {
+       inp=$1
+       shift
+       fwa $inp | while read; do $@; done
+}
+
+alias wttr='curl wttr.in?format="%l+%T\n%C+%t\nSunrise:+%S,+Sunset+%s\n"'
+alias nv="nvim"
+alias dotgit="git --git-dir=~/.local/share/dotfiles --work-tree=~"
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644 (file)
index 0000000..03ce16c
--- /dev/null
@@ -0,0 +1,5 @@
+set-option -g status off
+set-option -g mouse on
+set-option -g set-titles on
+set-option -g set-titles-string "#S / #W"
+set-window-option -g mode-keys vi