fixes
This commit is contained in:
parent
138bdbf380
commit
898cec903b
2 changed files with 10 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Will display background chooser
|
# Will display background chooser
|
||||||
# and set it using hsetroot
|
# and set it using hsetroot
|
||||||
|
|
||||||
img=$(find ~/Media/Pictures/Backgrounds/* | shuf | sxiv -itoq | tail -1)
|
img=$(find ~/Pictures/Backgrounds/* | shuf | sxiv -itoq | tail -1)
|
||||||
|
|
||||||
# Exit if none chosen
|
# Exit if none chosen
|
||||||
[ -z "$img" ] && exit
|
[ -z "$img" ] && exit
|
||||||
|
|
|
@ -13,20 +13,19 @@ silent! normal! zE
|
||||||
25,52fold
|
25,52fold
|
||||||
59,80fold
|
59,80fold
|
||||||
87,88fold
|
87,88fold
|
||||||
95,147fold
|
95,182fold
|
||||||
154,155fold
|
189,224fold
|
||||||
162,197fold
|
231,232fold
|
||||||
204,205fold
|
239,240fold
|
||||||
212,213fold
|
247,248fold
|
||||||
220,251fold
|
255,286fold
|
||||||
258,259fold
|
293,294fold
|
||||||
266,288fold
|
|
||||||
let &fdl = &fdl
|
let &fdl = &fdl
|
||||||
let s:l = 82 - ((81 * winheight(0) + 17) / 35)
|
let s:l = 297 - ((9 * winheight(0) + 17) / 35)
|
||||||
if s:l < 1 | let s:l = 1 | endif
|
if s:l < 1 | let s:l = 1 | endif
|
||||||
keepjumps exe s:l
|
keepjumps exe s:l
|
||||||
normal! zt
|
normal! zt
|
||||||
keepjumps 82
|
keepjumps 297
|
||||||
normal! 0
|
normal! 0
|
||||||
let &g:so = s:so_save | let &g:siso = s:siso_save
|
let &g:so = s:so_save | let &g:siso = s:siso_save
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
|
Loading…
Reference in a new issue