static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *quitcmd[] = { "killall", "xinit", NULL };
-static const char *passmenu[] = { "passmenu", NULL };
-static const char *passmenu_type[] = { "passmenu", "--type", NULL };
+static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
+static const char *passmenu_type[] = { "passmenu", "--type", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *scr[] = { "scr", NULL };
static const char *scr_sel[] = { "scr", "selection", NULL };
static const char *lock[] = { "slock", NULL };
" Automaticly source some files after writing
autocmd! bufwritepost .vimrc source %
-autocmd! bufwritepost .bashrc !source %
-autocmd! bufwritepost .Xresources !xrdb -merge %
" Some general options
syntax enable
map j gj
map k gk
-" Custom split switching using tab
-map <TAB>l <C-W>l
-map <TAB>h <C-W>h
+" Custom split and tabswitching using tab
+map <TAB>l <C-PageDown>
+map <TAB>h <C-PageUp>
+map <TAB><TAB>l <C-W>l
+map <TAB><TAB>h <C-W>h
map <TAB>j <C-W>j
map <TAB>k <C-W>k