dot

packages and services management
Log | Files | Refs | README

commit 9eebe1a38e42bb4fd6226977ffdf096dd35c77b3
parent 1d920d2c818d64a0140765af6df656f1db1b25d0
Author: josuah <mail@josuah.net>
Date:   Sun, 18 Sep 2016 20:15:20 -0400

Updated dates

Diffstat:
MREADME | 3++-
Mbin/filter | 11+++++++++--
Mbin/irc | 7+++++--
Memacs/.emacs | 12++++++------
Afirefox/.vimperatorrc | 8++++++++
Ms-nail/.mailrc | 10+++++++---
Mvim/.vimrc | 26+++++++++++++-------------
Azathura/.config/zathura/zathurarc | 9+++++++++
8 files changed, 59 insertions(+), 27 deletions(-)

diff --git a/README b/README @@ -51,7 +51,8 @@ VIM lion http://github.com/tommcdo/vim-lion multiple http://github.com/terryma/vim-multiple-cursors fzy http://github.com/Dkendal/fzy-vim - gitgutter https://github.com/airblade/vim-gitgutter + gitgutter http://github.com/airblade/vim-gitgutter + racket http://github.com/wlangstroth/vim-racket PROJECTS diff --git a/bin/filter b/bin/filter @@ -94,6 +94,9 @@ KEYBINDINGS 2016-09-18 Ctrl + V KEY Insert the next KEY pressed literally. + Ctrl + W + Deletes the last entered word. + Ctrl + U Deletes the entire input. @@ -114,8 +117,12 @@ Differences and similarity with vimperator input. The matched string should be highlighted in candidates. - The current candidate should be highlighted with '\033[7m' prevent the - matched string to appear liht yellow on white background. + The current candidate should be highlighted with '\033[7m' prevent + the matched string to appear liht yellow on white background. + + It could be nice if the candidates could be loaded dynamically, + to act like `fzf` does. Because it look good, and I would not + have to wait find on ~ to find a file to select it. USAGE 2016-09-18 diff --git a/bin/irc b/bin/irc @@ -3,7 +3,7 @@ # \/ _____ ____ # /\ / ____\/ ___\ # / // / / /__ -# \/ \/ \____\ +# \/ \/ \____\ 2016-09-18 #=============================================================================== # Irc client in 300 lines of shell script # @@ -232,12 +232,15 @@ print_msg() esac # Single line separator at the right place. + for n in $(tac "$srv/$chan" | cut -c 1-$NICK_LEN) do last_nick="$n"; break done + last_cmd="$(tail -n 1 "$srv/$chan" | cut -c $(($NICK_LEN + 2))-)" last_cmd="${last_cmd%% *}" - if [ "$cmd" = '|' ] && [ "$last_nick" != "$nick" ] || [ "$cmd" != "$last_cmd" ] + + if [ "$cmd" = '|' -a "$last_nick" != "$nick" -o "$cmd" != "$last_cmd" ] then printf "%${NICK_LEN}s |\n" fi diff --git a/emacs/.emacs b/emacs/.emacs @@ -1,9 +1,10 @@ -;;; init --- I used to have my .emacs.d as my whole dotfile repo. +;;; init --- I used to have my .emacs.d as my unique dotfile repo. ;;; Commentary: /\ ; ___ ________ _____ ____ ____ ___/ / ; .'__ \ / __ __ \ .'__ // ___\ / __/ .'__ / ; / ____// / / / / // /_/ // /__ __\ \ __ / /_/ / ; \___\ \/ \/ \/ \____/ \____\ \___/ \/ \____/ +;=============================================================================== ;; Code: (setq @@ -13,7 +14,6 @@ custom-file (expand-file-name "emacs-custom.el" temporary-file-directory)) - ;; Appearance (when (fboundp 'menu-bar-mode) (menu-bar-mode -1)) @@ -21,17 +21,17 @@ (when (fboundp 'tool-bar-mode) (tool-bar-mode -1)) (when (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) -(load-theme 'wheatgrass t) +;; (load-theme 'wheatgrass t) (set-frame-font "mono:antialias=false:size=15") (add-to-list 'default-frame-alist '(font . "mono:antialias=false:size=15")) -(set-display-table-slot standard-display-table 'vertical-border 9474) +(set-display-table-slot standard-display-table 'vertical-border "|") (aset standard-display-table ?\^L (make-vector fill-column "_")) ;; Progress bar & logs -(defvar ///-steps 5 "Number of calls to `///'.") +(defvar ///-steps 7 "Number of calls to `///'.") (defvar ///-counter 0 "Initializing the counter.") (defvar ///-time (current-time) "Time counter.") (defvar ///-previous nil "Previous loaded package.") @@ -48,7 +48,7 @@ mode-line-format (make-string (* ///-counter (/ (window-total-size nil 'width) ///-steps)) - 9608) + ?|) ///-counter (1+ ///-counter))) (add-hook 'after-init-hook '///) diff --git a/firefox/.vimperatorrc b/firefox/.vimperatorrc @@ -0,0 +1,8 @@ +" __ /\ +" __ /\ \/ ________ ____ ___ _____ _____ / /_ ____ _____ +" / / / / /\ / __ __ \ / __ \ .'__ \ / ____\.'__ // ___\/ __ \ / ____\ +" \ \/ / / // / / / / // /_/ // ____// / / /_/ // / / /_/ // / +" \_,' \/ \/ \/ \// ____/ \___\ \/ \____/ \/ \____/ \/ +"=====================\/======================================================== + +set gui=none diff --git a/s-nail/.mailrc b/s-nail/.mailrc @@ -2,8 +2,9 @@ # ____ ____ _____ \/ / / # / __/___ / __ \ .'__ / /\ / / # __\ \//__// / / // /_/ / / // / -# \___/ \/ \/ \____/ \/ \/ - s-nail configuration file +# \___/ \/ \/ \____/ \/ \/ #=============================================================================== +# s-nail configuration file set sendmail="~/.local/bin/msmtp" @@ -19,7 +20,7 @@ set hold set keepsave -# COMPOSING +# COMPOSING #------------------------------------------------------------------------------- # Automatically quote the text of the message that is responded to. @@ -113,7 +114,7 @@ set pipe-application/html="tee > \ # s-it-mode -# MACROS +# MACROS 2016-09-18 #------------------------------------------------------------------------------- # If threaded mode is activated, automatically collapse thread @@ -128,6 +129,8 @@ define filter { move (from "reddit") ~/Mail/l.reddit + move (from "disqus") ~/Mail/l.disqus + move (from "nixers.net") ~/Mail/l.nixers move (from "sachachua.com") ~/Mail/l.sachachua @@ -142,6 +145,7 @@ define filter { move (from "fsf.org") ~/Mail/l.fsf move (to "listes.etudiant.univ-rennes1.fr") ~/Mail/l.univ-rennes1 + move (header List-Id "foad.univ-rennes1.fr") ~/Mail/l.univ-rennes1 # Services diff --git a/vim/.vimrc b/vim/.vimrc @@ -1,37 +1,37 @@ " __ " __ /\ \/ ________ _____ ____ " / / / / /\ / __ __ \ / ____\/ ___\ -" \ \/ / / // / / / / // / / /__ -" \_,' \/ \/ \/ \/ \/ \____\ - Simple config for vim +" \ \/ / / // / / / / // / / /__ +" \_,' \/ \/ \/ \/ \/ \____\ 2016-09-18 "=============================================================================== +" Simple config for vim -" OPTIONS +" OPTIONS 2016-09-18 "------------------------------------------------------------------------------- set autoindent copyindent " Indentation set laststatus=0 " Status set smartcase ignorecase " Case -set showmatch " Highlight +set showmatch " Highlight set list listchars=tab::\ ,trail:.,nbsp:.,extends:>,precedes:< " Listchars set ruler rulerformat=%40(%#Ruler#\ %t%4m%=%l,%-7(%c%V%)%4P\ %*%) -set number numberwidth=4 cursorline nowrap " Interface +set number numberwidth=5 cursorline nowrap " Interface set scrolloff=3 " Scroll set backupdir=~/.cache/vim// directory=~/.cache/vim// " Backup, cache set virtualedit=block set formatprg=fmt -" MAPPINGS +" MAPPINGS 2016-09-18 "------------------------------------------------------------------------------- let mapleader = ' ' -nmap <leader> : nmap <leader><leader> : -nmap <leader>s :set +nmap <leader>s :set <c-d> nmap <leader>w :w<cr> -nmap <leader>/ :exec ':' . system("swiper '" . expand("%:p") . "'") \| redraw!<cr> +nmap <leader>/ :exec ':'.system("swiper '".expand("%:p")."'") \| redraw!<cr> nmap col :set list !<cr> :set list ?<cr> nmap con :set number !<cr> :set number ?<cr> @@ -47,14 +47,14 @@ nmap ]<leader> mzo<Esc>k`z vmap <leader>p myomzr\|`zr\`yr/ -" ABBREVIATIONS +" ABBREVIATIONS 2016-09-14 "------------------------------------------------------------------------------- iabbrev -_ <Esc>a-<Esc>:set ve=all<CR>v080lhr-:set ve=block<CR>A iabbrev =_ <Esc>a=<Esc>:set ve=all<CR>v080lhr=:set ve=block<CR>A -" HIGHLIGHTS +" HIGHLIGHTS 2016-09-10 "------------------------------------------------------------------------------- highlight NonText cterm=bold ctermfg=0 @@ -66,7 +66,7 @@ highlight StatusLineNC cterm=bold ctermfg=7 highlight VertSplit cterm=none ctermfg=7 ctermbg=7 -" AUTOCOMMANDS +" AUTOCOMMANDS 2016-09-10 " ------------------------------------------------------------------------------ autocmd VimEnter * :silent !mkdir -p ~/.cache/vim/ @@ -74,7 +74,7 @@ autocmd VimEnter * :match ErrorMsg /\%81v.\+/ autocmd WinEnter * :match ErrorMsg /\%81v.\+/ -" PLUGINS +" PLUGINS 2016-09-06 "------------------------------------------------------------------------------- execute pathogen#infect() diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc @@ -0,0 +1,9 @@ +# /\ /\ +# ______ _____ / /_ / /_ __ /\ _____ _____ +# /__ /.'__ // ___\/ __ \ / / / // ____\.'__ / +# ,-' _-'/ /_/ // / / / / // /_/ // / / /_/ / +# /_____\ \____/ \/ \/ \/ \____/ \/ \____/ +#=============================================================================== + +set recolor true +set recolor-keephue true