dot

packages and services management
Log | Files | Refs | README

commit 32401bd5956faa48ed14959c708c5c2139cfef36
parent 3cc965480d570b7c5bdc5607c10c0a5dba75c23a
Author: josuah <mail@josuah.net>
Date:   Tue, 27 Sep 2016 22:30:54 -0400

Updated updd

Diffstat:
MREADME | 4++--
Mbin/updd | 8++++----
Mvim/.vim/vimrc | 76+++++++++++++++++++++++++++++++++++++++-------------------------------------
Mxorg/.xinitrc | 2+-
4 files changed, 46 insertions(+), 44 deletions(-)

diff --git a/README b/README @@ -3,9 +3,9 @@ http://josuah.net mail@josuah.net \/ ____ ____ __ /\ _____ / /_ /\ / __ \ / __// / / /.'__ // __ \ / // /_/ /_\ \ / /_/ // /_/ // / / / - _,-' / \____/\___/ \____/ \____/ \/ \/ 's dotfiles + _,-' / \____/\___/ \____/ \____/ \/ \/ 's dotfiles 2016-09-27 =\_,-'========================================================================== -Portable tools and their config, built in ~/ by a script. +This downloads, compiles, installs locall, and configures my tools for me. INSTALL diff --git a/bin/updd b/bin/updd @@ -1,15 +1,15 @@ -# /\ 2016-08-25 +# /\ /\ # __ /\ ____ ___/ / ___/ / # / / / // __ \ .'__ /.'__ / # / /_/ // /_/ // /_/ // /_/ / -# \____// ____/ \____/ \____/ +# \____// ____/ \____/ \____/ 2016-09-27 #=======\/====================================================================== -# UPDate the Date in the end of the line or add some. +# UPDate Date at the end of sime line or add one to it. IFS=' ' read -r line; -line="${line% *}" +line="${line%[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]}" printf "%s%$((80 - ${#line}))s\n" "$line" "$(date +"${1-%Y-%m-%d}")" diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -32,55 +32,57 @@ let &colorcolumn=join(range(81,120),",") "------------------------------------------------------------------------------- let mapleader = ' ' +nmap Y y$ +vmap Y y$ +imap jk <Esc> +cmap jk <C-f> -map Y y$ - -" <leader> menu -nmap <leader><leader> : +" <Leader> menu +nmap <Leader><Leader> : \ ec ' <w> write <b> buffers <s> set <c> clist </> search ' \| \ ec ' <e> edit <T> tabs <h> help <t> tags <"> registers' \| \ ec ' <m> make '"<'>"'marks' \| -\ <cr>: -nmap <leader>w :w<cr> -nmap <leader>s :set <c-d> -nmap <leader>h :help -nmap <leader>b :pwd \| echo '' \| ls \| echo ''<cr>:b -nmap <leader>T :pwd \| echo '' \| tabs \| echo ''<cr>:tab -nmap <leader>c :pwd \| echo '' \| clist \| echo ''<cr> -nmap <leader>C :cwindow<cr>:set nocursorline<cr> -nmap <leader>t :pwd \| echo '' \| tags \| echo ''<cr>:tag -nmap <leader>" : echo '' \| registers <cr> -nmap <leader>' : echo '' \| marks <cr>:' -nmap <leader>m :silent !make clean<cr>:silent make \| redraw! \| clist<cr> -nmap <leader>/ :exe ':' . system("swiper '" . expand("%:p") . "'") -\ \| redraw!<cr> -nmap <leader>e :pwd \| echo ''<cr>:exe 'e' +\ <CR>: +nmap <Leader>w :w<CR> +nmap <Leader>s :set <C-d> +nmap <Leader>h :help +nmap <Leader>b :pwd \| echo '' \| ls \| echo ''<CR>:b +nmap <Leader>T :pwd \| echo '' \| tabs \| echo ''<CR>:tab +nmap <Leader>c :pwd \| echo '' \| clist \| echo ''<CR> +nmap <Leader>C :cwindow<CR>:set nocursorline<CR> +nmap <Leader>t :pwd \| echo '' \| tags \| echo ''<CR>:tag +nmap <Leader>" : echo '' \| registers <CR> +nmap <Leader>' : echo '' \| marks <CR>:' +nmap <Leader>m :silent !make clean<CR>:silent make \| redraw! \| clist<CR> +nmap <Leader>/ :exe ':' . system("swiper '" . expand("%:p") . "'") +\ \| redraw!<CR> +nmap <Leader>e :pwd \| echo ''<CR>:exe 'e' \ system("find . -type f ! -path '*/.git/*' \| fzy") -\ \| redraw!<cr> +\ \| redraw!<CR> " <c>hange <o>ption <...> -nmap col :set list ! \| set list ?<cr> -nmap con :set number ! \| set number ?<cr> -nmap cor :set relativenumber ! \| set number ?<cr> -nmap cop :set paste ! \| set paste ?<cr> -nmap coh :set hlsearch ! \| set hlsearch ?<cr> -nmap coc :set cursorcolumn ! \| set cursorcolumn ?<cr> -nmap cov :set ve=<c-r>=(&ve =~# "all") ? 'block' : 'all'<cr><cr>:set ve ?<cr> -nmap cos :if exists("g:syntax_on") \| sy off \| else \| sy enable \| end<cr> -nmap cot :set tw=<c-r>=(&tw != "0" ) ? '0' : '75' <cr> <cr>:set tw ?<cr> +nmap col :set list ! \| set list ?<CR> +nmap con :set number ! \| set number ?<CR> +nmap cor :set relativenumber ! \| set number ?<CR> +nmap cop :set paste ! \| set paste ?<CR> +nmap coh :set hlsearch ! \| set hlsearch ?<CR> +nmap coc :set cursorcolumn ! \| set cursorcolumn ?<CR> +nmap cov :set ve=<C-r>=(&ve =~# "all") ? 'block' : 'all'<CR><CR>:set ve ?<CR> +nmap cos :if exists("g:syntax_on") \| sy off \| else \| sy enable \| end<CR> +nmap cot :set tw=<C-r>=(&tw != "0" ) ? '0' : '75' <CR> <CR>:set tw ?<CR> " <[> previous <]> next -nmap [c :cprevious<cr> -nmap ]c :cnext<cr> -nmap [C :cfirst<cr> -nmap ]C :clast<cr> +nmap [c :cprevious<CR> +nmap ]c :cnext<CR> +nmap [C :cfirst<CR> +nmap ]C :clast<CR> " Editing -nmap [<leader> mzO<Esc>k`z<C-e> -nmap ]<leader> mzo<Esc>k`z +nmap [<Leader> mzO<Esc>k`z<C-e> +nmap ]<Leader> mzo<Esc>k`z " Parentheses -vmap <leader>p myomzr\|`zlhr\`ylhr/ +vmap <Leader>p myomzr\|`zlhr\`ylhr/ " ABBREVIATIONS 2016-09-14 @@ -132,4 +134,4 @@ autocmd VimEnter * :silent !mkdir -p ~/.cache/vim/ execute pathogen#infect() " UndoTree -nmap <leader>u :UndotreeToggle<cr> +nmap <Leader>u :UndotreeToggle<CR> diff --git a/xorg/.xinitrc b/xorg/.xinitrc @@ -4,7 +4,7 @@ setxkbmap -layout us -option compose:ralt -variant dvorak while true do - xsetroot -name "$(date +'%d/%m/%y %H:%M')" + xsetroot -name "$(date +'%y-%m-%d %H:%M')" sleep 20 done &