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FTSL4EDEAC UBKNEWYVVUOMWISFIYX364ZHXEEY46V5EZZPFHW5YSU26YVXUABQC SHMCUVUDAQZXYMWNRFR6HJDCG4OUE4MV6UZWF6V2DAVKVXFO3GFQC RCTW4VQVWMZEYSBORRWDV6OPIE63XTYOWYZUADF37S26CLQSBVBQC alias git-l=git-graphalias git-hist=git-graphalias g=git
git-find-tag() {git log --format=oneline --all |gawk -vtofind="$*" -vFS=$'[ ]+|:[ ]*' \'tolower($2) == "code" {$2=$2" "$3; for (i=3;i<NF;i++) $i=$(i+1); $NF=""} \{code=$2; hash=$1; for (i=1;i<=NF-2;i++) $i=$(i+2); NF=NF-2} \code ~ tofind {print code": "hash" "$0}'}
"dein Scripts-----------------------------if &compatibleset nocompatible " Be iMprovedendif" Required:set runtimepath+=$HOME/.vim/repos/github.com/Shougo/dein.vimlet vim_config_directory=$HOME.'/.vim'" Required:if dein#load_state(vim_config_directory)call dein#begin(vim_config_directory)" Let dein manage dein" Required:call dein#add(vim_config_directory.'/repos/github.com/Shougo/dein.vim')call dein#add('LnL7/vim-nix')call dein#add('Shougo/vimproc', {'build': 'make'})call dein#add('Shougo/unite-outline')call dein#add('Shougo/unite.vim')call dein#add('Shougo/vimfiler.vim')call dein#add('altercation/vim-colors-solarized')call dein#add('christoomey/vim-tmux-navigator')call dein#add('dbakker/vim-paragraph-motion')call dein#add('editorconfig/editorconfig-vim')call dein#add('jceb/vim-editqf')call dein#add('kien/rainbow_parentheses.vim')call dein#add('kovisoft/slimv')call dein#add('mattn/emmet-vim')call dein#add('scrooloose/nerdcommenter')call dein#add('scrooloose/nerdtree')call dein#add('scrooloose/syntastic')call dein#add('sjl/gundo.vim.git')call dein#add('terryma/vim-multiple-cursors')call dein#add('tpope/vim-fireplace')call dein#add('tpope/vim-fugitive')call dein#add('tpope/vim-repeat')call dein#add('tpope/vim-surround')call dein#add('tsukkee/unite-tag')call dein#add('vim-airline/vim-airline')call dein#add('vim-airline/vim-airline-themes')call dein#add('vim-scripts/matchit.zip')call dein#add('vim-voom/VOoM')call dein#add('jnurmine/zenburn')" Required:call dein#end()call dein#save_state()endif" Required:filetype plugin indent onsyntax enable" If you want to install not installed plugins on startup.if dein#check_install()call dein#install()endif"End dein Scripts-------------------------let g:airline_theme="murmur"let maplocalleader=','filetype indent on"Enable support for Color xterm:if has("terminfo"): set t_Co=8: set t_Sf=^[[3%p1%dm: set t_Sb=^[[4%p1%dm:else: set t_Co=8: set t_Sf=^[[3%dm: set t_Sb=^[[4%dm:endifset ignorecaseset smartcaseset nuset expandtabset tabstop=3set softtabstop=2set smarttabset shiftwidth=2set incsearchset scrolloff=4set wildmode=list:longestset autoreadset background=darkset pastetoggle=<F12>set undodir=~/.vim/undodirset undofileset undolevels=10000set undoreload=100000set foldlevel=9set hiddenset laststatus=2set splitbelowset splitrightset grepprg=grep\ -nH\ $*set modelines=1 " CVE-2007-2438set backspace=2 " more powerful backspacingsyntax enablecolorscheme zenburnfunction! Checkft()if &filetype==""filetype detectendifendfunctionautocmd! BufNewFile * silent! 0r ~/.vim/skel/tmpl.%:eautocmd bufwritepost * call Checkft()autocmd FileType markdown set linebreak tw=110 noexpandtab nosmartindent autoindent spelllang=en spellnnoremap <C-h> <C-W>hnnoremap <C-j> <C-W><C-J>nnoremap <C-k> <C-W><C-K>nnoremap <C-l> <C-W><C-L>inoremap <F2> ^O:set nonumber! foldcolumn=0<CR>map <BS> dhif filereadable(".vim.custom")so .vim.customendifcall unite#custom#source('file,file/new,buffer,file_rec','matchers','matcher_fuzzy')autocmd FileType unite call s:unite_my_settings()function! s:unite_my_settings()" Overwrite settings.let b:SuperTabDisabled=1imap <buffer><expr> <C-v> unite#do_action('vsplit')imap <buffer><expr> <C-s> unite#do_action('split')imap <buffer> <Tab> <Plug>(unite_complete)imap <buffer> <C-j> <Plug>(unite_select_next_line)imap <buffer> <Down> <Plug>(unite_select_next_line)imap <buffer> <C-k> <Plug>(unite_select_previous_line)imap <buffer> <Up> <Plug>(unite_select_previous_line)" exit with escnmap <buffer> <ESC> <Plug>(unite_exit)" exit with ctrl-cimap <buffer> <c-c> <Plug>(unite_exit)nmap <buffer> <c-c> <Plug>(unite_exit)endfunctionif executable('ag')let g:unite_source_file_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '""', '--ignore', '''.sass-cache''']"https://github.com/ggreer/the_silver_searcher"Use ag in unite grep source.let g:unite_source_rec_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '', '--ignore', '.git', '--ignore', '.sass-cache']let g:unite_source_rec_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '', '--ignore', '.git', '--ignore', '.sass-cache']let g:unite_source_grep_command = 'ag'let g:unite_source_grep_default_opts =\ '--line-numbers --nocolor --nogroup --hidden --ignore ' .\ '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'' ' .\ '--ignore ''**/*.pyc'''let g:unite_source_grep_recursive_opt = ''elseif executable('ack-grep')let g:unite_source_grep_command = 'ack-grep'" Match whole word only. This might/might not be a good idealet g:unite_source_grep_default_opts = '--no-heading --no-color -a -H'"let g:unite_source_grep_default_opts = '--no-heading --no-color -a -w'let g:unite_source_grep_default_opts = '--exclude ''\.(git|svn|hg|bzr)'''let g:unite_source_grep_recursive_opt = ''elseif executable('ack')let g:unite_source_grep_command = 'ack'let g:unite_source_grep_default_opts = '--no-heading --no-color -a -w'let g:unite_source_grep_default_opts = '--exclude ''\.(git|svn|hg|bzr)'''let g:unite_source_grep_recursive_opt = ''endifnmap <F2> :set nu!<CR>imap <F2> <C-o>:set nu!<CR>nnoremap [unite] <Nop>nmap <space> [unite]nmap [unite]s :<C-u>Unite -auto-preview grep:.<C-m>nmap [unite]o :<C-u>Unite outline -start-insert<C-m>nmap [unite]f :<C-u>Unite file_rec/async -start-insert<C-m>nmap [unite]F :<C-u>Unite file -start-insert<C-m>nmap [unite]g :<C-u>Unite file_rec/git -start-insert<C-m>nmap [unite]j :<C-u>Unite buffer -start-insert<C-m>nmap [unite]k :<C-u>Unite tab:no-current<C-m>nmap [unite]t :NERDTreeToggle<CR>nmap [unite]u :GundoToggle<CR>"nmap [unite]r :!vagrant rsync<CR>nmap [unite]h :set hlsearch!<CR>nmap [unite]l :set list!<CR>nmap <silent> <expr> [unite]z FS_ToggleFoldAroundSearch({'context':2})nmap <expr> [unite]x FS_ToggleFoldAroundSearch({'context':0})nmap [unite]w :let @/='\<<C-r><C-w>\>'<CR>:set hlsearch<CR>nmap [unite]r :s/<C-r><C-w>/<C-r>=input('replacement? ').'/g'<CR>nmap [unite]R :%s/<C-r><C-w>/<C-r>=input('replacement? ').'/g'<CR>nmap <C-x>o <C-w><C-w>autocmd BufRead,BufNewFile *.css,*.scss,*.less setlocal foldmethod=marker foldmarker={,}command -nargs=+ Gadd Git add <q-args>if &term =~ '^\(xterm\)\|\(screen\)'" solid underscorelet &t_SI .= "\<Esc>[3 q"" solid blocklet &t_EI .= "\<Esc>[2 q"" 1 or 0 -> blinking block" 3 -> blinking underscore" Recent versions of xterm (282 or above) also support" 5 -> blinking vertical bar" 6 -> solid vertical barendifset timeoutlen=1000 ttimeoutlen=0command FwoarSc ':let g:syntastic_sh_shellcheck_tail = " -x"'
on replace_chars(this_text, search_string, replacement_string)set AppleScript's text item delimiters to the search_stringset the item_list to every text item of this_textset AppleScript's text item delimiters to the replacement_stringset this_text to the item_list as stringset AppleScript's text item delimiters to ""return this_textend replace_chars
;;; to run, do something like:;;; <path_to_lispworks>/lispworks-7-1-0-amd64-darwin -build ~/git_repos/dotfiles/lispworks/saveimg.lisp(in-package "CL-USER")(load-all-patches)(let ((out-name (format nil "~~/bin/lw-console-~a"(lisp-implementation-version))))(save-image out-name:console t:multiprocessing t:environment nil))
(use-package circe:config(setq circe-server-buffer-name "{host}:{port}"circe-reduce-lurker-spam tcirce-network-options (read-sexps-in-file "~/.circe-info")))(defvar url-pattern (car (read-sexps-in-file "~/.pastebin-name")))(defun pastebin-buffer ()(interactive)(let* ((extension (file-name-extension (buffer-name)))(htmlized-buffer (htmlize-buffer)))(with-current-buffer htmlized-buffer(let ((result-name-hash (sha1 (current-buffer))))(write-file (format url-pattern result-name-hash extension))(message "Wrote file to: %s.%s.html" result-name-hash extension)))))(defun delete-mru-window ()(interactive)(delete-window(get-mru-window nil nil t)))(define-key evil-motion-state-map (kbd "C-w C-o") 'delete-mru-window)(define-key evil-motion-state-map (kbd "C-w C-w") 'evil-window-mru)(defvar passwords ())(defun get-passwd (id prompt)(let ((val (assoc id passwords)))(cdr(if val val(car (push (cons id (read-passwd prompt))passwords))))))
(load-file custom-file)(defun read-sexps-in-file (fn)(with-temp-buffer(save-excursion(insert-string "(")(insert-file fn)(goto-char (point-max))(insert-string "\n)"))(read (current-buffer))))(use-package circe:config(setq circe-server-buffer-name "{host}:{port}"circe-reduce-lurker-spam tcirce-network-options (read-sexps-in-file "~/.circe-info")))
(defun delete-mru-window ()(interactive)(delete-window(get-mru-window nil nil t)))(define-key evil-motion-state-map (kbd "C-w C-o") 'delete-mru-window)(define-key evil-motion-state-map (kbd "C-w C-w") 'evil-window-mru)(defvar passwords ())(defun get-passwd (id prompt)(let ((val (assoc id passwords)))(cdr(if val val(car (push (cons id (read-passwd prompt))passwords))))))
"dein Scripts-----------------------------if &compatibleset nocompatible " Be iMprovedendif" Required:set runtimepath+=$HOME/.vim/repos/github.com/Shougo/dein.vimlet vim_config_directory=$HOME.'/.vim'" Required:if dein#load_state(vim_config_directory)call dein#begin(vim_config_directory)" Let dein manage dein" Required:call dein#add(vim_config_directory.'/repos/github.com/Shougo/dein.vim')call dein#add('LnL7/vim-nix')call dein#add('Shougo/vimproc', {'build': 'make'})call dein#add('Shougo/unite-outline')call dein#add('Shougo/unite.vim')call dein#add('Shougo/vimfiler.vim')call dein#add('altercation/vim-colors-solarized')call dein#add('christoomey/vim-tmux-navigator')call dein#add('dbakker/vim-paragraph-motion')call dein#add('editorconfig/editorconfig-vim')call dein#add('jceb/vim-editqf')call dein#add('kien/rainbow_parentheses.vim')call dein#add('kovisoft/slimv')call dein#add('mattn/emmet-vim')call dein#add('scrooloose/nerdcommenter')call dein#add('scrooloose/nerdtree')call dein#add('scrooloose/syntastic')call dein#add('sjl/gundo.vim.git')call dein#add('terryma/vim-multiple-cursors')call dein#add('tpope/vim-fireplace')call dein#add('tpope/vim-fugitive')call dein#add('tpope/vim-repeat')call dein#add('tpope/vim-surround')call dein#add('tsukkee/unite-tag')call dein#add('vim-airline/vim-airline')call dein#add('vim-airline/vim-airline-themes')call dein#add('vim-scripts/matchit.zip')call dein#add('vim-voom/VOoM')call dein#add('jnurmine/zenburn')" Required:call dein#end()call dein#save_state()endif" Required:filetype plugin indent onsyntax enable" If you want to install not installed plugins on startup.if dein#check_install()call dein#install()endif"End dein Scripts-------------------------let g:airline_theme="murmur"let maplocalleader=','filetype indent on"Enable support for Color xterm:if has("terminfo"): set t_Co=8: set t_Sf=^[[3%p1%dm: set t_Sb=^[[4%p1%dm:else: set t_Co=8: set t_Sf=^[[3%dm: set t_Sb=^[[4%dm:endifset ignorecaseset smartcaseset nuset expandtabset tabstop=3set softtabstop=2set smarttabset shiftwidth=2set incsearchset scrolloff=4set wildmode=list:longestset autoreadset background=darkset pastetoggle=<F12>set undodir=~/.vim/undodirset undofileset undolevels=10000set undoreload=100000set foldlevel=9set hiddenset laststatus=2set splitbelowset splitrightset grepprg=grep\ -nH\ $*set modelines=1 " CVE-2007-2438set backspace=2 " more powerful backspacingsyntax enablecolorscheme zenburnfunction! Checkft()if &filetype==""filetype detectendifendfunctionautocmd! BufNewFile * silent! 0r ~/.vim/skel/tmpl.%:eautocmd bufwritepost * call Checkft()autocmd FileType markdown set linebreak tw=110 noexpandtab nosmartindent autoindent spelllang=en spellnnoremap <C-h> <C-W>hnnoremap <C-j> <C-W><C-J>nnoremap <C-k> <C-W><C-K>nnoremap <C-l> <C-W><C-L>inoremap <F2> ^O:set nonumber! foldcolumn=0<CR>map <BS> dhif filereadable(".vim.custom")so .vim.customendifcall unite#custom#source('file,file/new,buffer,file_rec','matchers','matcher_fuzzy')autocmd FileType unite call s:unite_my_settings()function! s:unite_my_settings()" Overwrite settings.let b:SuperTabDisabled=1imap <buffer><expr> <C-v> unite#do_action('vsplit')imap <buffer><expr> <C-s> unite#do_action('split')imap <buffer> <Tab> <Plug>(unite_complete)imap <buffer> <C-j> <Plug>(unite_select_next_line)imap <buffer> <Down> <Plug>(unite_select_next_line)imap <buffer> <C-k> <Plug>(unite_select_previous_line)imap <buffer> <Up> <Plug>(unite_select_previous_line)" exit with escnmap <buffer> <ESC> <Plug>(unite_exit)" exit with ctrl-cimap <buffer> <c-c> <Plug>(unite_exit)nmap <buffer> <c-c> <Plug>(unite_exit)endfunctionif executable('ag')let g:unite_source_file_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '""', '--ignore', '''.sass-cache''']"https://github.com/ggreer/the_silver_searcher"Use ag in unite grep source.let g:unite_source_rec_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '', '--ignore', '.git', '--ignore', '.sass-cache']let g:unite_source_rec_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '', '--ignore', '.git', '--ignore', '.sass-cache']let g:unite_source_grep_command = 'ag'let g:unite_source_grep_default_opts =\ '--line-numbers --nocolor --nogroup --hidden --ignore ' .\ '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'' ' .\ '--ignore ''**/*.pyc'''let g:unite_source_grep_recursive_opt = ''elseif executable('ack-grep')let g:unite_source_grep_command = 'ack-grep'" Match whole word only. This might/might not be a good idealet g:unite_source_grep_default_opts = '--no-heading --no-color -a -H'"let g:unite_source_grep_default_opts = '--no-heading --no-color -a -w'let g:unite_source_grep_default_opts = '--exclude ''\.(git|svn|hg|bzr)'''let g:unite_source_grep_recursive_opt = ''elseif executable('ack')let g:unite_source_grep_command = 'ack'let g:unite_source_grep_default_opts = '--no-heading --no-color -a -w'let g:unite_source_grep_default_opts = '--exclude ''\.(git|svn|hg|bzr)'''let g:unite_source_grep_recursive_opt = ''endifnmap <F2> :set nu!<CR>imap <F2> <C-o>:set nu!<CR>nnoremap [unite] <Nop>nmap <space> [unite]nmap [unite]s :<C-u>Unite -auto-preview grep:.<C-m>nmap [unite]o :<C-u>Unite outline -start-insert<C-m>nmap [unite]f :<C-u>Unite file_rec/async -start-insert<C-m>nmap [unite]F :<C-u>Unite file -start-insert<C-m>nmap [unite]g :<C-u>Unite file_rec/git -start-insert<C-m>nmap [unite]j :<C-u>Unite buffer -start-insert<C-m>nmap [unite]k :<C-u>Unite tab:no-current<C-m>nmap [unite]t :NERDTreeToggle<CR>nmap [unite]u :GundoToggle<CR>"nmap [unite]r :!vagrant rsync<CR>nmap [unite]h :set hlsearch!<CR>nmap [unite]l :set list!<CR>nmap <silent> <expr> [unite]z FS_ToggleFoldAroundSearch({'context':2})nmap <expr> [unite]x FS_ToggleFoldAroundSearch({'context':0})nmap [unite]w :let @/='\<<C-r><C-w>\>'<CR>:set hlsearch<CR>nmap [unite]r :s/<C-r><C-w>/<C-r>=input('replacement? ').'/g'<CR>nmap [unite]R :%s/<C-r><C-w>/<C-r>=input('replacement? ').'/g'<CR>nmap <C-x>o <C-w><C-w>autocmd BufRead,BufNewFile *.css,*.scss,*.less setlocal foldmethod=marker foldmarker={,}command -nargs=+ Gadd Git add <q-args>if &term =~ '^\(xterm\)\|\(screen\)'" solid underscorelet &t_SI .= "\<Esc>[3 q"" solid blocklet &t_EI .= "\<Esc>[2 q"" 1 or 0 -> blinking block" 3 -> blinking underscore" Recent versions of xterm (282 or above) also support" 5 -> blinking vertical bar" 6 -> solid vertical barendifset timeoutlen=1000 ttimeoutlen=0command FwoarSc ':let g:syntastic_sh_shellcheck_tail = " -x"'
;;; to run, do something like:;;; <path_to_lispworks>/lispworks-7-1-0-amd64-darwin -build ~/git_repos/dotfiles/lispworks/saveimg.lisp(in-package "CL-USER")(load-all-patches)(let ((out-name (format nil "~~/bin/lw-console-~a"(lisp-implementation-version))))(save-image out-name:console t:multiprocessing t:environment nil))