-
Notifications
You must be signed in to change notification settings - Fork 0
/
csasrc
executable file
·116 lines (111 loc) · 3.44 KB
/
csasrc
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
set Verbose 0
alias shell 'exec -ncw ${SHELL} -c $$'
alias bulkrename 'scout -g - -- bulk -n -S /bin/sh -E ${EDITOR} -b mv'
alias bulkrename_r 'scout -r -g - -- bulk -S /bin/sh -E ${EDITOR} -b mv'
map y 'exec -s /bin/sh -c $$ printf %%s "\"%d/%f\"" | xclip -sel clip'
map Y 'exec -s /bin/sh -c $$ printf %%s "\"%f\"" | xclip -sel clip'
map i 'exec -nw less "%f"'
map ? 'exec -nw /bin/man csas'
map <left> 'cd ..'
map <right> 'file_run %f'
map <up> 'move -d'
map <down> 'move -u'
map s 'console "shell "'
map S 'exec -nw ${SHELL}'
map b "bulkrename"
map Bb "bulkrename_r -N"
map BB "bulkrename_r -n"
map K 'move -d LINES>>1'
map J 'move -u LINES>>1'
map V 'set Visual Visual^1'
map or 'set SortMethod s_none'
map oR 'set SortMethod s_none|s_reverse'
map ot 'set SortMethod s_type|s_ddist|s_lddist'
map oT 'set SortMethod s_type|s_reverse|s_ddist|s_lddist'
map os 'set SortMethod s_size|s_ddist|s_lddist'
map oS 'set SortMethod s_size|s_reverse|s_ddist|s_lddist'
map om 'set SortMethod s_mtime|s_ddist|s_lddist'
map oM 'set SortMethod s_mtime|s_reverse|s_ddist|s_lddist'
map on 'set SortMethod s_cname|s_ddist|s_lddist'
map oN 'set SortMethod s_cname|s_reverse|s_ddist|s_lddist'
map ob 'set SortMethod s_name|s_ddist|s_lddist'
map oB 'set SortMethod s_name|s_reverse|s_ddist|s_lddist'
map Ms 'set LineMode l_size'
map Mm 'set LineMode l_mtime'
map Mp 'set LineMode l_perms'
map gu 'cd /usr'
map gv 'cd /var'
map gp 'cd /tmp'
map gs 'cd /srv'
map go 'cd /opt'
map gM 'cd /mnt'
map ge 'cd /etc'
map gd 'cd /dev'
map vta 'scout -a -- select -T'
map vth 'scout -- select -T'
map vda 'scout -a -- select -D'
map vdh 'scout -- select -D'
map vea 'scout -a -- select -E'
map veh 'scout -- select -E'
map dct 'scout -- ds -s -C'
map dCt 'scout -- ds -s -r -C'
map dst 'scout -- ds -s -S'
map dSt 'scout -- ds -s -r -S'
map dft 'scout -- ds -s -F'
map dch 'scout -t d -g - -- ds -C'
map dCh 'scout -t d -g - -- ds -r -C'
map dsh 'scout -t d -g - -- ds -S'
map dSh 'scout -t d -g - -- ds -r -S'
map dfh 'scout -t d -g - -- ds -F'
map mm 'scout -a -g - -- fmod -M -c'
map mr 'scout -a -g - -- fmod -M -r'
map md 'scout -a -g - -- fmod -M -d'
map mM 'scout -a -g - -- fmod -M -m -c'
map mR 'scout -a -g - -- fmod -M -m -r'
map mD 'scout -a -g - -- fmod -M -m -d'
map pp 'scout -a -g - -- fmod -C -c'
map pr 'scout -a -g - -- fmod -C -r'
map pd 'scout -a -g - -- fmod -C -d'
map pP 'scout -a -g - -- fmod -C -c -m'
map pR 'scout -a -g - -- fmod -C -r -m'
map pD 'scout -a -g - -- fmod -C -d -m'
map Dd 'scout -a -g - -- fmod -D'
map DD 'scout -g - -- fmod -D'
map Dt 'scout -- fmod -s -D'
map / 'console -n 9 "scout -G -- list"'
map n 'lmove -n 1'
map N 'lmove -p 1'
map f 'console -n 9 "scout -G -- filter"'
map F 'scout -- filter -C; sort'
map <space> 'scout -- select -s -T; move -u'
set -s Editor ${EDITOR}
set BufferSize 1<<18
set MoveOffset 3
set WrapScroll 0
set JumpScroll 0
set JumpScrollValue 0
set DirSizeMethod d_c
set SortMethod s_vcname|s_ddist|s_lddist
set DirLoadingMode dm_once|d_follow
set Color 1
set HostnameInTitlebar 1
set NumberLines 0
set NumberLinesOffset 0
set NumberLinesStartFrom 0
set IdleDelay 2000
set ColorByExtension 1
set UpdateFile 1
set SizeInBytes 0
set FileSystemInfo fs_avail
set MultipaneView 1
set FollowParentDir 1
set LeftWindowSize 1
set CenterWindowSize 3
set RightWindowSize 4
set Borders b_none
set ShowKeyBindings 1
set PreviewSettings p_dir|p_file
set -s BinaryPreview "file"
set OpenAllImages 1
//trap 'scout -vG "^\\." -- filter' NEWDIR //hide "hidden" files
source ~/.config/csasrc