-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSession.vim
89 lines (89 loc) · 2.48 KB
/
Session.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
let SessionLoad = 1
let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
let v:this_session=expand("<sfile>:p")
silent only
silent tabonly
cd /home/snoupix/work/rustbee
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
let s:shortmess_save = &shortmess
if &shortmess =~ 'A'
set shortmess=aoOA
else
set shortmess=aoO
endif
badd +21 README.md
badd +100 rustbee
badd +1 .gitignore
badd +1017 rustbee-gui/src/main.rs
badd +9 Cargo.toml
badd +27 rustbee-common/src/lib.rs
badd +18 rustbee-common/src/constants.rs
badd +65 src/main.rs
badd +249 rustbee-daemon/src/main.rs
badd +233 rustbee-common/src/colors.rs
badd +11 rustbee-gui/Cargo.toml
badd +153 src/cli.rs
badd +10 rustbee-common/Cargo.toml
badd +32 rustbee-common/src/tests.rs
badd +57 Justfile
badd +8 rustbee-gui/Justfile
badd +12 rustbee-daemon/Justfile
badd +50 rustbee-common/src/daemon.rs
badd +10 rustbee-daemon/Cargo.toml
badd +8 rustbee-common/librustbee.h
badd +56 rustbee-common/src/ffi.rs
badd +34 rustbee-common/src/storage.rs
badd +9 src/address.rs
badd +52 rustbee-common/src/logger.rs
badd +53 .github/workflows/build_and_release.yml
badd +11 CHANGELOG.md
badd +6 TODO.md
badd +74 rustbee-common/src/windows/bluetooth.rs
badd +203 rustbee-common/src/device.rs
badd +1 rustbee-common/src/linux/mod.rs
badd +120 rustbee-common/src/linux/device.rs
badd +60 rustbee-common/src/windows/device.rs
badd +2 rustbee-common/src/windows/mod.rs
badd +16 rustbee-common/src/utils/mod.rs
badd +94 rustbee-common/src/windows/daemon.rs
badd +1 dist/install_win.bat
badd +13 .github/dependabot.yml
badd +6 .github/workflows/clippy_lint.yml
argglobal
%argdel
edit rustbee-common/src/lib.rs
argglobal
balt rustbee-common/Cargo.toml
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
setlocal fdi=#
setlocal fdl=0
setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
let &fdl = &fdl
let s:l = 27 - ((26 * winheight(0) + 27) / 55)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 27
normal! 05|
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
endif
unlet! s:wipebuf
set winheight=1 winwidth=20
let &shortmess = s:shortmess_save
let s:sx = expand("<sfile>:p:r")."x.vim"
if filereadable(s:sx)
exe "source " . fnameescape(s:sx)
endif
let &g:so = s:so_save | let &g:siso = s:siso_save
doautoall SessionLoadPost
unlet SessionLoad
" vim: set ft=vim :