aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-09-06 20:00:36 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-09-06 20:00:36 +0100
commit52582edc079a197d8204c1310ecd37176bfaef84 (patch)
tree3c49fb25c61fa23d9c9df505e57036c92745710b
parent93e4cd43681f6ed33abb98e18beab1cfb006fdf0 (diff)
downloaddotfiles-52582edc079a197d8204c1310ecd37176bfaef84.tar.gz
dotfiles-52582edc079a197d8204c1310ecd37176bfaef84.tar.bz2
dotfiles-52582edc079a197d8204c1310ecd37176bfaef84.zip
updates
-rw-r--r--Browser/vimb/config16
-rw-r--r--Editor/vimrc6
-rw-r--r--Mail/mutt/mailcap1
-rw-r--r--Mail/muttrc2
-rw-r--r--Shell/bash_aliases2
-rw-r--r--Shell/bashrc30
-rw-r--r--Shell/zshrc5
-rwxr-xr-xXinit/xinitrc185
8 files changed, 130 insertions, 117 deletions
diff --git a/Browser/vimb/config b/Browser/vimb/config
index 4955cb1..8c143d2 100644
--- a/Browser/vimb/config
+++ b/Browser/vimb/config
@@ -35,11 +35,11 @@ nmap ) <C-N>
nmap S :set scripts=false<CR> r :shellcmd mpv --no-terminal "%s"<CR> :set scripts=true<CR>
-set status-color-bg=#201405
-set status-color-fg=#b3d184
-set status-ssl-color-bg=#201405
-set status-ssl-color-fg=#b3d184
-set completion-bg-active=#201405
-set completion-bg-normal=#201405
-set completion-fg-active=#6faf63
-set completion-fg-normal=#b3d184
+set status-color-bg=#202009
+set status-color-fg=#cd7849
+set status-ssl-color-bg=#202009
+set status-ssl-color-fg=#cd7849
+set completion-bg-active=#202009
+set completion-bg-normal=#202009
+set completion-fg-active=#a0764d
+set completion-fg-normal=#cd7849
diff --git a/Editor/vimrc b/Editor/vimrc
index 0a080a0..7aef0da 100644
--- a/Editor/vimrc
+++ b/Editor/vimrc
@@ -49,7 +49,7 @@ set incsearch " Incremental search
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
-"set number
+set number
"set spell
set ruler
@@ -153,3 +153,7 @@ nnoremap <Leader>w :w<CR>
let g:ycm_goto_buffer_command = 'same-buffer' "[ 'same-buffer', 'horizontal-split', 'vertical-split', 'new-tab' ]
let g:ycm_filetype_whitelist = { '*': 1 }
let g:ycm_key_invoke_completion = '<C-Space>'
+
+"relative number in normal but just number in insert
+autocmd InsertEnter * :set norelativenumber
+autocmd InsertLeave * :set relativenumber
diff --git a/Mail/mutt/mailcap b/Mail/mutt/mailcap
index 136a03f..2ff7cf2 100644
--- a/Mail/mutt/mailcap
+++ b/Mail/mutt/mailcap
@@ -1,2 +1,3 @@
application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; rifle /tmp/mutt/$(basename %s) &
+text/html; vimb '%s' &; test=test -n "$DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
diff --git a/Mail/muttrc b/Mail/muttrc
index 514b1be..840e70e 100644
--- a/Mail/muttrc
+++ b/Mail/muttrc
@@ -65,7 +65,7 @@ ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
-alternative_order text/plain text/html *
+alternative_order text/plain text/enriched text/html *
auto_view text/html
# Hide crap
diff --git a/Shell/bash_aliases b/Shell/bash_aliases
index 72c252a..80ca10d 100644
--- a/Shell/bash_aliases
+++ b/Shell/bash_aliases
@@ -40,7 +40,7 @@ alias py='python3'
alias scan='iwlist wlp2s0 scan'
alias connect='sudo iwconfig wlan0 essid'
alias home='cd /home/vasko'
-alias l='ls -F'
+alias l='ls'
alias d='ls'
alias dm='ls | more'
alias e='cd'
diff --git a/Shell/bashrc b/Shell/bashrc
index abe85a8..2cf29d4 100644
--- a/Shell/bashrc
+++ b/Shell/bashrc
@@ -73,21 +73,21 @@ xterm*|rxvt*)
esac
# enable color support of ls and also add handy aliases
-if [ -x /usr/bin/dircolors ]; then
- test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- alias ls='ls --color=auto'
- alias dir='dir --color=auto'
- alias vdir='vdir --color=auto'
-
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
-fi
-
-# some more ls aliases
-alias ll='ls -alF'
-alias la='ls -A'
-alias l='ls -CF'
+#if [ -x /usr/bin/dircolors ]; then
+# test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+# alias ls='ls --color=auto'
+# alias dir='dir --color=auto'
+# alias vdir='vdir --color=auto'
+#
+# alias grep='grep --color=auto'
+# alias fgrep='fgrep --color=auto'
+# alias egrep='egrep --color=auto'
+#fi
+#
+## some more ls aliases
+#alias ll='ls -alF'
+#alias la='ls -A'
+#alias l='ls -CF'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
diff --git a/Shell/zshrc b/Shell/zshrc
index 9b0e8a6..e0ad925 100644
--- a/Shell/zshrc
+++ b/Shell/zshrc
@@ -54,8 +54,13 @@ if [ -x /usr/bin/dircolors ]; then
alias egrep='egrep --color=auto'
fi
+export ANDROID_HOME=/opt/android-sdk
+
#fortune -s | cowsay -f $(ls /usr/share/cows/ | shuf -n1)
#fortune -s
#~/archey
+
+
+
diff --git a/Xinit/xinitrc b/Xinit/xinitrc
index 08564d0..5316587 100755
--- a/Xinit/xinitrc
+++ b/Xinit/xinitrc
@@ -23,6 +23,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
+#get wifi
+sudo safeconnect
+
# Autodisable rodent
#sudo modprobe -r bcm5974
@@ -57,7 +60,7 @@ sudo /usr/bin/brightchown
~/.custom
#Keyboard Bindings
-setxkbmap us -variant vaskozl
+setxkbmap uc -variant colemak
#xcape -t 300 -e 'Shift_L=parenleft;Shift_R=parenright;Hyper_L=Shift_L|exclam;Hyper_R=Shift_L|question' &
xcape -t 300 -e 'Shift_L=parenleft;Shift_R=parenright;' &
xset r 64
@@ -133,102 +136,102 @@ fi
#fi
-# workspace 1 : Ranger workspace
-# window 1+: Ranger
-if [ $run_everything = true -o $run_workspace = 1 ]; then
- $workspace 1
- $xtoolwait $term ranger
-fi
-
-# workspace 2 is at the end (pentadactyl) slowing down
-
-# workspace 3 : newsbeuter
-if [ $run_everything = true -o $run_workspace = 3 ]; then
- $workspace 3
- $xtoolwait $term newsbeuter
-fi
-
-# workspace 4 : admin workspace
-# window 1: screen (see screenrc.admin for the screen config)
-if [ $run_everything = true -o $run_workspace = 4 ]; then
- $workspace 4
-# $xtoolwait $term $screen_run admin
-fi
-
-# workspace 5 : School
-# windows 1: screen notebok
-if [ $run_everything = true -o $run_workspace = 5 ]; then
- $workspace 5
- cd $HOME/Sync/notes
-# $xtoolwait $term $screen_run school
-fi
+## workspace 1 : Ranger workspace
+## window 1+: Ranger
+#if [ $run_everything = true -o $run_workspace = 1 ]; then
+# $workspace 1
+# $xtoolwait $term ranger
+#fi
+#
+## workspace 2 is at the end (pentadactyl) slowing down
+#
+## workspace 3 : newsbeuter
+#if [ $run_everything = true -o $run_workspace = 3 ]; then
+# $workspace 3
+# $xtoolwait $term newsbeuter
+#fi
+#
+## workspace 4 : admin workspace
+## window 1: screen (see screenrc.admin for the screen config)
+#if [ $run_everything = true -o $run_workspace = 4 ]; then
+# $workspace 4
+## $xtoolwait $term $screen_run admin
+#fi
#
-## workspace 7 : kde workspace (VNC session)
+## workspace 5 : School
+## windows 1: screen notebok
+#if [ $run_everything = true -o $run_workspace = 5 ]; then
+# $workspace 5
+# cd $HOME/Sync/notes
+## $xtoolwait $term $screen_run school
+#fi
+##
+### workspace 7 : kde workspace (VNC session)
+##if [ $run_everything = true -o $run_workspace = 7 ]; then
+## $workspace ^7
+## $xtoolwait vncviewer nerd:1
+## number_and_title 0 "kde"
+##fi
+#
+## workspace 7 : skype workspace
#if [ $run_everything = true -o $run_workspace = 7 ]; then
-# $workspace ^7
-# $xtoolwait vncviewer nerd:1
-# number_and_title 0 "kde"
+# $workspace 7
+## skype &
+## number_and_title 0 "skype"
+# sleep 6
#fi
-
-# workspace 7 : skype workspace
-if [ $run_everything = true -o $run_workspace = 7 ]; then
- $workspace 7
-# skype &
-# number_and_title 0 "skype"
- sleep 6
-fi
-
#
-## workspace 8 : windows workspace (VMware session)
-#if [ $run_everything = true -o $run_workspace = 8 ]; then
-# $workspace ^8
-# #$xtoolwait gnomesu -c /stor/vmware/bin/vmware
-# #number_and_title 0 "windows xp"
+##
+### workspace 8 : windows workspace (VMware session)
+##if [ $run_everything = true -o $run_workspace = 8 ]; then
+## $workspace ^8
+## #$xtoolwait gnomesu -c /stor/vmware/bin/vmware
+## #number_and_title 0 "windows xp"
+##fi
+##
+#
+## workspace 9 : email workspace
+## window 1: mutt
+#if [ $run_everything = true -o $run_workspace = 2 ]; then
+# $workspace 8
+# $xtoolwait $term mutt
#fi
#
-
-# workspace 9 : email workspace
-# window 1: mutt
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 8
- $xtoolwait $term mutt
-fi
-
-# workspace 10 : irc workspace
-# window 1: irc
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 10
- $xtoolwait $term vps
-# $xtoolwait $term irssi
-fi
-
-# workspace 11 : wifi workspace
-# window 1: wicd
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 11
- $xtoolwait $term sudo /usr/bin/safeconnect
-fi
-
-# workspace 12 : music workspace
-# window 1: music
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 12
- mopidy &
- $xtoolwait $term ncmpcpp
-fi
-
-# workspace 13 : volume workspace
-# window 1: volume
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 13
- $xtoolwait $term alsamixer
-fi
-
-# workspace 2 : Vimb workspace
-if [ $run_everything = true -o $run_workspace = 2 ]; then
- $workspace 2
- vimb &
-fi
+## workspace 10 : irc workspace
+## window 1: irc
+#if [ $run_everything = true -o $run_workspace = 2 ]; then
+# $workspace 10
+# $xtoolwait $term vps
+## $xtoolwait $term irssi
+#fi
+#
+## workspace 11 : wifi workspace
+## window 1: wicd
+#if [ $run_everything = true -o $run_workspace = 2 ]; then
+# $workspace 11
+# $xtoolwait $term sudo /usr/bin/safeconnect
+#fi
+#
+## workspace 12 : music workspace
+## window 1: music
+#if [ $run_everything = true -o $run_workspace = 2 ]; then
+# $workspace 12
+# mopidy &
+# $xtoolwait $term ncmpcpp
+#fi
+#
+## workspace 13 : volume workspace
+## window 1: volume
+##if [ $run_everything = true -o $run_workspace = 2 ]; then
+## $workspace 13
+## $xtoolwait $term alsamixer
+##fi
+#
+## workspace 2 : Vimb workspace
+#if [ $run_everything = true -o $run_workspace = 2 ]; then
+# $workspace 2
+# vimb &
+#fi
# Default workspace: 1(ranger)
# $workspace ^1