man pages with vim, more work on wm
:
This commit is contained in:
parent
bde1b11dad
commit
39d8abefa4
4 changed files with 27 additions and 16 deletions
11
sh/bashrc
11
sh/bashrc
|
@ -61,6 +61,17 @@ prompt_command_func()
|
|||
}
|
||||
export PROMPT_COMMAND="prompt_command_func"
|
||||
|
||||
# man pages with vim
|
||||
vman() {
|
||||
vim -c "SuperMan $*"
|
||||
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "No manual entry for $*"
|
||||
fi
|
||||
}
|
||||
alias _man="man"
|
||||
alias man="vman"
|
||||
|
||||
# allow a per-device script that is pulled in
|
||||
if [ -a "$HOME/.bashrc_env" ]; then
|
||||
. "$HOME/.bashrc_env"
|
||||
|
|
|
@ -2,15 +2,17 @@
|
|||
|
||||
source "$DOTFILES_PATH/variables.bash"
|
||||
source "$DOTFILES_PATH/scripts/get_color.sh"
|
||||
source "$DOTFILES_PATH/scripts/get_x_fonts.sh"
|
||||
|
||||
bspc config normal_border_color "#$(get_color 05)"
|
||||
bspc config focused_border_color "#$(get_color 0D)"
|
||||
bspc config active_border_color "#$(get_color 0D)"
|
||||
bspc config border_width "$BORDER_WIDTH"
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config focus_by_distance true
|
||||
bspc config normal_border_color "#$(get_color 05)"
|
||||
bspc config focused_border_color "#$(get_color 0D)"
|
||||
bspc config active_border_color "#$(get_color 0D)"
|
||||
bspc config presel_feedback_color "#$(get_color 0D)"
|
||||
bspc config border_width "$BORDER_WIDTH"
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config focus_by_distance true
|
||||
|
||||
bspc config window_gap "$WINDOW_GAP"
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
source "$DOTFILES_PATH/variables.bash"
|
||||
|
||||
source "$DOTFILES_PATH/wm/bspwm_config"
|
||||
source "$DOTFILES_PATH/scripts/get_color.sh"
|
||||
source "$DOTFILES_PATH/scripts/get_x_fonts.sh"
|
||||
|
||||
urxvtd &
|
||||
sxhkd &
|
||||
|
|
12
wm/sxhkdrc
12
wm/sxhkdrc
|
@ -1,20 +1,16 @@
|
|||
# node manager shortcuts
|
||||
|
||||
# kill the node manager
|
||||
# kill the wm
|
||||
super + ctrl + Escape
|
||||
bspc quit
|
||||
|
||||
# kill the current node
|
||||
# kill the current application
|
||||
super + c
|
||||
bspc node -c
|
||||
|
||||
# swap layouts
|
||||
#super + y
|
||||
# bspc desktop -l next
|
||||
|
||||
# balance node surface area on current desktop
|
||||
super + b
|
||||
bspc desktop -B
|
||||
bspc node -B
|
||||
|
||||
# toggle floating/fullscreen modes for current node
|
||||
super + {s,f}
|
||||
|
@ -48,7 +44,7 @@ super + {p,n}
|
|||
|
||||
# rotate node placement on current desktop
|
||||
super + r
|
||||
bspc desktop -R 90
|
||||
bspc node -R 90
|
||||
|
||||
# preselect the splitting area for the current node
|
||||
super + ctrl + {h,j,k,l}
|
||||
|
|
Reference in a new issue