Auto List spreading is depreciated; remove it
This commit is contained in:
parent
fdfa2f55a6
commit
c1ab4121a2
11
Session.vim
11
Session.vim
|
|
@ -13,10 +13,11 @@ if &shortmess =~ 'A'
|
||||||
else
|
else
|
||||||
set shortmess=aoO
|
set shortmess=aoO
|
||||||
endif
|
endif
|
||||||
badd +57 templates/nushell.txt
|
badd +47 templates/nushell.txt
|
||||||
|
badd +0 oil:///home/felix/coding/OpenSource/zoxide/
|
||||||
argglobal
|
argglobal
|
||||||
%argdel
|
%argdel
|
||||||
$argadd .
|
$argadd oil:///home/felix/coding/OpenSource/zoxide/
|
||||||
edit templates/nushell.txt
|
edit templates/nushell.txt
|
||||||
wincmd t
|
wincmd t
|
||||||
let s:save_winminheight = &winminheight
|
let s:save_winminheight = &winminheight
|
||||||
|
|
@ -34,12 +35,12 @@ setlocal fdl=99
|
||||||
setlocal fml=1
|
setlocal fml=1
|
||||||
setlocal fdn=99
|
setlocal fdn=99
|
||||||
setlocal fen
|
setlocal fen
|
||||||
let s:l = 57 - ((19 * winheight(0) + 11) / 23)
|
let s:l = 47 - ((36 * winheight(0) + 27) / 55)
|
||||||
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 57
|
keepjumps 47
|
||||||
normal! 041|
|
normal! 043|
|
||||||
tabnext 1
|
tabnext 1
|
||||||
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
|
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
|
||||||
silent exe 'bwipe ' . s:wipebuf
|
silent exe 'bwipe ' . s:wipebuf
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ def --env __zoxide_z [...rest:string] {
|
||||||
let path = if (($rest | length) <= 1) and ($arg0 == '-' or ($arg0 | path expand | path type) == dir) {
|
let path = if (($rest | length) <= 1) and ($arg0 == '-' or ($arg0 | path expand | path type) == dir) {
|
||||||
$arg0
|
$arg0
|
||||||
} else {
|
} else {
|
||||||
(zoxide query --exclude $env.PWD -- $rest | str trim -r -c "\n")
|
(zoxide query --exclude $env.PWD -- ...$rest | str trim -r -c "\n")
|
||||||
}
|
}
|
||||||
cd $path
|
cd $path
|
||||||
{%- if echo %}
|
{%- if echo %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue