Add feh config, make feh default in ranger, add compile shortcut in vim
parent
0987a3ab07
commit
ec47342e55
|
@ -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: <action name> <key1> [<key2> [<key3>]]
|
||||
#
|
||||
# Each <key> 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
|
|
@ -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
|
||||
|
|
|
@ -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 -- "$@"
|
||||
|
||||
#-------------------------------------------
|
||||
|
|
1
.vimrc
1
.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
|
||||
|
|
Loading…
Reference in New Issue