From 998bfd8f86e341b042d9da59b245ea5161042de7 Mon Sep 17 00:00:00 2001 From: Sergey Kiselev Date: Mon, 14 Oct 2024 10:44:37 +0500 Subject: [PATCH] Update some configs --- .gtkrc-2.0 | 6 +- .profile | 12 +- .vim/.netrwhist | 6 - .vim/README | 9 - .vim/autoload/htmlcomplete.vim | 861 ------------------------------ .vim/autoload/xml/aria.vim | 232 -------- .vim/autoload/xml/html5.vim | 791 --------------------------- .vim/ftdetect/conkyrc.vim | 5 - .vim/indent/html.vim | 304 ----------- .vim/plugin/color_sample_pack.vim | 164 ------ .vim/syntax/conkyrc.vim | 128 ----- .vim/syntax/html.vim | 108 ---- .vim/syntax/html/aria.vim | 35 -- .vim/syntax/html/rdfa.vim | 11 - .vim/syntax/javascript/html5.vim | 43 -- .vim/vimrc | 87 +++ 16 files changed, 100 insertions(+), 2702 deletions(-) delete mode 100644 .vim/.netrwhist delete mode 100644 .vim/README delete mode 100644 .vim/autoload/htmlcomplete.vim delete mode 100644 .vim/autoload/xml/aria.vim delete mode 100644 .vim/autoload/xml/html5.vim delete mode 100644 .vim/ftdetect/conkyrc.vim delete mode 100644 .vim/indent/html.vim delete mode 100644 .vim/plugin/color_sample_pack.vim delete mode 100644 .vim/syntax/conkyrc.vim delete mode 100644 .vim/syntax/html.vim delete mode 100644 .vim/syntax/html/aria.vim delete mode 100644 .vim/syntax/html/rdfa.vim delete mode 100644 .vim/syntax/javascript/html5.vim create mode 100644 .vim/vimrc diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 index 2a07a5f..af546f1 100644 --- a/.gtkrc-2.0 +++ b/.gtkrc-2.0 @@ -3,13 +3,13 @@ include "/home/cyrax/.gtkrc-2.0.mine" gtk-theme-name="absolute" -gtk-icon-theme-name="Faience" -gtk-font-name="Liberation Sans 9" +gtk-icon-theme-name="Papirus" +gtk-font-name="Liberation Sans 10" gtk-cursor-theme-name="pixelfun3" gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR -gtk-button-images=0 +gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=0 gtk-enable-input-feedback-sounds=0 diff --git a/.profile b/.profile index 461437f..9987675 100644 --- a/.profile +++ b/.profile @@ -9,7 +9,9 @@ ENV=$HOME/.shrc; export ENV BLOCKSIZE=K; export BLOCKSIZE EDITOR=vi; export EDITOR PAGER=less; export PAGER -BROWSER=seamonkey; export BROWSER +#BROWSER=seamonkey; export BROWSER +BROWSER=firefox; export BROWSER +COLORTERM=truecolor; export COLORTERM #=== some usefull aliases ===> alias rm='rm -i' @@ -18,7 +20,9 @@ alias mv='mv -i' alias ls='ls -FGh' alias su='su -m' -if [ -f /usr/local/bin/vim ]; then +if [ -x $(which vim) ]; then + EDITOR=vim; export EDITOR + alias vim='vim -p' alias vi='vim' fi @@ -67,3 +71,7 @@ esac PS1="${PS1}${purple} ]${nc}\\$ " export PS1 +[[ ${PS1} && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ + source /usr/local/share/bash-completion/bash_completion.sh + +export QT_QPA_PLATFORMTHEME=gtk2 #classiclooks_qt5-gtk2 diff --git a/.vim/.netrwhist b/.vim/.netrwhist deleted file mode 100644 index a2f5bd5..0000000 --- a/.vim/.netrwhist +++ /dev/null @@ -1,6 +0,0 @@ -let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =4 -let g:netrw_dirhist_1='/usr/home/cyrax/.vim' -let g:netrw_dirhist_2='/usr/home/cyrax/tmp/conky-master/build/lua/CMakeFiles/conky-cairo.dir' -let g:netrw_dirhist_3='/usr/home/cyrax/.config/tint2/launcher' -let g:netrw_dirhist_4='/usr/home/cyrax/.conky/hwmon/templates' diff --git a/.vim/README b/.vim/README deleted file mode 100644 index 3416521..0000000 --- a/.vim/README +++ /dev/null @@ -1,9 +0,0 @@ -Vim filetype detection and syntax highlighting scripts for conky. - -Individual users can place them your personal .vim directory: - -~/.vim/ftdetect/conkyrc.vim -~/.vim/syntax/conkyrc.vim - -Refer to your vim site documentation for system-wide installation. - diff --git a/.vim/autoload/htmlcomplete.vim b/.vim/autoload/htmlcomplete.vim deleted file mode 100644 index 6da9be2..0000000 --- a/.vim/autoload/htmlcomplete.vim +++ /dev/null @@ -1,861 +0,0 @@ -" Vim completion script -" Language: HTML and XHTML -" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) -" Last Change: 2006 Oct 19 -" Modified: othree -" Changes: Add HTML5, WAI-ARIA support -" Last Change: 2010 Sep 25 - -if !exists('g:aria_attributes_complete') - let g:aria_attributes_complete = 1 -endif - -function! htmlcomplete#CompleteTags(findstart, base) - if a:findstart - " locate the start of the word - let line = getline('.') - let start = col('.') - 1 - let curline = line('.') - let compl_begin = col('.') - 2 - while start >= 0 && line[start - 1] =~ '\(\k\|[!:.-]\)' - let start -= 1 - endwhile - " Handling of entities {{{ - if start >= 0 && line[start - 1] =~ '&' - let b:entitiescompl = 1 - let b:compl_context = '' - return start - endif - " }}} - " Handling of