diff --git a/.config/feh/keys b/.config/feh/keys new file mode 100644 index 0000000..2699d02 --- /dev/null +++ b/.config/feh/keys @@ -0,0 +1,33 @@ +# feh key configuration. +# Comments start with a # sign, do not use them mid-line. +# Each line must be blank, a comment, or a key definition. +# +# key definition: [ []] +# +# Each is an X11 keysym (as output by xev) with optional modifier. +# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space +# +menu_parent Left +menu_child Right +menu_down Down +menu_up Up +menu_select space Return + +# Same for image navigation ... +next_img L Right space +prev_img H Left BackSpace + +# and image movement +scroll_up j C-Up +scroll_down k C-Down +scroll_left h C-Left +scroll_right l C-Right + +# remove now conflicts with toggle_filenames, so change that +toggle_filenames f + +# zooming +zoom_in C-plus +zoom_out C-minus +zoom_default d +zoom_fit s diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 95e0221..3db9807 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -183,7 +183,6 @@ set show_selection_in_titlebar true # resolution of 100ms. Lower delay reduces lag between directory updates but # increases CPU load. set idle_delay 2000 -w3m_delay 0.2 # When the metadata manager module looks for metadata, should it only look for # a ".metadata.json" file in the current directory, or do a deep search and diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 9f7a8e9..40afa81 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -153,7 +153,7 @@ ext djvu, has atril, X, flag f = atril -- "$@" #------------------------------------------- # Image Viewing: #------------------------------------------- -mime ^image, X, flag f = viewnior -- "$@" +mime ^image, X, flag f = feh --scale-down -g 896x504 -- "$@" ext xcf, X, flag f = gimp -- "$@" #------------------------------------------- diff --git a/.vimrc b/.vimrc index 087d2e9..fd096de 100644 --- a/.vimrc +++ b/.vimrc @@ -105,3 +105,4 @@ set hlsearch "highlight all occurences of a word that was searched set noeb vb t_vb= "Beeping can fuck right off set t_ut="" "Disabling Vim's 'Background Color Erase' option to mitigate the problem of wrong background colour rendering set breakindent "For better indentation +autocmd BufWritePost config.h !sudo make clean install diff --git a/.zshrc b/.zshrc index ad740d7..3c15797 100644 --- a/.zshrc +++ b/.zshrc @@ -4,8 +4,8 @@ export ZSH="/home/sophon/.oh-my-zsh" #Theme to load -ZSH_THEME="xiong-chiamiov" -#duelj, afowler, random +ZSH_THEME="lukerandall" +#duelj, afowler, random, xiong-chiamiov, lukerandall, gnzh, clean #Plugins plugins=(git zsh-autosuggestions z zsh-syntax-highlighting)