diff --git a/etc/X/Xdefaults b/etc/X/Xdefaults index d9c4f4a..32b271d 100644 --- a/etc/X/Xdefaults +++ b/etc/X/Xdefaults @@ -10,6 +10,7 @@ URxvt.boldFont:xft:droid sans mono slashed:medium:pixelsize=15:weight=bold URxvt*scrollBar:false URxvt.cursorColor: #AAAAAA URxvt*termName: xterm +URxvt.saveLines: 1000 !Настрока клавиатуры для URxvt URxvt*keysym.Control-Up: \033[1;5A @@ -22,6 +23,15 @@ URxvt.keysym.C-Home: \033[7;7^ URxvt.keysym.C-End: \033[8;8^ URxvt.keysym.Home: \033[7~ +! do not scroll with output +URxvt*scrollTtyOutput: false + +! scroll in relation to buffer (with mouse scroll or Shift+Page Up) +URxvt*scrollWithBuffer: true + +! scroll back to the bottom on keypress +URxvt*scrollTtyKeypress: true + !Настрока шрифтов Xft.antialias: true Xft.dpi: 96 diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index e267b8c..7945f17 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -348,6 +348,9 @@ apply() { } } +#- Список PDF-файлов +alias pdfs="find `pwd` -maxdepth 1 -name '*.pdf'" #noindex + #}}} ########################################################################### #{{{ \033[00m\n\b------<Администрирование>\n ################################################################################ diff --git a/etc/soft/urxvt/extensions.conf b/etc/soft/urxvt/extensions.conf index 9f26d36..49b74c9 100644 --- a/etc/soft/urxvt/extensions.conf +++ b/etc/soft/urxvt/extensions.conf @@ -1,7 +1,7 @@ !Расширения Perl URxvt.perl-lib: /home/maks/.shellrc/etc/soft/urxvt/perl/ !URxvt.perl-ext-common: tabbedex,readline,searchable-scrollback,matcher,font-size -URxvt.perl-ext-common: tabbedex,readline,searchable-scrollback,font-size +URxvt.perl-ext-common: tabbedex,readline,searchable-scrollback,font-size,matcher !Tabbedex URxvt.tabbed.autohide: true @@ -26,9 +26,13 @@ URxvt.keysym.C-equal: font-size:reset URxvt.keysym.C-slash: font-size:show !Matcher -URxvt.url-launcher: chromium +URxvt.keysym.C-Delete: perl:matcher:last +URxvt.keysym.M-Delete: perl:matcher:list +URxvt.url-launcher: xdg-open URxvt.matcher.button: 2 URxvt.colorUL: #09419b URxvt.underlineURLs: false URxvt.underlineColor: #09419b +URxvt.matcher.pattern.1: ^\\B(/.+\.pdf)$ +URxvt.matcher.launcher.1: zathura $1