From 21ff8e628050e4369a6abf8b9bc7ee35670c4afa Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Mon, 23 Apr 2018 00:59:29 -0400 Subject: [PATCH] Arch: aurman, GRUB config aliases Fixed #64 by installing xsel. Vim: - PrettyXML - disable airline while fixing Unicode not showing up on Arch --- aliases/zsh_aliases | 3 +++ configs/nzxt/i3/config | 13 +++++++------ dotfiles/vimrc | 9 +++++---- dotfiles/zshrc | 3 ++- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index 23a6a64..78dca84 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -30,8 +30,11 @@ alias dum="du -d 1 -B M" # pacman function pcs() { sudo pacman -S $1 ; } function pcr() { sudo pacman -R $1 ; } +function aus() { aurman -S $1 ; } function mpk() { makepkg -si ; } +alias grbm="sudo grub-mkconfig -o /boot/grub/grub.cfg" + # install deb files function ideb() { sudo dpkg -i $1 ; } diff --git a/configs/nzxt/i3/config b/configs/nzxt/i3/config index 903e42e..cdc36b2 100644 --- a/configs/nzxt/i3/config +++ b/configs/nzxt/i3/config @@ -1,6 +1,7 @@ +# applications {{{ # + set $mod Mod1 -# applications {{{ # # startup {{{ # set $browser "firefox" set $def_term "urxvt" @@ -18,16 +19,16 @@ set $sch_dir "$HOME/Documents/School" # app shortcuts {{{ # bindsym Mod4+a exec studio -bindsym Mod4+1 exec xdotool click --repeat 5 --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+1 exec xdotool click --repeat 5 --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 $mod+control+Return exec i3-sensible-terminal bindsym $mod+control+Return exec $def_term bindsym Mod4+c exec $browser -bindsym Mod4+e exec nemo bindsym Mod4+f exec firefox bindsym Mod4+o exec okular bindsym Mod4+m exec okular $sch_dir/calc-textbook.pdf +bindsym Mod4+n exec nemo bindsym Mod4+p exec pycharm bindsym Mod4+r exec urxvt -e ranger 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+w exec wal -i "$HOME/Pictures/Backgrounds/dim" 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 bindsym $mod+f fullscreen toggle diff --git a/dotfiles/vimrc b/dotfiles/vimrc index f8edd76..5047639 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -98,9 +98,8 @@ Plug 'tpope/vim-surround' Plug 'easymotion/vim-easymotion' " status bar displaying various info about the current buffer -Plug 'vim-airline/vim-airline' -Plug 'vim-airline/vim-airline-themes' - let g:airline_powerline_fonts = 1 +" Plug 'vim-airline/vim-airline' +" Plug 'vim-airline/vim-airline-themes' " continue Markdown lists when started Plug 'dkarter/bullets.vim' @@ -233,6 +232,7 @@ autocmd Filetype tex inoremap tx $t(x)$ " }}} Local Mappings " " format XML {{{ + function! DoPrettyXML() " save the filetype so we can restore it later let l:origft = &ft @@ -261,4 +261,5 @@ function! DoPrettyXML() exe "set ft=" . l:origft endfunction command! PrettyXML call DoPrettyXML() -" }}} + +" format XML }}} diff --git a/dotfiles/zshrc b/dotfiles/zshrc index ae16490..884d94a 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -71,7 +71,8 @@ source ~/linux-config/aliases/zsh_aliases # export MANPATH="/usr/local/man:$MANPATH" # 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 # if [[ -n $SSH_CONNECTION ]]; then