Arch: aurman, GRUB config aliases
Fixed #64 by installing xsel. Vim: - PrettyXML - disable airline while fixing Unicode not showing up on Arch
This commit is contained in:
@@ -30,8 +30,11 @@ alias dum="du -d 1 -B M"
|
|||||||
# pacman
|
# pacman
|
||||||
function pcs() { sudo pacman -S $1 ; }
|
function pcs() { sudo pacman -S $1 ; }
|
||||||
function pcr() { sudo pacman -R $1 ; }
|
function pcr() { sudo pacman -R $1 ; }
|
||||||
|
function aus() { aurman -S $1 ; }
|
||||||
function mpk() { makepkg -si ; }
|
function mpk() { makepkg -si ; }
|
||||||
|
|
||||||
|
alias grbm="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
||||||
|
|
||||||
# install deb files
|
# install deb files
|
||||||
function ideb() { sudo dpkg -i $1 ; }
|
function ideb() { sudo dpkg -i $1 ; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
# applications {{{ #
|
||||||
|
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
|
|
||||||
# applications {{{ #
|
|
||||||
# startup {{{ #
|
# startup {{{ #
|
||||||
set $browser "firefox"
|
set $browser "firefox"
|
||||||
set $def_term "urxvt"
|
set $def_term "urxvt"
|
||||||
@@ -18,16 +19,16 @@ set $sch_dir "$HOME/Documents/School"
|
|||||||
|
|
||||||
# app shortcuts {{{ #
|
# app shortcuts {{{ #
|
||||||
bindsym Mod4+a exec studio
|
bindsym Mod4+a exec studio
|
||||||
bindsym Mod4+1 exec xdotool click --repeat 5 --delay 100 1
|
# bindsym Mod4+1 exec xdotool click --repeat 5 --delay 100 1
|
||||||
bindsym Mod4+2 exec xdotool click --repeat 10 --delay 100 1
|
# bindsym Mod4+2 exec xdotool click --repeat 10 --delay 100 1
|
||||||
bindsym Mod4+3 exec xdotool click --repeat 20 --delay 100 1
|
# bindsym Mod4+3 exec xdotool click --repeat 20 --delay 100 1
|
||||||
# bindsym $mod+control+Return exec i3-sensible-terminal
|
# bindsym $mod+control+Return exec i3-sensible-terminal
|
||||||
bindsym $mod+control+Return exec $def_term
|
bindsym $mod+control+Return exec $def_term
|
||||||
bindsym Mod4+c exec $browser
|
bindsym Mod4+c exec $browser
|
||||||
bindsym Mod4+e exec nemo
|
|
||||||
bindsym Mod4+f exec firefox
|
bindsym Mod4+f exec firefox
|
||||||
bindsym Mod4+o exec okular
|
bindsym Mod4+o exec okular
|
||||||
bindsym Mod4+m exec okular $sch_dir/calc-textbook.pdf
|
bindsym Mod4+m exec okular $sch_dir/calc-textbook.pdf
|
||||||
|
bindsym Mod4+n exec nemo
|
||||||
bindsym Mod4+p exec pycharm
|
bindsym Mod4+p exec pycharm
|
||||||
bindsym Mod4+r exec urxvt -e ranger
|
bindsym Mod4+r exec urxvt -e ranger
|
||||||
bindsym Print exec ksnapshot
|
bindsym Print exec ksnapshot
|
||||||
@@ -97,7 +98,7 @@ bindsym control+Shift+x kill
|
|||||||
bindsym $mod+q exec wal -i "$HOME/Pictures/Backgrounds/vibrant"
|
bindsym $mod+q exec wal -i "$HOME/Pictures/Backgrounds/vibrant"
|
||||||
bindsym $mod+w exec wal -i "$HOME/Pictures/Backgrounds/dim"
|
bindsym $mod+w exec wal -i "$HOME/Pictures/Backgrounds/dim"
|
||||||
bindsym $mod+r exec wal -i "$HOME/Pictures/Backgrounds/"
|
bindsym $mod+r exec wal -i "$HOME/Pictures/Backgrounds/"
|
||||||
bindsym $mod+z exec wal -i "$HOME/Pictures/Backgrounds/sunset-2.jpg"
|
bindsym $mod+z exec feh --bg-fill ~/Pictures/Backgrounds/dim/black.jpg
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|||||||
@@ -98,9 +98,8 @@ Plug 'tpope/vim-surround'
|
|||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
|
|
||||||
" status bar displaying various info about the current buffer
|
" status bar displaying various info about the current buffer
|
||||||
Plug 'vim-airline/vim-airline'
|
" Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
" Plug 'vim-airline/vim-airline-themes'
|
||||||
let g:airline_powerline_fonts = 1
|
|
||||||
|
|
||||||
" continue Markdown lists when started
|
" continue Markdown lists when started
|
||||||
Plug 'dkarter/bullets.vim'
|
Plug 'dkarter/bullets.vim'
|
||||||
@@ -233,6 +232,7 @@ autocmd Filetype tex inoremap <localleader>tx $t(x)$
|
|||||||
" }}} Local Mappings "
|
" }}} Local Mappings "
|
||||||
|
|
||||||
" format XML {{{
|
" format XML {{{
|
||||||
|
|
||||||
function! DoPrettyXML()
|
function! DoPrettyXML()
|
||||||
" save the filetype so we can restore it later
|
" save the filetype so we can restore it later
|
||||||
let l:origft = &ft
|
let l:origft = &ft
|
||||||
@@ -261,4 +261,5 @@ function! DoPrettyXML()
|
|||||||
exe "set ft=" . l:origft
|
exe "set ft=" . l:origft
|
||||||
endfunction
|
endfunction
|
||||||
command! PrettyXML call DoPrettyXML()
|
command! PrettyXML call DoPrettyXML()
|
||||||
" }}}
|
|
||||||
|
" format XML }}}
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ source ~/linux-config/aliases/zsh_aliases
|
|||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# You may need to manually set your language environment
|
||||||
# export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
export LC_MESSAGES="C"
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# Preferred editor for local and remote sessions
|
||||||
# if [[ -n $SSH_CONNECTION ]]; then
|
# if [[ -n $SSH_CONNECTION ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user