sesh 0.3.7 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.-rplugin~ +10 -0
- data/Gemfile.lock +2 -2
- data/Session.vim +166 -101
- data/lib/sesh/tmux_control.rb +5 -1
- data/lib/sesh/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71b12b07980ed43a85b27dc6da5c322a236c9b14
|
4
|
+
data.tar.gz: a1e8e33ce04725a928cf92f0f8073367c489cc06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1b4dd334ae0c920fbf6f76ba673ae7532237dd9f6be3dc173ebe4fda64d510e193cfb209487b8d6249d53217a6dde0785658b5191e6cf5e88237ca0875e054
|
7
|
+
data.tar.gz: c9447bd5e8f62e671a3d94460689ab892a3a5b047a9915b6a89951596aca14920f6865e1adde86a3c59ba48a573861355429e7f8ae28ffe8fb9612bb95db9dba
|
data/.-rplugin~
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
" python3 plugins
|
2
|
+
call remote#host#RegisterPlugin('python3', '/Users/mackinleysmith/dotfiles/vim/.vim.ruby/bundle/deoplete.nvim/rplugin/python3/deoplete.py', [
|
3
|
+
\ {'sync': 1, 'name': 'DeopleteInitializePython', 'type': 'command', 'opts': {}},
|
4
|
+
\ {'sync': 1, 'name': 'DeopleteMessages', 'type': 'command', 'opts': {}},
|
5
|
+
\ ])
|
6
|
+
|
7
|
+
|
8
|
+
" python plugins
|
9
|
+
|
10
|
+
|
data/Gemfile.lock
CHANGED
data/Session.vim
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
let SessionLoad = 1
|
2
|
-
if &cp | set nocp | endif
|
3
2
|
let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
|
4
3
|
let v:this_session=expand("<sfile>:p")
|
5
4
|
silent only
|
@@ -8,6 +7,61 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
8
7
|
let s:wipebuf = bufnr('%')
|
9
8
|
endif
|
10
9
|
set shortmess=aoO
|
10
|
+
badd +5 ~/Sites/teacher-impact/app/views/teachers/_profile.html.haml
|
11
|
+
badd +87 ~/Sites/energy-innovation-award/config/database.yml
|
12
|
+
badd +15 ~/Sites/teacher-impact/config/initializers/devise.rb
|
13
|
+
badd +15 ~/Sites/teacher-impact/config/secrets.yml
|
14
|
+
badd +9 ~/Sites/teacher-impact/app/views/admin/users/index.html.haml
|
15
|
+
badd +10 ~/Sites/teacher-impact/app/views/admin/users/_table.html.haml
|
16
|
+
badd +21 ~/Sites/teacher-impact/app/views/admin/users/_table_row.html.haml
|
17
|
+
badd +1 ~/Sites/teacher-impact/app/views/admin/users/_details_cell.html.haml
|
18
|
+
badd +1 ~/Sites/teacher-impact/app/views/admin/students/_details_cell.html.haml
|
19
|
+
badd +21 ~/Sites/teacher-impact/app/models/user.rb
|
20
|
+
badd +43 ~/Sites/teacher-impact/app/helpers/user_profiles_helper.rb
|
21
|
+
badd +10 ~/Sites/teacher-impact/app/views/admin/teachers/_table_row.html.haml
|
22
|
+
badd +6 ~/Sites/teacher-impact/app/views/admin/teachers/_details_cell.html.haml
|
23
|
+
badd +6 ~/Sites/teacher-impact/app/views/admin/student_parents/_details_cell.html.haml
|
24
|
+
badd +151 ~/Sites/teacher-impact/app/assets/stylesheets/bootstrap-overrides.scss
|
25
|
+
badd +6 ~/Sites/teacher-impact/app/models/concerns/user_profile.rb
|
26
|
+
badd +16 ~/Sites/teacher-impact/app/models/profile_view.rb
|
27
|
+
badd +14 ~/Sites/teacher-impact/app/helpers/application_helper.rb
|
28
|
+
badd +50 ~/Sites/teacher-impact/app/models/ability.rb
|
29
|
+
badd +1 ~/Sites/teacher-impact/app/views/admin/students/_table_row.html.haml
|
30
|
+
badd +13 ~/Sites/teacher-impact/app/views/admin/student_parents/_table_row.html.haml
|
31
|
+
badd +9 ~/Sites/teacher-impact/app/controllers/application_controller.rb
|
32
|
+
badd +1 ~/Sites/polyblock/app/assets/javascripts/polyblock/polyblock.js.coffee
|
33
|
+
badd +25 ~/Sites/the-riverboat/app/assets/javascripts/admin/users.js.coffee
|
34
|
+
badd +1 ~/Sites/the-riverboat/app/views/events/index.html.haml
|
35
|
+
badd +1 ~/Sites/teacher-impact/app/views/layouts/application.html.haml
|
36
|
+
badd +74 ~/Sites/teacher-impact/app/views/main/home.html.haml
|
37
|
+
badd +16 ~/Sites/teacher-impact/\[Vundle]\ Installer
|
38
|
+
badd +828 /private/var/folders/2s/84cdz1jx6w181h6gyy_mb9dr0000gp/T/nvimg5wUrP/1
|
39
|
+
badd +1 ~/Sites/teacher-impact/app/views/shared/_main_nav.html.haml
|
40
|
+
badd +6 ~/Sites/teacher-impact/app/views/shared/_footer.html.haml
|
41
|
+
badd +5 ~/Sites/teacher-impact/app/views/shared/_social_icons.html.haml
|
42
|
+
badd +54 ~/Sites/teacher-impact/config/environments/development.rb
|
43
|
+
badd +1 ~/Sites/teacher-impact/app/views/shared/_flash_messages.html.haml
|
44
|
+
badd +26 ~/Sites/teacher-impact/spec/features/users_spec.rb
|
45
|
+
badd +7 ~/Sites/teacher-impact/spec/features/students_spec.rb
|
46
|
+
badd +12 ~/Sites/teacher-impact/app/views/devise/invitations/edit.html.haml
|
47
|
+
badd +23 ~/Sites/teacher-impact/config/locales/en.yml
|
48
|
+
badd +10 ~/Sites/teacher-impact/config/locales/devise.en.yml
|
49
|
+
badd +5 ~/Sites/teacher-impact/config/locales/devise_invitable.en.yml
|
50
|
+
badd +18 ~/Sites/teacher-impact/app/controllers/teacher_profiles_controller.rb
|
51
|
+
badd +8 ~/Sites/teacher-impact/app/views/teacher_profiles/_form.html.haml
|
52
|
+
badd +12 ~/Sites/teacher-impact/app/views/student_profiles/_form.html.haml
|
53
|
+
badd +2 ~/Sites/teacher-impact/app/models/student_profile.rb
|
54
|
+
badd +1 ~/Sites/teacher-impact/app/models/teacher_profile.rb
|
55
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_teacher_employment_fields.html.haml
|
56
|
+
badd +22 ~/Sites/teacher-impact/app/controllers/concerns/teacher_profile_fetching.rb
|
57
|
+
badd +3 ~/Sites/teacher-impact/app/controllers/teachers_controller.rb
|
58
|
+
badd +1 ~/Sites/teacher-impact/app/views/teachers/show.html.haml
|
59
|
+
badd +4 ~/Sites/teacher-impact/app/controllers/main_controller.rb
|
60
|
+
badd +1 ~/Sites/teacher-impact/app/models/teacher.rb
|
61
|
+
badd +19 ~/Sites/the-riverboat/app/views/admin/events/index.html.haml
|
62
|
+
badd +3 ~/Sites/teacher-impact/app/controllers/registrations_controller.rb
|
63
|
+
badd +5 ~/Sites/zip_search/lib/zip_search/acts_as_location.rb
|
64
|
+
badd +15 ~/.ssh/config
|
11
65
|
badd +13 ~/Sites/zip_search/zip_search.gemspec
|
12
66
|
badd +1 ~/Sites/zip_search/app/models/zip_search/zip_search.rb
|
13
67
|
badd +1 ~/Sites/zip_search/app/models/zip_search/location.rb
|
@@ -15,7 +69,6 @@ badd +8 ~/Sites/zip_search/lib/zip_search.rb
|
|
15
69
|
badd +7 ~/Sites/zip_search/lib/zip_search/engine.rb
|
16
70
|
badd +1 ~/Sites/zip_search/lib/zip_search/railtie.rb
|
17
71
|
badd +4 ~/Sites/zip_search/lib/zip_search/model_helpers.rb
|
18
|
-
badd +5 ~/Sites/zip_search/lib/zip_search/acts_as_location.rb
|
19
72
|
badd +5 ~/Sites/zip_search/lib/zip_search/strong_params_helper.rb
|
20
73
|
badd +4 ~/Sites/zip_search/test/dummy/config/routes.rb
|
21
74
|
badd +1 ~/Sites/zip_search/test/dummy/app/views/main/home.html.erb
|
@@ -55,7 +108,7 @@ badd +1 ~/Sites/zip_search/app/assets/javascripts/zip_search/init.js
|
|
55
108
|
badd +6 ~/Sites/zip_search/lib/zip_search/simple_form_helper.rb
|
56
109
|
badd +1 \'/Users/smit1625/Sites/zip_search/app/views/zip_search/_simple_fields.html.erb\'
|
57
110
|
badd +1 ~/Sites/zip_search/app/views/zip_search/_simple_fields.html.erb
|
58
|
-
badd +
|
111
|
+
badd +1 lib/sesh/version.rb
|
59
112
|
badd +1 ~/Sites/energy_innovation_award/index.html
|
60
113
|
badd +1 ~/Sites/energy_innovation_award/css/custom.css
|
61
114
|
badd +1 ~/Sites/energy_innovation_award/about.html
|
@@ -317,15 +370,77 @@ badd +12 ~/Sites/polygallery/lib/polygallery/paperclip_integration.rb
|
|
317
370
|
badd +172 lib/sesh/cli.rb
|
318
371
|
badd +18 lib/sesh/inferences.rb
|
319
372
|
badd +13 lib/sesh/assets/sample.yml
|
320
|
-
badd +
|
373
|
+
badd +47 lib/sesh/tmux_control.rb
|
321
374
|
badd +15 lib/sesh/ssh_control.rb
|
322
375
|
badd +1 lib/sesh.rb
|
323
376
|
badd +32 sesh.gemspec
|
324
377
|
badd +18 exe/return_to_sesh.applescript
|
325
378
|
badd +1 \'/Users/smit1625/Sites/sesh/exe/return_to_sesh.applescript\'
|
326
|
-
badd +
|
379
|
+
badd +1 exe/return_to_sesh
|
327
380
|
badd +3 exe/sesh
|
328
381
|
badd +4 Gemfile
|
382
|
+
badd +1 ~/Sites/teacher-impact/app/assets/stylesheets/bootstrap-variables.scss
|
383
|
+
badd +1 ~/Sites/teacher-impact/app/models/teacher_employment.rb
|
384
|
+
badd +1 ~/Sites/teacher-impact/app/models/school_attendance.rb
|
385
|
+
badd +1 \'/Users/mackinleysmith/Sites/teacher-impact/app/views/teacher_profiles/_awards_and_recognitions.html.haml\'
|
386
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_awards_and_recognitions.html.haml
|
387
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_comments.html.haml
|
388
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_employment_history_form.html.haml
|
389
|
+
badd +6 ~/Sites/teacher-impact/config/routes.rb
|
390
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/employment_history.html.haml
|
391
|
+
badd +1 ~/Sites/teacher-impact/config/initializers/simple_form_bootstrap.rb
|
392
|
+
badd +1 ~/Sites/teacher-impact/app/views/schools/_nested_fields.html.haml
|
393
|
+
badd +85 ~/Sites/teacher-impact/Gemfile
|
394
|
+
badd +1 ~/Sites/teacher-impact/app/models/school.rb
|
395
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/schools_controller.rb
|
396
|
+
badd +1 ~/Sites/teacher-impact/app/assets/javascripts/schools.coffee
|
397
|
+
badd +1 ~/Sites/teacher-impact/app/views/student_profiles/_school_attendance_fields.html.haml
|
398
|
+
badd +1 ~/Sites/teacher-impact/db/schema.rb
|
399
|
+
badd +4 ~/Sites/teacher-impact/app/views/teacher_profiles/_currently_teaching.html.haml
|
400
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_employment_history.html.haml
|
401
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_career_background.html.haml
|
402
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_instructional_skills.html.haml
|
403
|
+
badd +1 ~/Sites/teacher-impact/app/views/teacher_profiles/_teaching_philosophy.html.haml
|
404
|
+
badd +21 ~/Sites/teacher-impact/app/views/schools/show.html.haml
|
405
|
+
badd +1 ~/Sites/teacher-impact/app/views/students/_profile.html.haml
|
406
|
+
badd +1 ~/Sites/teacher-impact/app/views/students/show.html.haml
|
407
|
+
badd +1 ~/Sites/teacher-impact/app/views/student_profiles/_schools_attended.html.haml
|
408
|
+
badd +1 ~/Sites/teacher-impact/app/views/student_profiles/_currently_attending.html.haml
|
409
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/student_parents_controller.rb
|
410
|
+
badd +1 ~/Sites/teacher-impact/app/views/student_parents/show.html.haml
|
411
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/student_parent_profiles_controller.rb
|
412
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/concerns/student_parent_profile_fetching.rb
|
413
|
+
badd +12 ~/Sites/teacher-impact/app/views/student_parents/_profile.html.haml
|
414
|
+
badd +2 ~/Sites/teacher-impact/app/views/main/search.html.haml
|
415
|
+
badd +1 ~/Sites/teacher-impact/db/migrate/20151005205719_create_instructional_skills.rb
|
416
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/concerns/student_profile_fetching.rb
|
417
|
+
badd +1 ~/Sites/teacher-impact/db/migrate/20151005211627_create_teacher_skills.rb
|
418
|
+
badd +1 ~/Sites/teacher-impact/app/models/teacher_skill.rb
|
419
|
+
badd +1 ~/Sites/teacher-impact/app/models/instructional_skill.rb
|
420
|
+
badd +1 ~/Sites/teacher-impact/db/migrate/20151005212541_create_endorsements.rb
|
421
|
+
badd +7 ~/Sites/teacher-impact/app/views/student_parent_profiles/_form.html.haml
|
422
|
+
badd +1 ~/Sites/teacher-impact/app/views/schools/_search_result.html.haml
|
423
|
+
badd +1 ~/Sites/teacher-impact/app/views/users/_search_result.html.haml
|
424
|
+
badd +1 ~/Sites/teacher-impact/app/views/users/_role_indicator.html.haml
|
425
|
+
badd +1 ~/Sites/teacher-impact/app/views/users/_avatar.html.haml
|
426
|
+
badd +1 ~/Sites/teacher-impact/app/views/schools/_avatar.html.haml
|
427
|
+
badd +1 ~/Sites/teacher-impact/app/views/schools/_role_indicator.html.haml
|
428
|
+
badd +1 ~/Sites/teacher-impact/app/views/admin/schools/_table_row.html.haml
|
429
|
+
badd +1 ~/Sites/teacher-impact/app/views/admin/schools/_details_cell.html.haml
|
430
|
+
badd +1 ~/Sites/teacher-impact/app/assets/javascripts/bootstrap-tagsinput.js
|
431
|
+
badd +1 ~/Sites/teacher-impact/app/assets/javascripts/application.js
|
432
|
+
badd +1 ~/Sites/teacher-impact/app/assets/javascripts/teacher_profiles.coffee
|
433
|
+
badd +15 ~/Sites/teacher-impact/app/models/endorsement.rb
|
434
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/admin/users_controller.rb
|
435
|
+
badd +1 ~/Sites/teacher-impact/app/controllers/user_profiles_controller.rb
|
436
|
+
badd +17 ~/Sites/teacher-impact/spec/models/user_spec.rb
|
437
|
+
badd +1 ~/Sites/teacher-impact/app/views/devise/registrations/new.html.haml
|
438
|
+
badd +1 ~/Sites/teacher-impact/app/views/devise/registrations/edit.html.haml
|
439
|
+
badd +19 ~/Sites/teacher-impact/app/views/admin/base/analytics.html.haml
|
440
|
+
badd +28 ~/Sites/teacher-impact/app/controllers/admin/charts_controller.rb
|
441
|
+
badd +27 \[Vundle]\ Installer
|
442
|
+
badd +23 /private/var/folders/2s/84cdz1jx6w181h6gyy_mb9dr0000gp/T/nvim9QEUgO/1
|
443
|
+
badd +23 /var/folders/2s/84cdz1jx6w181h6gyy_mb9dr0000gp/T/nvim9QEUgO/1
|
329
444
|
argglobal
|
330
445
|
silent! argdel *
|
331
446
|
edit lib/sesh/version.rb
|
@@ -338,14 +453,7 @@ vsplit
|
|
338
453
|
1wincmd h
|
339
454
|
wincmd _ | wincmd |
|
340
455
|
split
|
341
|
-
|
342
|
-
split
|
343
|
-
2wincmd k
|
344
|
-
wincmd w
|
345
|
-
wincmd _ | wincmd |
|
346
|
-
vsplit
|
347
|
-
1wincmd h
|
348
|
-
wincmd w
|
456
|
+
1wincmd k
|
349
457
|
wincmd w
|
350
458
|
wincmd w
|
351
459
|
wincmd _ | wincmd |
|
@@ -364,43 +472,21 @@ set nosplitbelow
|
|
364
472
|
set nosplitright
|
365
473
|
wincmd t
|
366
474
|
set winheight=1 winwidth=1
|
367
|
-
exe '1resize ' . ((&lines *
|
368
|
-
exe 'vert 1resize ' . ((&columns *
|
369
|
-
exe '2resize ' . ((&lines *
|
370
|
-
exe 'vert 2resize ' . ((&columns *
|
371
|
-
exe '3resize ' . ((&lines *
|
372
|
-
exe 'vert 3resize ' . ((&columns *
|
373
|
-
exe '4resize ' . ((&lines *
|
374
|
-
exe 'vert 4resize ' . ((&columns *
|
375
|
-
exe '5resize ' . ((&lines *
|
376
|
-
exe 'vert 5resize ' . ((&columns *
|
377
|
-
exe '6resize ' . ((&lines *
|
378
|
-
exe 'vert 6resize ' . ((&columns *
|
379
|
-
exe '7resize ' . ((&lines *
|
380
|
-
exe 'vert 7resize ' . ((&columns *
|
381
|
-
exe '8resize ' . ((&lines * 14 + 31) / 62)
|
382
|
-
exe 'vert 8resize ' . ((&columns * 90 + 136) / 272)
|
383
|
-
exe '9resize ' . ((&lines * 14 + 31) / 62)
|
384
|
-
exe 'vert 9resize ' . ((&columns * 90 + 136) / 272)
|
385
|
-
argglobal
|
386
|
-
setlocal fdm=manual
|
387
|
-
setlocal fde=0
|
388
|
-
setlocal fmr={{{,}}}
|
389
|
-
setlocal fdi=#
|
390
|
-
setlocal fdl=0
|
391
|
-
setlocal fml=1
|
392
|
-
setlocal fdn=20
|
393
|
-
setlocal fen
|
394
|
-
silent! normal! zE
|
395
|
-
let s:l = 2 - ((1 * winheight(0) + 7) / 15)
|
396
|
-
if s:l < 1 | let s:l = 1 | endif
|
397
|
-
exe s:l
|
398
|
-
normal! zt
|
399
|
-
2
|
400
|
-
normal! 018|
|
401
|
-
wincmd w
|
475
|
+
exe '1resize ' . ((&lines * 20 + 31) / 62)
|
476
|
+
exe 'vert 1resize ' . ((&columns * 136 + 136) / 272)
|
477
|
+
exe '2resize ' . ((&lines * 18 + 31) / 62)
|
478
|
+
exe 'vert 2resize ' . ((&columns * 136 + 136) / 272)
|
479
|
+
exe '3resize ' . ((&lines * 20 + 31) / 62)
|
480
|
+
exe 'vert 3resize ' . ((&columns * 135 + 136) / 272)
|
481
|
+
exe '4resize ' . ((&lines * 18 + 31) / 62)
|
482
|
+
exe 'vert 4resize ' . ((&columns * 135 + 136) / 272)
|
483
|
+
exe '5resize ' . ((&lines * 20 + 31) / 62)
|
484
|
+
exe 'vert 5resize ' . ((&columns * 137 + 136) / 272)
|
485
|
+
exe '6resize ' . ((&lines * 20 + 31) / 62)
|
486
|
+
exe 'vert 6resize ' . ((&columns * 53 + 136) / 272)
|
487
|
+
exe '7resize ' . ((&lines * 20 + 31) / 62)
|
488
|
+
exe 'vert 7resize ' . ((&columns * 80 + 136) / 272)
|
402
489
|
argglobal
|
403
|
-
edit exe/return_to_sesh
|
404
490
|
setlocal fdm=manual
|
405
491
|
setlocal fde=0
|
406
492
|
setlocal fmr={{{,}}}
|
@@ -410,30 +496,12 @@ setlocal fml=1
|
|
410
496
|
setlocal fdn=20
|
411
497
|
setlocal fen
|
412
498
|
silent! normal! zE
|
413
|
-
let s:l = 2 - ((1 * winheight(0) +
|
499
|
+
let s:l = 2 - ((1 * winheight(0) + 10) / 20)
|
414
500
|
if s:l < 1 | let s:l = 1 | endif
|
415
501
|
exe s:l
|
416
502
|
normal! zt
|
417
503
|
2
|
418
|
-
normal!
|
419
|
-
wincmd w
|
420
|
-
argglobal
|
421
|
-
edit exe/sesh
|
422
|
-
setlocal fdm=manual
|
423
|
-
setlocal fde=0
|
424
|
-
setlocal fmr={{{,}}}
|
425
|
-
setlocal fdi=#
|
426
|
-
setlocal fdl=0
|
427
|
-
setlocal fml=1
|
428
|
-
setlocal fdn=20
|
429
|
-
setlocal fen
|
430
|
-
silent! normal! zE
|
431
|
-
let s:l = 3 - ((2 * winheight(0) + 7) / 14)
|
432
|
-
if s:l < 1 | let s:l = 1 | endif
|
433
|
-
exe s:l
|
434
|
-
normal! zt
|
435
|
-
3
|
436
|
-
normal! 05|
|
504
|
+
normal! 019|
|
437
505
|
wincmd w
|
438
506
|
argglobal
|
439
507
|
edit lib/sesh/tmux_control.rb
|
@@ -446,12 +514,12 @@ setlocal fml=1
|
|
446
514
|
setlocal fdn=20
|
447
515
|
setlocal fen
|
448
516
|
silent! normal! zE
|
449
|
-
let s:l =
|
517
|
+
let s:l = 42 - ((7 * winheight(0) + 9) / 18)
|
450
518
|
if s:l < 1 | let s:l = 1 | endif
|
451
519
|
exe s:l
|
452
520
|
normal! zt
|
453
|
-
|
454
|
-
normal!
|
521
|
+
42
|
522
|
+
normal! 049|
|
455
523
|
wincmd w
|
456
524
|
argglobal
|
457
525
|
edit lib/sesh/ssh_control.rb
|
@@ -464,7 +532,7 @@ setlocal fml=1
|
|
464
532
|
setlocal fdn=20
|
465
533
|
setlocal fen
|
466
534
|
silent! normal! zE
|
467
|
-
let s:l = 38 - ((
|
535
|
+
let s:l = 38 - ((0 * winheight(0) + 10) / 20)
|
468
536
|
if s:l < 1 | let s:l = 1 | endif
|
469
537
|
exe s:l
|
470
538
|
normal! zt
|
@@ -482,12 +550,12 @@ setlocal fml=1
|
|
482
550
|
setlocal fdn=20
|
483
551
|
setlocal fen
|
484
552
|
silent! normal! zE
|
485
|
-
let s:l =
|
553
|
+
let s:l = 36 - ((35 * winheight(0) + 9) / 18)
|
486
554
|
if s:l < 1 | let s:l = 1 | endif
|
487
555
|
exe s:l
|
488
556
|
normal! zt
|
489
|
-
|
490
|
-
normal!
|
557
|
+
36
|
558
|
+
normal! 025|
|
491
559
|
wincmd w
|
492
560
|
argglobal
|
493
561
|
edit lib/sesh.rb
|
@@ -500,11 +568,11 @@ setlocal fml=1
|
|
500
568
|
setlocal fdn=20
|
501
569
|
setlocal fen
|
502
570
|
silent! normal! zE
|
503
|
-
let s:l =
|
571
|
+
let s:l = 39 - ((7 * winheight(0) + 10) / 20)
|
504
572
|
if s:l < 1 | let s:l = 1 | endif
|
505
573
|
exe s:l
|
506
574
|
normal! zt
|
507
|
-
|
575
|
+
39
|
508
576
|
normal! 023|
|
509
577
|
wincmd w
|
510
578
|
argglobal
|
@@ -518,7 +586,7 @@ setlocal fml=1
|
|
518
586
|
setlocal fdn=20
|
519
587
|
setlocal fen
|
520
588
|
silent! normal! zE
|
521
|
-
let s:l = 23 - ((3 * winheight(0) +
|
589
|
+
let s:l = 23 - ((3 * winheight(0) + 10) / 20)
|
522
590
|
if s:l < 1 | let s:l = 1 | endif
|
523
591
|
exe s:l
|
524
592
|
normal! zt
|
@@ -536,34 +604,29 @@ setlocal fml=1
|
|
536
604
|
setlocal fdn=20
|
537
605
|
setlocal fen
|
538
606
|
silent! normal! zE
|
539
|
-
let s:l = 246 - ((
|
607
|
+
let s:l = 246 - ((0 * winheight(0) + 10) / 20)
|
540
608
|
if s:l < 1 | let s:l = 1 | endif
|
541
609
|
exe s:l
|
542
610
|
normal! zt
|
543
611
|
246
|
544
612
|
normal! 019|
|
545
613
|
wincmd w
|
546
|
-
|
547
|
-
exe '1resize ' . ((&
|
548
|
-
exe '
|
549
|
-
exe '2resize ' . ((&
|
550
|
-
exe '
|
551
|
-
exe '3resize ' . ((&
|
552
|
-
exe '
|
553
|
-
exe '4resize ' . ((&
|
554
|
-
exe '
|
555
|
-
exe '5resize ' . ((&
|
556
|
-
exe '
|
557
|
-
exe '6resize ' . ((&
|
558
|
-
exe '
|
559
|
-
exe '7resize ' . ((&
|
560
|
-
exe 'vert 7resize ' . ((&columns * 90 + 136) / 272)
|
561
|
-
exe '8resize ' . ((&lines * 14 + 31) / 62)
|
562
|
-
exe 'vert 8resize ' . ((&columns * 90 + 136) / 272)
|
563
|
-
exe '9resize ' . ((&lines * 14 + 31) / 62)
|
564
|
-
exe 'vert 9resize ' . ((&columns * 90 + 136) / 272)
|
614
|
+
exe '1resize ' . ((&lines * 20 + 31) / 62)
|
615
|
+
exe 'vert 1resize ' . ((&columns * 136 + 136) / 272)
|
616
|
+
exe '2resize ' . ((&lines * 18 + 31) / 62)
|
617
|
+
exe 'vert 2resize ' . ((&columns * 136 + 136) / 272)
|
618
|
+
exe '3resize ' . ((&lines * 20 + 31) / 62)
|
619
|
+
exe 'vert 3resize ' . ((&columns * 135 + 136) / 272)
|
620
|
+
exe '4resize ' . ((&lines * 18 + 31) / 62)
|
621
|
+
exe 'vert 4resize ' . ((&columns * 135 + 136) / 272)
|
622
|
+
exe '5resize ' . ((&lines * 20 + 31) / 62)
|
623
|
+
exe 'vert 5resize ' . ((&columns * 137 + 136) / 272)
|
624
|
+
exe '6resize ' . ((&lines * 20 + 31) / 62)
|
625
|
+
exe 'vert 6resize ' . ((&columns * 53 + 136) / 272)
|
626
|
+
exe '7resize ' . ((&lines * 20 + 31) / 62)
|
627
|
+
exe 'vert 7resize ' . ((&columns * 80 + 136) / 272)
|
565
628
|
tabnext 1
|
566
|
-
if exists('s:wipebuf')
|
629
|
+
if exists('s:wipebuf') && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
|
567
630
|
silent exe 'bwipe ' . s:wipebuf
|
568
631
|
endif
|
569
632
|
unlet! s:wipebuf
|
@@ -573,7 +636,9 @@ if file_readable(s:sx)
|
|
573
636
|
exe "source " . fnameescape(s:sx)
|
574
637
|
endif
|
575
638
|
let &so = s:so_save | let &siso = s:siso_save
|
576
|
-
|
639
|
+
let g:this_session = v:this_session
|
577
640
|
let g:this_obsession = v:this_session
|
641
|
+
let g:this_obsession_status = 2
|
642
|
+
doautoall SessionLoadPost
|
578
643
|
unlet SessionLoad
|
579
644
|
" vim: set ft=vim :
|
data/lib/sesh/tmux_control.rb
CHANGED
@@ -37,7 +37,10 @@ module Sesh
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def issue_stop_command!
|
40
|
-
|
40
|
+
# puts 'issuing stop command...'
|
41
|
+
output = `ps -ef | grep "[t]mux -u attach-session -t #{Regexp.escape(@project)}\\$" | grep -v grep | awk '{print $2}' | xargs kill -9`
|
42
|
+
puts "stop command issued! Output: #{output}"
|
43
|
+
output
|
41
44
|
end
|
42
45
|
|
43
46
|
def connection_command; "tmux -S #{@socket_file} a" end
|
@@ -186,6 +189,7 @@ module Sesh
|
|
186
189
|
inferred_location = Inferences.infer_tmux_location
|
187
190
|
# puts "Inferred location: #{inferred_location}"
|
188
191
|
if options[:pane].nil?
|
192
|
+
puts inferred_location.inspect
|
189
193
|
if inferred_location[:project] == @project then system options[:command]
|
190
194
|
else interrupt_and_send_command_to_project! options[:command] end
|
191
195
|
else
|
data/lib/sesh/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sesh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
@@ -117,6 +117,7 @@ executables:
|
|
117
117
|
extensions: []
|
118
118
|
extra_rdoc_files: []
|
119
119
|
files:
|
120
|
+
- ".-rplugin~"
|
120
121
|
- ".gitignore"
|
121
122
|
- Gemfile
|
122
123
|
- Gemfile.lock
|