Browse Source

Initial commit

master
Kolan Sh 7 years ago
commit
d74a379e12
17 changed files with 1602 additions and 0 deletions
  1. 171
    0
      .config/mc/ini
  2. 776
    0
      .config/mc/mc.ext
  3. 6
    0
      .config/mc/mc.keymap
  4. 1
    0
      .config/mc/panels.ini
  5. 49
    0
      .gitconfig
  6. 47
    0
      .grc/grc.conf
  7. 16
    0
      .gtkrc-2.0
  8. 83
    0
      .hgrc
  9. 23
    0
      .htoprc
  10. 102
    0
      .links/links.cfg
  11. 146
    0
      .local/share/mc/skins/klmn0.ini
  12. 21
    0
      .screenrc
  13. 35
    0
      .tmux.conf
  14. 1
    0
      .valgrindrc
  15. 0
    0
      .vim/plugin/.keep
  16. 7
    0
      .vimperatorrc
  17. 118
    0
      .vimrc

+ 171
- 0
.config/mc/ini View File

@@ -0,0 +1,171 @@
1
+
2
+[Midnight-Commander]
3
+verbose=1
4
+pause_after_run=1
5
+shell_patterns=1
6
+auto_save_setup=1
7
+auto_menu=0
8
+use_internal_view=0
9
+use_internal_edit=0
10
+clear_before_exec=1
11
+confirm_delete=1
12
+confirm_overwrite=1
13
+confirm_execute=0
14
+confirm_history_cleanup=1
15
+confirm_exit=1
16
+confirm_directory_hotlist_delete=1
17
+safe_delete=0
18
+mouse_repeat_rate=100
19
+double_click_speed=250
20
+use_8th_bit_as_meta=0
21
+confirm_view_dir=0
22
+mouse_move_pages_viewer=1
23
+mouse_close_dialog=0
24
+fast_refresh=0
25
+drop_menus=0
26
+wrap_mode=1
27
+old_esc_mode=1
28
+old_esc_mode_timeout=1000000
29
+cd_symlinks=1
30
+show_all_if_ambiguous=0
31
+max_dirt_limit=10
32
+torben_fj_mode=0
33
+use_file_to_guess_type=1
34
+alternate_plus_minus=0
35
+only_leading_plus_minus=1
36
+show_output_starts_shell=0
37
+xtree_mode=0
38
+num_history_items_recorded=60
39
+file_op_compute_totals=1
40
+classic_progressbar=0
41
+vfs_timeout=60
42
+ftpfs_directory_timeout=900
43
+use_netrc=1
44
+ftpfs_retry_seconds=30
45
+ftpfs_always_use_proxy=0
46
+ftpfs_use_passive_connections=1
47
+ftpfs_use_passive_connections_over_proxy=0
48
+ftpfs_use_unix_list_options=1
49
+ftpfs_first_cd_then_ls=1
50
+fish_directory_timeout=900
51
+editor_tab_spacing=8
52
+editor_word_wrap_line_length=72
53
+editor_fill_tabs_with_spaces=0
54
+editor_return_does_auto_indent=1
55
+editor_backspace_through_tabs=0
56
+editor_fake_half_tabs=1
57
+editor_option_save_mode=0
58
+editor_option_save_position=1
59
+editor_option_auto_para_formatting=0
60
+editor_option_typewriter_wrap=0
61
+editor_edit_confirm_save=1
62
+editor_syntax_highlighting=1
63
+editor_persistent_selections=1
64
+editor_cursor_beyond_eol=0
65
+editor_visible_tabs=1
66
+editor_visible_spaces=1
67
+editor_line_state=0
68
+editor_simple_statusbar=0
69
+editor_check_new_line=0
70
+editor_show_right_margin=0
71
+nice_rotating_dash=1
72
+horizontal_split=0
73
+mcview_remember_file_position=0
74
+auto_fill_mkdir_name=1
75
+copymove_persistent_attr=1
76
+select_flags=6
77
+editor_backup_extension=~
78
+mcview_eof=
79
+kilobyte_si=0
80
+mix_all_files=0
81
+show_backups=1
82
+show_dot_files=1
83
+fast_reload=0
84
+fast_reload_msg_shown=0
85
+mark_moves_down=1
86
+reverse_files_only=1
87
+navigate_with_arrows=0
88
+scroll_pages=1
89
+mouse_move_pages=1
90
+filetype_mode=1
91
+permission_mode=0
92
+quick_search_case_sensitive=2
93
+ignore_ftp_chattr_errors=true
94
+keymap=mc.keymap
95
+skin=klmn0
96
+
97
+panel_scroll_pages=1
98
+auto_save_setup_panels=1
99
+
100
+filepos_max_saved_entries=1024
101
+
102
+preallocate_space=0
103
+editor_group_undo=0
104
+
105
+[Layout]
106
+equal_split=1
107
+first_panel_size=142
108
+message_visible=1
109
+keybar_visible=0
110
+xterm_title=1
111
+output_lines=0
112
+command_prompt=1
113
+menubar_visible=0
114
+show_mini_info=1
115
+free_space=1
116
+
117
+permission_mode=0
118
+filetype_mode=1
119
+
120
+[Misc]
121
+timeformat_recent=%b %e %H:%M
122
+timeformat_old=%b %e  %Y
123
+ftp_proxy_host=gate
124
+ftpfs_password=anonymous@
125
+display_codepage=UTF-8
126
+source_codepage=UTF-8
127
+autodetect_codeset=
128
+clipboard_store=
129
+clipboard_paste=
130
+
131
+find_ignore_dirs=
132
+
133
+[Colors]
134
+base_color=
135
+screen=
136
+color_terminals=
137
+
138
+rxvt-unicode=
139
+
140
+rxvt=
141
+
142
+linux=
143
+
144
+screen.rxvt=
145
+
146
+[Panels]
147
+kilobyte_si=false
148
+mix_all_files=false
149
+show_backups=true
150
+show_dot_files=false
151
+fast_reload=true
152
+fast_reload_msg_shown=true
153
+mark_moves_down=true
154
+reverse_files_only=true
155
+auto_save_setup_panels=false
156
+navigate_with_arrows=false
157
+panel_scroll_pages=true
158
+mouse_move_pages=true
159
+filetype_mode=true
160
+permission_mode=true
161
+quick_search_mode=2
162
+
163
+simple_swap=false
164
+
165
+show_mini_info=true
166
+torben_fj_mode=false
167
+
168
+[Panelize]
169
+Найти корректуры, отвергнутые командой patch=find . -name \\*.rej -print
170
+Найти оригиналы (*.orig) после команды patch=find . -name \\*.orig -print
171
+Найти программы с установленными SUID/SGID битами=find . \\( \\( -perm -04000 -a -perm +011 \\) -o \\( -perm -02000 -a -perm +01 \\) \\) -print

+ 776
- 0
.config/mc/mc.ext View File

@@ -0,0 +1,776 @@
1
+# Midnight Commander 3.0 extension file
2
+# Warning: Structure of this file has changed completely with version 3.0
3
+#
4
+# All lines starting with # or empty lines are thrown away.
5
+# Lines starting in the first column should have following format:
6
+#
7
+# keyword/descNL, i.e. everything after keyword/ until new line is desc
8
+#
9
+# keyword can be:
10
+#
11
+#    shell (desc is, when starting with a dot, any extension (no wildcars),
12
+#          i.e. matches all the files *desc . Example: .tar matches *.tar;
13
+#          if it doesn't start with a dot, it matches only a file of that name)
14
+#
15
+#    regex (desc is an extended regular expression)
16
+#          Please note that we are using the GNU regex library and thus
17
+#          \| matches the literal | and | has special meaning (or) and
18
+#          () have special meaning and \( \) stand for literal ( ).
19
+#
20
+#    type  (file matches this if `file %f` matches regular expression desc
21
+#          (the filename: part from `file %f` is removed))
22
+#
23
+#    directory (matches any directory matching regular expression desc)
24
+#
25
+#    include (matches an include directive)
26
+#
27
+#    default (matches any file no matter what desc is)
28
+#
29
+# Other lines should start with a space or tab and should be in the format:
30
+#
31
+# keyword=commandNL (with no spaces around =), where keyword should be:
32
+#
33
+#    Open (if the user presses Enter or doubleclicks it),
34
+#
35
+#    View (F3), Edit (F4)
36
+#
37
+#    Include is the keyword used to add any further entries from an include/
38
+#    section
39
+#
40
+# command is any one-line shell command, with the following substitutions:
41
+#
42
+# %% -> % character
43
+# %p -> name of the current file (without path, but pwd is its path)
44
+# %f -> name of the current file. Unlike %p, if file is located on a
45
+#	non-local virtual filesystem, i.e. either tarfs, mcfs or ftpfs,
46
+#	then the file will be temporarily copied into a local directory
47
+#	and %f will be the full path to this local temporal file.
48
+#	If you don't want to get a local copy and want to get the
49
+#	virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then
50
+#	use %d/%p instead of %f.
51
+# %d -> name of the current directory (pwd, without trailing slash)
52
+# %s -> "selected files", i.e. space separated list of tagged files if any
53
+#       or name of the current file
54
+# %t -> list of tagged files
55
+# %u -> list of tagged files (they'll be untaged after the command)
56
+#
57
+# (If these 6 letters are in uppercase, they refer to the other panel.
58
+# But you shouldn't have to use it in this file.)
59
+#
60
+#
61
+# %cd -> the rest is a path mc should change into (cd won't work, since it's
62
+#	a child process).  %cd handles even vfs names.
63
+#
64
+# %view -> the command you type will be piped into mc's internal file viewer
65
+#	if you type only the %view and no command, viewer will load %f file
66
+#	instead (i.e. no piping, so it is different to %view cat %f)
67
+#	%view may be directly followed by {} with a list of any of
68
+#	ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for
69
+#	text using backspace for bold and underscore) and unform
70
+#	(no highlighting for nroff sequences) separated by commas.
71
+#
72
+# %var -> You use it like this: %var{VAR:default}.  This macro will expand
73
+#       to the value of the VAR variable in the environment if it's set
74
+#       otherwise the value in default will be used.  This is similar to
75
+#       the Bourne shell ${VAR-default} construct.
76
+#
77
+# Rules are applied from top to bottom, thus the order is important.
78
+# If some actions are missing, search continues as if this target didn't
79
+# match (i.e. if a file matches the first and second entry and View action
80
+# is missing in the first one, then on pressing F3 the View action from
81
+# the second entry will be used. default should catch all the actions.
82
+#
83
+# Any new entries you develop for you are always welcome if they are
84
+# useful on more than one system.  You can send your modifications
85
+# by e-mail to mc-devel@gnome.org
86
+
87
+
88
+### Changes ###
89
+#
90
+# Reorganization: 2000-05-01 Michal Svec <rebel@penguin.cz>
91
+
92
+
93
+### TODO ###
94
+#
95
+# Postscript	Open: ps2svga [gs -DEVICE=jpeg|zgv or something]
96
+# Images		asciiview
97
+#
98
+# All X Apps	[Nothing/Warning] if no DISPLAY
99
+# Not found	[Default/Warning]
100
+# Empty Output	[Default/Warning]
101
+# Edit:		CopyOut+EDIT+CopyIn
102
+# Security	Check gzip/bzip EDIT (mktemp)
103
+#
104
+# Maybe:	Open/XOpen/GOpen/KOpen/... for Console/X/GNOME/KDE/etc.
105
+
106
+
107
+### Archives ###
108
+
109
+# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk
110
+regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$
111
+	Open=%cd %p/utar://
112
+	View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
113
+
114
+regex/\.tar\.bz$
115
+	# Open=%cd %p/utar://
116
+	View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
117
+
118
+regex/\.t(ar\.bz2|bz|b2)$
119
+	Open=%cd %p/utar://
120
+	View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
121
+
122
+# .tar.lzma, .tlz
123
+regex/\.t(ar\.lzma|lz)$
124
+	Open=%cd %p/utar://
125
+	View=%view{ascii} lzma -dc %f 2>/dev/null | tar tvvf -
126
+
127
+# .tar.xz, .txz
128
+regex/\.t(ar\.xz|xz)$
129
+	Open=%cd %p/utar://
130
+	View=%view{ascii} xz -dc %f 2>/dev/null | tar tvvf -
131
+
132
+# .tar.F - used in QNX
133
+regex/\.tar\.F$
134
+	# Open=%cd %p/utar://
135
+	View=%view{ascii} freeze -dc %f 2>/dev/null | tar tvvf -
136
+
137
+# .qpr/.qpk - QNX Neutrino package installer files
138
+regex/\.(qp[rk])$
139
+	Open=%cd %p/utar://
140
+	View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
141
+
142
+# tar
143
+regex/\.(tar|TAR)$
144
+	Open=%cd %p/utar://
145
+	View=%view{ascii} tar tvvf - %f
146
+
147
+# lha
148
+type/^LHa\ .*archive
149
+	Open=%cd %p/ulha://
150
+	View=%view{ascii} lha l %f
151
+
152
+# arj
153
+regex/\.a(rj|[0-9][0-9])$
154
+	Open=%cd %p/uarj://
155
+	View=%view{ascii} unarj l %f
156
+
157
+# ha
158
+regex/\.([Hh][Aa])$
159
+	Open=%cd %p/uha://
160
+	View=%view{ascii} ha lf %f
161
+
162
+# rar
163
+regex/\.[rR]([aA][rR]|[0-9][0-9])$
164
+	Open=%cd %p/urar://
165
+	View=%view{ascii} rar v -c- %f
166
+
167
+# ALZip
168
+regex/\.(alz|ALZ)$
169
+	Open=%cd %p/ualz://
170
+	View=%view{ascii} unalz -l %f
171
+
172
+# cpio
173
+shell/.cpio.Z
174
+	Open=%cd %p/ucpio://
175
+	View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null
176
+
177
+shell/.cpio.gz
178
+	Open=%cd %p/ucpio://
179
+	View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null
180
+
181
+shell/.cpio
182
+	Open=%cd %p/ucpio://
183
+	View=%view{ascii} cpio -itv < %f 2>/dev/null
184
+
185
+# ls-lR
186
+regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
187
+	Open=%cd %p/lsl://R
188
+
189
+# patch
190
+regex/\.(diff|patch)(\.bz2)$
191
+	Open=%cd %p/patchfs://
192
+	View=%view{ascii} bzip2 -dc %f 2>/dev/null
193
+
194
+regex/\.(diff|patch)(\.(gz|Z))$
195
+	Open=%cd %p/patchfs://
196
+	View=%view{ascii} gzip -dc %f 2>/dev/null
197
+
198
+regex/\.(diff|patch)$
199
+	Open=%cd %p/patchfs://
200
+	View=%view{ascii} /bin/cat %f 2>/dev/null
201
+
202
+# ar library
203
+regex/\.s?a$
204
+	Open=%cd %p/uar://
205
+	#Open=%view{ascii} ar tv %f
206
+	View=%view{ascii} file %f && nm %f
207
+
208
+# trpm
209
+regex/\.trpm$
210
+	Open=%cd %p/trpm://
211
+	View=%view{ascii} rpm -qivl --scripts `basename %p .trpm`
212
+
213
+# RPM packages (SuSE uses *.spm for source packages)
214
+regex/\.(src\.rpm|spm)$
215
+	Open=%cd %p/srpm://
216
+	View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" ; fi ; $RPM -qivlp --scripts %f
217
+
218
+regex/\.rpm$
219
+	Open=%cd %p/rpm://
220
+	View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" ; fi ; $RPM -qivlp --scripts %f
221
+
222
+# deb
223
+regex/\.u?deb$
224
+	Open=%cd %p/deb://
225
+	View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f
226
+
227
+# dpkg
228
+shell/.debd
229
+        Open=%cd %p/debd://
230
+        View=%view{ascii} dpkg -s `echo %p | sed 's/\([0-9a-z.-]*\).*/\1/'`
231
+# apt
232
+shell/.deba
233
+        Open=%cd %p/deba://
234
+        View=%view{ascii} apt-cache show `echo %p | sed 's/\([0-9a-z.-]*\).*/\1/'`
235
+
236
+# ISO9660
237
+regex/\.iso$
238
+	Open=%cd %p/iso://9660
239
+	View=%view{ascii} isoinfo -l -i %f
240
+
241
+# 7zip archives (they are not man pages)
242
+regex/\.(7z|7Z)$
243
+	Open=%cd %p/u://7z
244
+	View=%view{ascii} 7za l %f 2>/dev/null
245
+
246
+# Mailboxes
247
+type/^ASCII\ mail\ text
248
+	Open=%cd %p/mailfs://
249
+
250
+
251
+### Sources ###
252
+
253
+# C
254
+shell/.c
255
+	#Open=%var{EDITOR:vi} %f
256
+	Open=(geany %f &>/dev/null)&
257
+
258
+# Fortran
259
+shell/.f
260
+	#Open=%var{EDITOR:vi} %f
261
+	Open=(geany %f &>/dev/null)&
262
+
263
+# Header
264
+regex/\.(h|hpp)$
265
+	#Open=%var{EDITOR:vi} %f
266
+	Open=(geany %f &>/dev/null)&
267
+
268
+# Object
269
+type/^ELF
270
+	#Open=%var{PAGER:more} %f
271
+	View=%view{ascii} file %f && nm %f
272
+
273
+# Asm
274
+shell/.s
275
+	#Open=%var{EDITOR:vi} %f
276
+	Open=(geany %f &>/dev/null)&
277
+
278
+# C++
279
+regex/\.(C|cc|cpp)$
280
+	#Open=%var{EDITOR:vi} %f
281
+	Open=(geany %f &>/dev/null)&
282
+
283
+# PAS
284
+regex/\.([Pp][Aa][Ss])$
285
+	#Open=%var{EDITOR:vi} %f
286
+	Open=(geany %f &>/dev/null)&
287
+
288
+# PERL
289
+regex/\.([Pp][Ll])$
290
+	#Open=%var{EDITOR:vi} %f
291
+	Open=(geany %f &>/dev/null)&
292
+
293
+# PYTHON
294
+regex/\.([Pp][Yy])$
295
+	#Open=%var{EDITOR:vi} %f
296
+	Open=(geany %f &>/dev/null)&
297
+
298
+# Java
299
+regex/\.([Jj][Aa][Vv][Aa])$
300
+	#Open=%var{EDITOR:vi} %f
301
+	Open=(geany %f &>/dev/null)&
302
+
303
+# Baurn's shell
304
+regex/\.([Ss][Hh])$
305
+	#Open=%var{EDITOR:vi} %f
306
+	Open=(geany %f &>/dev/null)&
307
+
308
+### TXT ###
309
+regex/\.([Tt][Xx][Tt])$
310
+	#Open=%var{EDITOR:vi} %f
311
+	Open=(geany %f &>/dev/null)&
312
+
313
+### Geany projects ###
314
+regex/\.([Gg][Ee][Aa][Nn][Yy])$
315
+	#Open=%var{EDITOR:vi} %f
316
+	Open=(geany %f &>/dev/null)&
317
+
318
+### XML ###
319
+regex/\.([Xx][Mm][Ll])$
320
+	Open=(oxygenxml %f &>/dev/null)&
321
+
322
+### Windows's executables ###
323
+regex/\.([Ee][Xx][Ee])$
324
+	#Open=%var{EDITOR:vi} %f
325
+	Open=(wine %f >/dev/null 2>&1)&
326
+
327
+### Documentation ###
328
+
329
+# Texinfo
330
+regex/\.(te?xi|texinfo)$
331
+
332
+# GNU Info page
333
+type/^Info\ text
334
+	Open=info -f %f
335
+
336
+shell/.info
337
+	Open=info -f %f
338
+
339
+# Manual page
340
+# Exception - .so libraries are not manual pages
341
+regex/\.(so|so\.[0-9\.]*)$
342
+	View=%view{ascii} file %f && nm %f
343
+
344
+#regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
345
+#	Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
346
+#	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff -c -Tlatin1 -mandoc ;; esac
347
+
348
+# Perl pod page
349
+shell/.pod
350
+	Open=pod2man %f | nroff -c -Tlatin1 -mandoc | %var{PAGER:more}
351
+	View=%view{ascii,nroff} pod2man %f | nroff -c -Tlatin1 -mandoc
352
+
353
+# Troff with me macros.
354
+# Exception - "read.me" is not a nroff file.
355
+shell/read.me
356
+	Open=
357
+	View=
358
+
359
+shell/.me
360
+	Open=nroff -c -Tlatin1 -me %f | %var{PAGER:more}
361
+	View=%view{ascii,nroff} nroff -c -Tlatin1 -me %f
362
+
363
+# Troff with ms macros.
364
+shell/.ms
365
+	Open=nroff -c -Tlatin1 -ms %f | %var{PAGER:more}
366
+	View=%view{ascii,nroff} nroff -c -Tlatin1 -ms %f
367
+
368
+# Manual page - compressed
369
+regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
370
+	Open=case %d/%f in */log/*|*/logs/*) gzip -dc %f ;; *) gzip -dc %f | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
371
+	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) gzip -dc %f ;; *) gzip -dc %f | nroff -c -Tlatin1 -mandoc ;; esac
372
+
373
+regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
374
+	Open=case %d/%f in */log/*|*/logs/*) bzip -dc %f ;; *) bzip -dc %f | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
375
+	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) bzip -dc %f ;; *) bzip -dc %f | nroff -c -Tlatin1 -mandoc ;; esac
376
+
377
+regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
378
+	Open=case %d/%f in */log/*|*/logs/*) bzip2 -dc %f ;; *) bzip2 -dc %f | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
379
+	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) bzip2 -dc %f ;; *) bzip2 -dc %f | nroff -c -Tlatin1 -mandoc ;; esac
380
+
381
+regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
382
+	Open=case %d/%f in */log/*|*/logs/*) lzma -dc %f ;; *) lzma -dc %f | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
383
+	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) lzma -dc %f ;; *) lzma -dc %f | nroff -c -Tlatin1 -mandoc ;; esac
384
+
385
+regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
386
+	Open=case %d/%f in */log/*|*/logs/*) xz -dc %f ;; *) xz -dc %f | nroff -c -Tlatin1 -mandoc ;; esac | %var{PAGER:more}
387
+	View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) xz -dc %f ;; *) xz -dc %f | nroff -c -Tlatin1 -mandoc ;; esac
388
+
389
+
390
+### Images ###
391
+
392
+type/^GIF
393
+	Include=image
394
+
395
+type/^JPEG
396
+	Include=image
397
+
398
+type/^PC\ bitmap
399
+	Include=image
400
+
401
+type/^PNG
402
+	Include=image
403
+
404
+type/^TIFF
405
+	Include=image
406
+
407
+type/^PBM
408
+	Include=image
409
+
410
+type/^PGM
411
+	Include=image
412
+
413
+type/^PPM
414
+	Include=image
415
+
416
+type/^Netpbm
417
+	Include=image
418
+
419
+shell/.xcf
420
+	Open=(gimp %f >dev/null 2>&1 &)
421
+
422
+shell/.xbm
423
+	Open=bitmap %f
424
+
425
+shell/.xpm
426
+	Include=image
427
+	View=sxpm %f
428
+shell/.ico
429
+	Include=image
430
+
431
+regex/\.([Xx][Cc][Ff])$
432
+	Include=image
433
+
434
+regex/\.([Ss][Vv][Gg])$
435
+	Include=image
436
+
437
+regex/\.([Pp][Nn][Gg])$
438
+	Include=image
439
+
440
+regex/\.([Jj][Pp][Gg])$
441
+	Include=image
442
+
443
+regex/\.([Ss][Vv][Gg][Zz])$
444
+	Include=image
445
+
446
+include/image
447
+	Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f >/dev/null 2>&1 &); fi
448
+	View=%view{ascii} identify %f
449
+	#View=%view{ascii} asciiview %f
450
+	Edit=(gimp %f >/dev/null 2>&1)&
451
+
452
+
453
+# Diagrams
454
+regex/\.([Dd][Ii][Aa])$
455
+	Open=(dia %f &>/dev/null)&
456
+
457
+regex/\.([Vv][Ss][Dd])$
458
+	Open=(lodraw %f &>/dev/null)&
459
+
460
+### Sound files ###
461
+
462
+regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$
463
+#       Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi
464
+	Open=mplayer %f
465
+
466
+regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$
467
+       Open=mikmod %f
468
+       #Open=tracker %f
469
+
470
+regex/\.([wW][aA][wW]22)$
471
+#       Open=vplay -s 22 %f
472
+	Open=mplayer %f
473
+
474
+regex/\.([mM][pP]3)$
475
+#	Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f >/dev/null 2>&1 &); fi
476
+	Open=mplayer %f
477
+	View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
478
+
479
+regex/\.([oO][gG][gG|aA|vV|xX])$
480
+#	Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f >/dev/null 2>&1 &); fi
481
+	Open=mplayer %f
482
+	View=%view{ascii} ogginfo %s
483
+
484
+regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$
485
+	Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi
486
+
487
+regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$
488
+	Open=timidity %f
489
+
490
+regex/\.([wW][mM][aA])$
491
+#	Open=mplayer -vo null %f
492
+	Open=mplayer %f
493
+	View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f
494
+
495
+
496
+### Play lists ###
497
+
498
+regex/\.([mM]3[uU]|[pP][lL][sS])$
499
+	Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xmms -p %f >/dev/null 2>&1 &); fi
500
+
501
+
502
+### Video ###
503
+
504
+regex/\.([aA][vV][iI])$
505
+	Include=video
506
+
507
+regex/\.([aA][sS][fFxX])$
508
+	Include=video
509
+
510
+regex/\.([dD][iI][vV][xX])$
511
+	Include=video
512
+
513
+regex/\.([mM][oO][vV]|[qQ][tT])$
514
+	Include=video
515
+
516
+regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$
517
+	Include=video
518
+
519
+regex/\.([vV][oO][bB])$
520
+	Include=video
521
+
522
+regex/\.([wW][mM][vV])$
523
+	Include=video
524
+
525
+regex/\.([fF][lL][iIcCvV])$
526
+	Include=video
527
+
528
+regex/\.([oO][gG][mM])$
529
+	Include=video
530
+
531
+regex/\.([Mm][Kk][Vv])$
532
+	Include=video
533
+
534
+regex/\.([rR][aA]?[mM])$
535
+	Open=(realplay %f >/dev/null 2>&1 &)
536
+
537
+regex/\.([mM]4[vV])$
538
+	Include=video
539
+
540
+regex/\.([3][Gg][Pp])$
541
+	Include=video
542
+
543
+include/video
544
+	Open=(mplayer %f &>/dev/null)&
545
+	Edit=mplayer -fs %f
546
+	#Edit=echo %p
547
+	#View=echo "%d/%p"|cut -d# -f2|sed s/:/':\/\/'/
548
+	#Open=(gtv %f >/dev/null 2>&1 &)
549
+	#Open=(xanim %f >/dev/null 2>&1 &)
550
+
551
+
552
+### Documents ###
553
+
554
+# Postscript
555
+type/^PostScript
556
+	#Open=(gv %f &)
557
+	Open=(evince %f &>/dev/null)&
558
+	View=%view{ascii} ps2ascii %f
559
+
560
+# PDF
561
+type/^PDF
562
+	#Open=(xpdf %f &)
563
+	Open=(evince %f &>/dev/null)&
564
+	#Open=(acroread %f &)
565
+	#Open=(ghostview %f &)
566
+	View=%view{ascii} pdftotext %f -
567
+
568
+# DJVU
569
+regex/\.([Dd][Jj][Vv][Uu])$
570
+	Open=(evince %f &>/dev/null)&
571
+regex/\.([Dd][Jj][Vv])$
572
+	Open=(evince %f &>/dev/null)&
573
+
574
+# CHM
575
+regex/\.([Cc][Hh][Mm])$
576
+	Open=(chmsee %f >/dev/null 2>&1 &)
577
+
578
+# Maple
579
+regex/\.([Mm][Ww][Ss]|[Mm][Ww])$
580
+	Open=(xmaple %f >/dev/null 2>&1)&
581
+
582
+# LabView file
583
+regex/\.([Vv][Ii])$
584
+    Open=(labview-8.6 %f >/dev/null 2>&1)&
585
+
586
+regex/\.([Ll][Vv][Pp][Rr][Oo][Jj])$
587
+    Open=(labview-8.6 %f >/dev/null 2>&1)&
588
+
589
+# The following code very ugly and should not be taken as example.
590
+# It should be cleaned up when the new format of mc.ext is developed.
591
+
592
+# html
593
+regex/\.([hH][tT][mM][lL]?)$
594
+	#Open=(if test -n "" && test -n "$DISPLAY"; then ( file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
595
+	Open=(firefox %f &)
596
+	View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f
597
+        Edit=(geany %f &>/dev/null 2>&1 &)
598
+
599
+# htm
600
+regex/\.([hH][tT][mM]?)$
601
+	#Open=(if test -n "" && test -n "$DISPLAY"; then ( file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
602
+	Open=(firefox %f &)
603
+	View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f
604
+        Edit=(geany %f &>/dev/null 2>&1 &)
605
+# swf
606
+regex/\.([Ss][Ww][Ff]?)$
607
+	Open=(firefox %f >/dev/null 2)&
608
+
609
+# StarOffice 5.2
610
+shell/.sdw
611
+	Open=(lobase %f >/dev/null 2>&1)&
612
+
613
+# StarOffice 6 and OpenOffice.org formats
614
+regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
615
+	Open=(lobase %f >/dev/null 2>&1)&
616
+	View=%view{ascii} odt2txt %f
617
+
618
+# OpenOffice presentaion documents
619
+regex/\.([Pp][Pp][Tt])$
620
+	Open=(loimpress %f >/dev/null 2>&1)&
621
+
622
+# AbiWord
623
+shell/.abw
624
+	Open=(abiword %f &)
625
+
626
+# Microsoft Word Document
627
+regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
628
+	#Open=(abiword %f >/dev/null 2>&1 &)
629
+	Open=(lobase %f >/dev/null 2>&1)&
630
+	View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
631
+type/^Microsoft\ Word
632
+	#Open=(abiword %f >/dev/null 2>&1 &)
633
+	Open=(lobase %f >/dev/null 2>&1)&
634
+	View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
635
+
636
+# RTF document
637
+regex/\.([rR][tT][fF])$
638
+	#Open=(abiword %f >/dev/null 2>&1 &)
639
+	Open=(lobase %f >/dev/null 2>&1)&
640
+
641
+# Microsoft Excel Worksheet
642
+regex/\.([xX][lL][sSwW])$
643
+	#Open=(gnumeric %f >/dev/null 2>&1 &)
644
+	Open=(lobase %f >/dev/null 2>&1)&
645
+	View=%view{ascii} xls2csv %f || strings %f
646
+type/^Microsoft\ Excel
647
+	#Open=(gnumeric %f >/dev/null 2>&1 &)
648
+	Open=(lobase %f >/dev/null 2>&1)&
649
+	View=%view{ascii} xls2csv %f || strings %f
650
+
651
+# Use OpenOffice.org to open any MS Office documents
652
+type/^Microsoft\ Office\ Document
653
+	Open=(lobase %f >/dev/null 2>&1)&
654
+
655
+# Framemaker
656
+type/^FrameMaker
657
+	Open=fmclient -f %f
658
+
659
+# DVI
660
+regex/\.([dD][vV][iI])$
661
+	#Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (evince %f &); fi
662
+	View=%view{ascii} dvi2tty %f
663
+
664
+# TeX
665
+regex/\.([Tt][Ee][Xx])$
666
+	Open=%var{EDITOR:vi} %f
667
+
668
+# Lyx
669
+regex/\.([Ll][Yy][Xx])$
670
+	Open=(lyx %f &>/dev/null)&
671
+
672
+### Miscellaneous ###
673
+
674
+# Makefile
675
+regex/[Mm]akefile$
676
+	Open=make -f %f %{Enter parameters}
677
+
678
+# Imakefile
679
+shell/Imakefile
680
+	Open=xmkmf -a
681
+
682
+# Makefile.PL (MakeMaker)
683
+regex/^Makefile.(PL|pl)$
684
+	Open=%var{PERL:perl} %f
685
+
686
+# dbf
687
+regex/\.([dD][bB][fF])$
688
+       Open=%view{ascii} dbview %f
689
+       View=%view{ascii} dbview -b %f
690
+
691
+# REXX script
692
+regex/\.(rexx?|cmd)$
693
+       Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
694
+
695
+# Disk images for Commodore computers (VIC20, C64, C128)
696
+regex/\.(d64|D64)$
697
+	Open=%cd %p/uc://1541
698
+	View=%view{ascii} c1541 %f -list
699
+	Extract=c1541 %f -extract
700
+
701
+# Glade, a user interface designer for GTK+ and GNOME
702
+regex/\.([Gg][Ll][Aa][Dd][Ee])$
703
+	Open=if glade-3 --version >/dev/null 2>&1; then (glade-3 %f >/dev/null 2>&1 &); else (glade-2 %f >/dev/null 2>&1 &); fi
704
+
705
+
706
+### Plain compressed files ###
707
+
708
+# ace
709
+regex/\.(ace|ACE)$
710
+	Open=%cd %p/uace://
711
+	View=%view{ascii} unace l %f
712
+	Extract=unace x %f
713
+
714
+# arc
715
+regex/\.(arc|ARC)$
716
+	Open=%cd %p/uarc://
717
+	View=%view{ascii} arc l %f
718
+	Extract=arc x %f '*'
719
+	Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
720
+
721
+# zip
722
+type/^([Zz][Ii][Pp])\ archive
723
+	Open=%cd %p/uzip://
724
+	View=%view{ascii} unzip -v %f
725
+
726
+# zoo
727
+regex/\.([Zz][Oo][Oo])$
728
+	Open=%cd %p/uzoo://
729
+	View=%view{ascii} zoo l %f
730
+
731
+# gzip
732
+type/^gzip
733
+	Open=gzip -dc %f | %var{PAGER:more}
734
+	View=%view{ascii} gzip -dc %f 2>/dev/null
735
+
736
+regex/\.(gz|Z)?$
737
+	View=%view{ascii} gzip -dc %f 2>/dev/null
738
+
739
+# bzip2
740
+type/^bzip2
741
+	Open=bzip2 -dc %f | %var{PAGER:more}
742
+	View=%view{ascii} bzip2 -dc %f 2>/dev/null
743
+
744
+regex/\.bz2?$
745
+	View=%view{ascii} bzip2 -dc %f 2>/dev/null
746
+
747
+# bzip
748
+type/^bzip
749
+	Open=bzip -dc %f | %var{PAGER:more}
750
+	View=%view{ascii} bzip -dc %f 2>/dev/null
751
+
752
+# compress
753
+type/^compress
754
+	Open=gzip -dc %f | %var{PAGER:more}
755
+	View=%view{ascii} gzip -dc %f 2>/dev/null
756
+
757
+# lzma
758
+regex/\.lzma$
759
+	Open=lzma -dc %f | %var{PAGER:more}
760
+	View=%view{ascii} lzma -dc %f 2>/dev/null
761
+
762
+# xz
763
+regex/\.xz$
764
+	Open=xz -dc %f | %var{PAGER:more}
765
+	View=%view{ascii} xz -dc %f 2>/dev/null
766
+
767
+
768
+### Default ###
769
+
770
+# Default target for anything not described above
771
+default/*
772
+	Open=
773
+	View=
774
+
775
+
776
+### EOF ###

+ 6
- 0
.config/mc/mc.keymap View File

@@ -0,0 +1,6 @@
1
+[main]
2
+CmdDialogList = ctrl-alt-prime
3
+
4
+[dialog]
5
+CmdDialogList = ctrl-alt-prime
6
+

+ 1
- 0
.config/mc/panels.ini View File

@@ -0,0 +1 @@
1
+

+ 49
- 0
.gitconfig View File

@@ -0,0 +1,49 @@
1
+[user]
2
+        email = mecareful@gmail.com
3
+        name = Kolan Sh
4
+
5
+[color]
6
+	ui = auto
7
+	branch = auto
8
+	diff = auto
9
+	status = auto
10
+
11
+[color "branch"]
12
+	current = yellow reverse
13
+	local = yellow
14
+	remote = green
15
+
16
+[color "diff"]
17
+	meta = yellow bold
18
+	frag = magenta bold
19
+	old = red bold
20
+	new = green bold
21
+
22
+[color "status"]
23
+	added = yellow
24
+	changed = green
25
+	untracked = cyan
26
+
27
+[alias]
28
+	unstage = reset HEAD --
29
+	st = status
30
+	s = status -uno
31
+	ci = commit
32
+	di = diff -b
33
+	co = checkout
34
+	up = checkout
35
+	update = checkout
36
+	l = log
37
+	hgrevert = checkout
38
+	strip = reset --hard
39
+	branches = branch -a
40
+	pull = fetch
41
+
42
+[instaweb]
43
+	local = true
44
+	httpd = lighttpd -f
45
+	port = 4321
46
+	browser = firefox
47
+
48
+[merge]
49
+	tool = vimdiff

+ 47
- 0
.grc/grc.conf View File

@@ -0,0 +1,47 @@
1
+# anything to do with irc
2
+\b\w+\b.*irc.*
3
+conf.irclog
4
+
5
+# log file
6
+\b\w+\b.*log\b
7
+conf.log
8
+
9
+# ping command
10
+(^|[/\w\.]+/)ping\s
11
+conf.ping
12
+
13
+# traceroute command
14
+(^|[/\w\.]+/)traceroute\s
15
+conf.traceroute
16
+
17
+# gcc command
18
+(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
19
+conf.gcc
20
+
21
+# configure command
22
+(^|[/\w\.]+/)configure
23
+conf.configure
24
+
25
+# make command
26
+(^|[/\w\.]+/)g?make\s?
27
+conf.gcc
28
+
29
+# netstat command
30
+(^|[/\w\.]+/)netstat\s?
31
+conf.netstat
32
+
33
+# diff command
34
+(^|[/\w\.]+/)diff\s?
35
+conf.diff
36
+
37
+# last command
38
+(^|[/\w\.]+/)last\s?
39
+conf.log
40
+
41
+# ldap tools
42
+(^|[/\w\.]+/)ldap
43
+conf.ldap
44
+
45
+# cvs command
46
+(^|[/\w\.]+/)cvs\s?
47
+conf.cvs

+ 16
- 0
.gtkrc-2.0 View File

@@ -0,0 +1,16 @@
1
+# -- THEME AUTO-WRITTEN DO NOT EDIT
2
+include "/usr/share/themes/Equinox/gtk-2.0/gtkrc"
3
+
4
+style "user-font" {
5
+	font_name = "Liberation Sans 8"
6
+}
7
+
8
+widget_class "*" style "user-font"
9
+
10
+gtk-font-name="Liberation Sans 8"
11
+
12
+gtk-theme-name  = "Equinox"
13
+
14
+include "/home/kolan/.gtkrc.mine"
15
+
16
+# -- THEME AUTO-WRITTEN DO NOT EDIT

+ 83
- 0
.hgrc View File

@@ -0,0 +1,83 @@
1
+[ui]
2
+username = Kolan Sh <mecareful@gmail.com>
3
+
4
+[hostfingerprints]
5
+
6
+[ui]
7
+verbose = true
8
+merge = vimdiff
9
+
10
+%include ~/.netrc.hg
11
+
12
+[defaults]
13
+cdiff = -q
14
+branches =
15
+churn = --progress
16
+
17
+[extdiff]
18
+cmd.cdiff = colordiff
19
+opts.cdiff = -uprN
20
+
21
+[extensions]
22
+duckcharset = ~/.hgext/duckcharset/hgext/duckcharset.py
23
+onsub= ~/.hgext/onsub/onsub.py
24
+compass = ~/.hgext/compass/compass.py
25
+hggit = ~/.hgext/hg-git/hggit
26
+# fixcase = ~/.hgext/fixcase/fixcase.py
27
+hgext.bookmarks =
28
+eol =
29
+graphlog=
30
+graphlog = 
31
+highlight=
32
+color =
33
+#rebase=
34
+transplant=
35
+extdiff=
36
+record=
37
+fetch=
38
+convert=
39
+# brokes .hgignore (for example in /.hg)
40
+#largefiles =
41
+pager =
42
+parentrevspec =
43
+progress =
44
+purge=
45
+rebase =
46
+relink =
47
+schemes=
48
+mq =
49
+churn =
50
+
51
+[web]
52
+pygments_style=tango
53
+
54
+[merge-tools]
55
+vimdiff.executable = vim
56
+vimdiff.args = -d $base $local $output $other +close +close
57
+
58
+[git]
59
+intree=1
60
+exportbranch=refs/heads/from-hg
61
+
62
+[web]
63
+cacerts=
64
+
65
+[largefiles]
66
+minsize = 1
67
+
68
+[pager]
69
+pager = LESS='FSRX' less
70
+quiet = True
71
+attend = annotate, cat, diff, export, glog, log, qdiff, compass, tags, help
72
+
73
+[progress]
74
+delay = 3
75
+changedelay = 1
76
+refresh = 0.1
77
+clear-complete = True
78
+disable = False
79
+assume-tty = False
80
+
81
+[subpaths]
82
+http[s]?://(.*)/(.*)/../(.*) = https://\1/\2/\3
83
+http[s]?://(.*)/(.*)/(.*) = https://\1/\2/../\3

+ 23
- 0
.htoprc View File

@@ -0,0 +1,23 @@
1
+# Beware! This file is rewritten every time htop exits.
2
+# The parser is also very primitive, and not human-friendly.
3
+# (I know, it's in the todo list).
4
+fields=0 48 17 18 38 39 40 2 46 47 49 1 
5
+sort_key=39
6
+sort_direction=1
7
+hide_threads=0
8
+hide_kernel_threads=0
9
+hide_userland_threads=0
10
+shadow_other_users=1
11
+show_thread_names=1
12
+highlight_base_name=1
13
+highlight_megabytes=1
14
+highlight_threads=1
15
+tree_view=1
16
+header_margin=1
17
+detailed_cpu_time=1
18
+color_scheme=0
19
+delay=15
20
+left_meters=AllCPUs Memory Swap CPU 
21
+left_meter_modes=1 1 1 1 
22
+right_meters=Tasks LoadAverage Uptime Clock Memory Battery 
23
+right_meter_modes=2 2 2 2 2 2 

+ 102
- 0
.links/links.cfg View File

@@ -0,0 +1,102 @@
1
+# This file is automatically generated by Links -- please do not edit.
2
+async_dns 1
3
+download_utime 0
4
+max_connections 10
5
+max_connections_to_host 8
6
+retries 3
7
+receive_timeout 120
8
+unrestartable_receive_timeout 600
9
+format_cache_size 5
10
+memory_cache_size 1M
11
+image_cache_size 1M
12
+font_cache_size 2M
13
+http_proxy ""
14
+ftp_proxy ""
15
+socks_proxy ""
16
+-append_text_to_dns_lookups ""
17
+only_proxies 0
18
+download_dir ""
19
+language "Russian"
20
+http_bugs.http10 0
21
+http_bugs.allow_blacklist 1
22
+http_bugs.bug_302_redirect 1
23
+http_bugs.bug_post_no_keepalive 0
24
+http_bugs.no_accept_charset 0
25
+http_bugs.no_compression 0
26
+http_bugs.retry_internal_errors 0
27
+http_bugs.aggressive_cache 1
28
+http_referer 0
29
+fake_referer ""
30
+fake_useragent ""
31
+http.extra_header ""
32
+ftp.anonymous_password "somebody@host.domain"
33
+ftp.use_passive 0
34
+ftp.fast 0
35
+ftp.set_iptos 1
36
+menu_font_size 16
37
+background_color 14737632
38
+foreground_color 0
39
+scroll_bar_area_color 12632256
40
+scroll_bar_bar_color 0
41
+scroll_bar_frame_color 0
42
+display_red_gamma 2.2000
43
+display_green_gamma 2.2000
44
+display_blue_gamma 2.2000
45
+user_gamma 1.0000
46
+bfu_aspect 1.0000
47
+aspect_on 1
48
+dither_letters 1
49
+dither_images 1
50
+display_optimize 0
51
+gamma_correction 2
52
+enable_javascript 1
53
+verbose_javascript_errors 0
54
+verbose_javascript_warnings 0
55
+enable_all_conversions 1
56
+enable_global_resolution 1
57
+javascript_manual_confirmation 1
58
+js_recursion_depth 100
59
+js_memory_limit 5k
60
+bookmarks_codepage us-ascii
61
+bookmarks_file "/home/kolan/.links/bookmarks.html"
62
+terminal "rxvt-unicode" 0 1 0 koi8-r
63
+terminal "rxvt" 0 1 0 utf-8
64
+extension "aif,aiff,aifc" "audio/x-aiff"
65
+extension "au,snd" "audio/basic"
66
+extension "avi" "video/x-msvideo"
67
+extension "deb" "application/x-debian-package"
68
+extension "dl" "video/dl"
69
+extension "dxf" "application/dxf"
70
+extension "dvi" "application/x-dvi"
71
+extension "fli" "video/fli"
72
+extension "g" "application/brlcad"
73
+extension "gbr" "application/gerber"
74
+extension "gif" "image/gif"
75
+extension "gl" "video/gl"
76
+extension "grb" "application/gerber"
77
+extension "jpg,jpeg,jpe" "image/jpeg"
78
+extension "mid,midi" "audio/midi"
79
+extension "mpeg,mpg,mpe" "video/mpeg"
80
+extension "pbm" "image/x-portable-bitmap"
81
+extension "pcb" "application/pcb"
82
+extension "pdf" "application/pdf"
83
+extension "pgm" "image/x-portable-graymap"
84
+extension "pgp" "application/pgp-signature"
85
+extension "png" "image/png"
86
+extension "pnm" "image/x-portable-anymap"
87
+extension "ppm" "image/x-portable-pixmap"
88
+extension "ppt" "application/powerpoint"
89
+extension "ps,eps,ai" "application/postscript"
90
+extension "qt,mov" "video/quicktime"
91
+extension "ra,rm,ram" "audio/x-pn-realaudio"
92
+extension "rtf" "application/rtf"
93
+extension "sch" "application/gschem"
94
+extension "svg" "image/svg"
95
+extension "swf" "application/x-shockwave-flash"
96
+extension "sxw" "application/x-openoffice"
97
+extension "tga" "image/targa"
98
+extension "tiff,tif" "image/tiff"
99
+extension "wav" "audio/x-wav"
100
+extension "xbm" "image/x-xbitmap"
101
+extension "xls" "application/excel"
102
+extension "xpm" "image/x-xpixmap"

+ 146
- 0
.local/share/mc/skins/klmn0.ini View File

@@ -0,0 +1,146 @@
1
+# Please, use this skin in UTF-8 system codepage only.
2
+
3
+[skin]
4
+    description=klmn-0
5
+
6
+[Lines]
7
+    horiz=─
8
+    vert=│
9
+    lefttop=┌
10
+    righttop=┐
11
+    leftbottom=└
12
+    rightbottom=┘
13
+    topmiddle=─
14
+    bottommiddle=─
15
+    leftmiddle=├
16
+    rightmiddle=┤
17
+    cross=┼
18
+    dhoriz=═
19
+    dvert=║
20
+    dlefttop=╔
21
+    drighttop=╗
22
+    dleftbottom=╚
23
+    drightbottom=╝
24
+    dtopmiddle=╤
25
+    dbottommiddle=╧
26
+    dleftmiddle=╟
27
+    drightmiddle=╢
28
+
29
+[core]
30
+    _default_=lightgray;default
31
+    selected=black;cyan
32
+    marked=yellow;default
33
+    markselect=yellow;cyan
34
+    gauge=white;black
35
+    input=black;cyan
36
+    inputunchanged=gray;cyan
37
+    inputmark=cyan;black
38
+    disabled=gray;lightgray
39
+    reverse=black;lightgray
40
+    commandlinemark=black;lightgray
41
+    header=yellow;default
42
+    inputhistory=
43
+    commandhistory=
44
+
45
+[dialog]
46
+    _default_=black;lightgray
47
+    dfocus=black;cyan
48
+    dhotnormal=black;lightgray
49
+    dhotfocus=black;cyan
50
+    dtitle=blue;lightgray
51
+
52
+[error]
53
+    _default_=white;red
54
+    errdfocus=black;lightgray
55
+    errdhotnormal=white:red
56
+    errdhotfocus=white;red
57
+    errdtitle=yellow;red
58
+
59
+[filehighlight]
60
+    directory=white;
61
+    executable=brightgreen;
62
+    symlink=lightgray;
63
+    stalelink=brightred;
64
+    device=brightmagenta;
65
+    special=black;
66
+    core=red;
67
+    temp=gray;
68
+    archive=brightmagenta;
69
+    doc=brown;
70
+    source=cyan;
71
+    media=green;
72
+    graph=brightcyan;
73
+    database=brightred;
74
+
75
+[menu]
76
+    _default_=white;default
77
+    menuhot=white;default
78
+    menusel=white;cyan
79
+    menuhotsel=white;cyan
80
+    menuinactive=black;cyan
81
+
82
+[buttonbar]
83
+    hotkey=green,blue
84
+    button=black;cyan
85
+
86
+[statusbar]
87
+    _default_=black;cyan
88
+
89
+[help]
90
+    _default_=black;lightgray
91
+    helpitalic=red;lightgray
92
+    helpbold=blue;lightgray
93
+    helplink=black;cyan
94
+    helpslink=yellow;blue
95
+    helptitle=blue;lightgray
96
+
97
+[editor]
98
+    _default_=lightgray;default
99
+    editbold=yellow;brightgreen
100
+    editmarked=black;cyan
101
+    editwhitespace=brightdefault;default
102
+    editlinestate=white;cyan
103
+    bookmark=white;red
104
+    bookmarkfound=black;green
105
+    editrightmargin=brightdefault;black
106
+
107
+[viewer]
108
+    viewbold=yellow;default
109
+    viewunderline=brightred;default
110
+    viewselected=yellow;cyan
111
+
112
+[diffviewer]
113
+    added=white;green
114
+    changedline=blue;cyan
115
+    changednew=red;cyan
116
+    changed=white;cyan
117
+    removed=white;red
118
+    folder=blue;black
119
+    error=red;white
120
+
121
+[popupmenu]
122
+    _default_=white;cyan
123
+    menusel=white;black
124
+    menutitle=white;cyan
125
+
126
+[widget-common]
127
+    sort-sign-up = ↓
128
+    sort-sign-down = ↑
129
+
130
+[widget-panel]
131
+    hiddenfiles-sign-show = ⋅
132
+    hiddenfiles-sign-hide = •
133
+    history-prev-item-sign = «
134
+    history-next-item-sign = »
135
+    history-show-list-sign = ^
136
+    horiz=─
137
+    vert=│
138
+    lefttop=┌
139
+    righttop=┐
140
+    leftbottom=└
141
+    rightbottom=┘
142
+    topmiddle=─
143
+    bottommiddle=─
144
+    leftmiddle=├
145
+    rightmiddle=┤
146
+    cross=┼

+ 21
- 0
.screenrc View File

@@ -0,0 +1,21 @@
1
+# Отключаем приветствие
2
+startup_message off
3
+# Включаем utf8
4
+defutf8 on
5
+# Использовать визуальный сигнал (мигание экрана) вместо писка динамика
6
+vbell on
7
+# Размер буфера прокрутки
8
+defscrollback 1000
9
+# Производить отключение сессии при разрыве связи с терминалом
10
+autodetach on
11
+# Открывать Login-шелл
12
+shell -$SHELL
13
+# Активировать возможность прокрутки в xterm (и других эмуляторах терминала)
14
+termcapinfo urxvt* ti@:te@
15
+# Волшебная строка
16
+shelltitle '$ |sh'
17
+# Строка состояния
18
+hardstatus alwayslastline "%{+b wk} %c $LOGNAME@%H %=[ %w ] "
19
+# По клавише <Esc> создать окно и запустить в нем команду su
20
+bind \033 screen -ln -t root 9 su
21
+

+ 35
- 0
.tmux.conf View File

@@ -0,0 +1,35 @@
1
+# Vim keys
2
+bind s split-window -v
3
+bind v split-window -h
4
+bind h select-pane -L
5
+bind j select-pane -D
6
+bind k select-pane -U
7
+bind l select-pane -R
8
+bind < resize-pane -L 10
9
+bind > resize-pane -R 10
10
+bind - resize-pane -D 10
11
+bind + resize-pane -U 10
12
+bind : command-prompt
13
+# vi-style controls for copy mode
14
+setw -g mode-keys vi
15
+set -g default-terminal "screen-256color"
16
+
17
+bind-key R respawn-window
18
+
19
+# create a session with a throw-away window
20
+ new true
21
+#
22
+# # for future windows, stay open after the command exits
23
+#set set-remain-on-exit on
24
+#
25
+# # create the windows we really want
26
+neww -n vim
27
+splitw -v -p 20 -t 0
28
+#
29
+# # for future windows, revert r-o-e to global value
30
+#set -u set-remain-on-exit
31
+
32
+#splitw -v -p 85 -t 0 ls
33
+#selectw -t 1
34
+#selectp -t 0
35
+

+ 1
- 0
.valgrindrc View File

@@ -0,0 +1 @@
1
+--tool=callgrind --verbose --track-fds=yes --trace-children=yes --time-stamp=yes

+ 0
- 0
.vim/plugin/.keep View File


+ 7
- 0
.vimperatorrc View File

@@ -0,0 +1,7 @@
1
+"3.2 (created: 2011/06/03 11:51:34)
2
+
3
+source! /home/kolan/.vimperatorrc.local
4
+
5
+" vim: set ft=vimperator:
6
+map <C-S-p> :tabm -1<CR>
7
+map <C-S-n> :tabm +1<CR>

+ 118
- 0
.vimrc View File

@@ -0,0 +1,118 @@
1
+" http://kastaneda.kiev.ua/desktop/dotrc/vim.html
2
+
3
+" общие настройки
4
+syntax on             " включить подсветку синтаксиса
5
+set ts=8              " у меня табуляция (tabstop) 4 символа
6
+set tabstop=8
7
+set shiftwidth=8
8
+set textwidth=8
9
+set autoindent
10
+set tw=159
11
+set copyindent
12
+" set expandtab
13
+set background=dark   " весьма важная штука! :)
14
+set lbr
15
+set showcmd
16
+set nocompatible      " обойдёмся без стандартного vi
17
+set backspace=indent,eol,start
18
+color desert
19
+set number
20
+nmap <F6> :set invlist<cr>
21
+
22
+" отключение бэкапов
23
+set nobackup
24
+" set backup
25
+" set backupdir=$HOME/.vim/backups
26
+" set directory=$HOME/.vim/temp
27
+
28
+" чтобы курсор не прыгал, а вёл себя так, как kwrite и т.п.
29
+nnoremap j gj
30
+nnoremap k gk
31
+vnoremap j gj
32
+vnoremap k gk
33
+nnoremap <Down> gj
34
+nnoremap <Up> gk
35
+vnoremap <Down> gj
36
+vnoremap <Up> gk
37
+inoremap <Down> <C-o>gj
38
+inoremap <Up> <C-o>gk
39
+
40
+
41
+" файлы автоматом делаются исполняемыми
42
+function ModeChange()
43
+  if getline(1) =~ "^#!"
44
+    if getline(1) =~ "/bin/"
45
+      silent !chmod a+x <afile>
46
+    endif
47
+  endif
48
+endfunction
49
+au BufWritePost * call ModeChange()
50
+
51
+" интуитивные горячие клавиши =)
52
+imap <F11> <Esc>:set<Space>nu!<CR>a
53
+nmap <F11> :set<Space>nu!<CR>
54
+nmap <F2> :w<cr>
55
+vmap <F2> <esc>:w<cr>i
56
+imap <F2> <esc>:w<cr>i
57
+nmap <F10> :q!<cr>
58
+vmap <F10> <esc>:q!<cr>i
59
+imap <F10> <esc>:q!<cr>i
60
+
61
+" вкладки
62
+:set tabpagemax=99
63
+nmap <C-a> :tabnew<cr>
64
+imap <C-a> <ESC>:tabnew<cr>
65
+map <C-k> :tabnext<cr>
66
+nmap <C-k> :tabnext<cr>
67
+imap <C-k> :tabnext<cr>
68
+map <C-j> :tabprev<cr>
69
+nmap <C-j> :tabprev<cr>
70
+imap <C-j> :tabprev<cr>
71
+
72
+" кириллица
73
+set encoding=utf-8
74
+set termencoding=utf-8
75
+set fileencoding=utf-8
76
+set wildmenu
77
+set wcm=<Tab>
78
+menu Encoding.CP1251   :e ++enc=cp1251<CR>
79
+menu Encoding.CP866    :e ++enc=cp866<CR>
80
+menu Encoding.KOI8-U   :e ++enc=koi8-u<CR>
81
+menu Encoding.UTF-8    :e ++enc=utf-8<CR>
82
+map <F8> :emenu Encoding.<TAB>
83
+
84
+" вкл/выкл автоперенос
85
+set pastetoggle=<F5>
86
+" set paste
87
+" nmap <F6> :set noautoindent<cr>
88
+" imap <F6> :set noautoindent<cr>
89
+" nmap <F5> :set autoindent<cr>
90
+" imap <F5> :set autoindent<cr>
91
+" inoremap <silent> <C-u> <ESC>u:set paste<CR>.:set nopaste<CR>gi " чтобы отступы не съезжали при вставке из буфера X Window
92
+
93
+" FONT SIZE SHORTCUTS
94
+set guifont=Liberation\ Mono\ 8
95
+let g:MyFontSize = 8
96
+function! ToggleMyFontSize()
97
+  if ( g:MyFontSize == 10 )
98
+    let g:MyFontSize = 8
99
+  elseif ( g:MyFontSize == 8 )
100
+    let g:MyFontSize = 9
101
+  elseif ( g:MyFontSize == 9 )
102
+    let g:MyFontSize = 10
103
+  endif
104
+  execute "set guifont=Liberation\\ Mono\\ ".g:MyFontSize
105
+endfunction
106
+nnoremap  <silent>  <F12> :call ToggleMyFontSize()<CR>
107
+
108
+" теги
109
+set tags+=./.ctags
110
+set tags+=~/.big/ctags
111
+cscope add ./.cscope
112
+cscope add ~/.big/cscope
113
+map <F4> [I:let nr = input("Which one: ")<Bar>exe "normal " . nr ."[\t"<CR>
114
+
115
+" Foldging
116
+set foldenable
117
+set foldmethod=syntax
118
+

Loading…
Cancel
Save