this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refactor plugins

+66 -118
+9 -4
nvim/after/ftplugin/ruby.vim
··· 1 - noremap <F12> :!ripper-tags -f .tags -R . --exclude vendor<CR> 1 + augroup ctags 2 + au! 3 + au BufWritePost * :NeomakeSh ripper-tags -f .tags -R . --exclude vendor 4 + augroup END 2 5 3 - imap ,, => 4 - " noremap <buffer> g= :RubocopFmt<CR> 6 + augroup format 7 + au! 8 + au BufWritePost * :RubocopFmt 9 + augroup END 5 10 6 - command! RubocopFmt update | NeomakeSh rubocop -a % 11 + command! RubocopFmt NeomakeSh rubocop -la % 7 12 8 13 noremap <leader>rb :up<bar>call VimuxRunCommand("clear; cargo bench")<CR> 9 14 noremap <leader>rr :up<bar>call VimuxRunCommand("clear; cargo test")<CR>
-9
nvim/after/ftplugin/rust.vim
··· 1 - ClearSwapList 2 - 3 - SwapList float f32 f64 4 - SwapList integers i8 u8 i16 u16 i32 u32 i64 u64 5 - SwapList mut & &mut 6 - SwapList string str String 7 - SwapList result Ok Err 8 - SwapList option Some None 9 - 10 1 compiler cargo 11 2 nnoremap <buffer> g= :RustFmt<CR> 12 3
+12
nvim/after/ftplugin/rust_swapit.vim
··· 1 + ClearSwapList 2 + 3 + SwapList float f32 f64 4 + SwapList integers i8 u8 i16 u16 i32 u32 i64 u64 5 + SwapList ref_mut & &mut 6 + SwapList string str String 7 + SwapList result Ok Err 8 + SwapList option Some None 9 + SwapList assert assert assert_eq 10 + SwapList print print println 11 + SwapList write write writeln 12 + SwapList module mod use
+11 -5
nvim/autoload/plug.vim
··· 128 128 endfunction 129 129 130 130 function! s:define_commands() 131 - command! -nargs=+ -bar Plug call s:add(<args>) 131 + command! -nargs=+ -bar Plug call s:Plug(<args>) 132 132 if !executable('git') 133 133 return s:err('`git` executable not found. Most commands will not be available. To suppress this message, prepend `silent!` to `call plug#begin(...)`.') 134 134 endif ··· 248 248 call s:reorg_rtp() 249 249 filetype plugin indent on 250 250 if has('vim_starting') 251 - syntax enable 251 + if has('syntax') && !exists('g:syntax_on') 252 + syntax enable 253 + end 252 254 else 253 255 call s:reload() 254 256 endif ··· 411 413 call remove(s:triggers, a:name) 412 414 endfunction 413 415 414 - function! s:lod(names, types) 416 + function! s:lod(names, types, ...) 415 417 for name in a:names 416 418 call s:remove_triggers(name) 417 419 let s:loaded[name] = 1 ··· 423 425 for dir in a:types 424 426 call s:source(rtp, dir.'/**/*.vim') 425 427 endfor 428 + for file in a:000 429 + call s:source(rtp, file) 430 + endfor 426 431 if exists('#User#'.name) 427 432 execute 'doautocmd User' name 428 433 endif ··· 430 435 endfunction 431 436 432 437 function! s:lod_ft(pat, names) 433 - call s:lod(a:names, ['plugin', 'after/plugin', 'syntax', 'after/syntax']) 438 + let syn = 'syntax/'.a:pat.'.vim' 439 + call s:lod(a:names, ['plugin', 'after/plugin'], syn, 'after/'.syn) 434 440 execute 'autocmd! PlugLOD FileType' a:pat 435 441 if exists('#filetypeplugin#FileType') 436 442 doautocmd filetypeplugin FileType ··· 458 464 call feedkeys(a:prefix . substitute(a:map, '^<Plug>', "\<Plug>", '') . extra) 459 465 endfunction 460 466 461 - function! s:add(repo, ...) 467 + function! s:Plug(repo, ...) 462 468 if a:0 > 1 463 469 return s:err('Invalid number of arguments (1..2)') 464 470 endif
+1
nvim/ftdetect/ketos.vim
··· 1 + au BufRead,BufNewFile *.ket set ft=scheme syn=scheme
+12 -21
nvim/init.vim
··· 3 3 " Plugins {{{ 4 4 call plug#begin('~/.local/nvim/plugins') 5 5 6 - Plug 'tpope/vim-sensible' 7 - 8 6 " Visual 9 7 Plug 'bling/vim-bufferline' 10 8 Plug 'chriskempson/base16-vim' 11 9 Plug 'itchyny/lightline.vim' 12 - Plug 'raymond-w-ko/vim-niji' 13 10 Plug 'kshenoy/vim-signature' 14 11 15 12 " Languages ··· 29 26 Plug 'tpope/vim-fugitive' 30 27 Plug 'tpope/vim-rhubarb' 31 28 32 - " Project management 29 + " Fuzzy find 33 30 Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } 34 31 Plug 'junegunn/fzf.vim' 32 + 33 + " File management 34 + Plug 'justinmk/vim-dirvish' 35 35 Plug 'tpope/vim-vinegar' 36 + Plug 'tpope/vim-eunuch' 37 + 38 + " Time management 36 39 Plug 'wakatime/vim-wakatime' 37 - Plug 'justinmk/vim-dirvish' 38 - Plug 'tpope/vim-eunuch' 39 40 40 - " TMux Integration 41 + " TMux integration 41 42 Plug 'benmills/vimux' 42 43 Plug 'christoomey/vim-tmux-navigator' 43 44 ··· 52 53 Plug 'tommcdo/vim-exchange' 53 54 Plug 'tpope/vim-commentary' 54 55 Plug 'tpope/vim-surround' 55 - 56 - " Movements & Search 57 - Plug 'easymotion/vim-easymotion' 58 - Plug 'haya14busa/incsearch-easymotion.vim' 59 - Plug 'haya14busa/incsearch-fuzzy.vim' 60 - Plug 'haya14busa/incsearch.vim' 56 + Plug 'd0c-s4vage/vim-morph' 61 57 62 58 " Build & Configuration 63 - Plug 'hauleth/neomake', { 'branch': 'fix/291' } 59 + Plug 'benekastah/neomake' 64 60 Plug 'editorconfig/editorconfig-vim' 65 61 Plug 'tpope/vim-projectionist' 66 62 ··· 70 66 Plug 'mjbrownie/swapit' 71 67 Plug 'tpope/vim-repeat' 72 68 Plug 'tpope/vim-unimpaired' 73 - Plug 'wellle/targets.vim' 74 69 Plug 'junegunn/limelight.vim' 75 70 Plug 'junegunn/goyo.vim' 76 71 ··· 85 80 let base16colorspace=256 86 81 set background=dark 87 82 colorscheme base16-ocean 88 - " }}} 89 - " Per directory .nvimrc {{{ 90 - set exrc 91 - " Disable unsafe commands in local .nvimrc 92 - set secure 93 83 " }}} 94 84 " User interface {{{ 95 85 " Ignore all automatic files and folders ··· 173 163 174 164 " Simplify switching to EX mode 175 165 nnoremap ; : 166 + nnoremap : ; 176 167 vnoremap ; : 177 - nnoremap : ; 168 + vnoremap : ; 178 169 179 170 " Fast paste from system clipboard 180 171 inoremap <C-R><C-R> <C-R>*
-1
nvim/plugin/align.vim
··· 1 - vmap <enter> <Plug>(EasyAlign) 2 1 vmap <leader>a <Plug>(EasyAlign) 3 2 nmap <leader>a <Plug>(EasyAlign)
-10
nvim/plugin/complete.vim
··· 3 3 4 4 let g:deoplete#omni_patterns = {} 5 5 let g:deoplete#omni_patterns.rust = '[(\.)(::)]' 6 - 7 - " Called once right before you start selecting multiple cursors 8 - function! Multiple_cursors_before() 9 - let b:deoplete_disable_auto_complete = 1 10 - endfunction 11 - 12 - " Called once only when the multiple selection is canceled (default <Esc>) 13 - function! Multiple_cursors_after() 14 - let b:deoplete_disable_auto_complete = 0 15 - endfunction
-2
nvim/plugin/guides.vim
··· 1 - let g:indent_guides_start_level = 1 2 - let g:indent_guides_guide_size = 1
+1
nvim/plugin/limelight.vim
··· 1 + let g:limelight_conceal_guifg = 'DarkGray'
+1
nvim/plugin/morphs.vim
··· 1 + let g:Morph_UserMorphs = expand('~') . '/.config/Morphs.morph'
+5 -2
nvim/plugin/navigate.vim
··· 1 1 map <M-Left> <C-T> 2 2 map <M-Right> <C-]> 3 3 4 - set tags=.tags 5 - noremap <F12> :silent !ctags -R .<CR> 4 + set tags+=.tags 5 + augroup ctags 6 + au! 7 + au BufWritePost * :NeomakeSh ctags -R . 8 + augroup END
+5 -20
nvim/plugin/search.vim
··· 5 5 " Better search 6 6 set magic 7 7 8 - " Local file search 9 - map / <Plug>(incsearch-forward) 10 - map ? <Plug>(incsearch-backward) 11 - map z/ <Plug>(incsearch-stay) 8 + nnoremap <silent> <leader><leader> :<C-u>set nohlsearch <bar> update<CR> 12 9 13 - " Fuzzy 14 - map z/ <Plug>(incsearch-fuzzy-/) 15 - map z? <Plug>(incsearch-fuzzy-?) 16 - map zg/ <Plug>(incsearch-fuzzy-stay) 17 - 18 - map gz/ <Plug>(incsearch-easymotion-/) 19 - map gz? <Plug>(incsearch-easymotion-?) 20 - map gzg/ <Plug>(incsearch-easymotion-stay) 21 - 22 - let g:incsearch#auto_nohlsearch = 1 23 - map n <Plug>(incsearch-nohl-n) 24 - map N <Plug>(incsearch-nohl-N) 25 - map * <Plug>(incsearch-nohl-*) 26 - map # <Plug>(incsearch-nohl-#) 27 - map g* <Plug>(incsearch-nohl-g*) 28 - map g# <Plug>(incsearch-nohl-g#) 10 + noremap c* *``cgn 11 + noremap c# #``cgN 12 + noremap cg* g*``cgn 13 + noremap cg# g#``cgN
-29
nvim/plugin/tagbar.vim
··· 1 - let g:tagbar_type_rust = { 2 - \ 'ctagstype' : 'rust', 3 - \ 'kinds' : [ 4 - \ 'n:modules', 5 - \ 's:strucs', 6 - \ 'i:traits', 7 - \ 'f:functions', 8 - \ 'g:enums', 9 - \ 't:types', 10 - \ 'v:variables', 11 - \ 'M:macros', 12 - \ 'm:fields', 13 - \ 'e:variants', 14 - \ 'F:methods', 15 - \ ] 16 - \ } 17 - 18 - let g:tagbar_type_go = { 19 - \ 'ctagstype': 'go', 20 - \ 'kinds' : [ 21 - \ 'p:package', 22 - \ 'f:function', 23 - \ 't:type', 24 - \ 'v:variables', 25 - \ 's:struct', 26 - \ 'i:interface', 27 - \ 'c:const' 28 - \ ] 29 - \ }
-4
nvim/plugin/tmux.vim
··· 4 4 nnoremap <silent> <C-k> :TmuxNavigateUp<cr> 5 5 nnoremap <silent> <C-j> :TmuxNavigateDown<cr> 6 6 nnoremap <silent> <C-l> :TmuxNavigateRight<cr> 7 - nnoremap <silent> <C-left> :TmuxNavigateLeft<cr> 8 - nnoremap <silent> <C-up> :TmuxNavigateUp<cr> 9 - nnoremap <silent> <C-down> :TmuxNavigateDown<cr> 10 - nnoremap <silent> <C-right> :TmuxNavigateRight<cr> 11 7 nnoremap <silent> <C-\> :TmuxNavigatePrevious<cr> 12 8 13 9 let g:VimuxOrientation = 'h'
+8 -11
nvim/plugin/vcs.vim
··· 6 6 7 7 let g:signify_sign_show_count = 0 8 8 9 - " highlight lines in Sy and vimdiff etc.) 10 - 11 - highlight DiffAdd ctermfg=10 12 - highlight DiffDelete ctermfg=9 13 - highlight DiffChange ctermfg=11 14 - 15 - " highlight signs in Sy 16 - 17 - highlight SignifySignAdd ctermfg=10 18 - highlight SignifySignDelete ctermfg=9 19 - highlight SignifySignChange ctermfg=11 9 + nnoremap U <nop> 10 + nnoremap Us :<C-u>Gstatus<CR> 11 + nnoremap Ud :<C-u>Gdiff<CR> 12 + nnoremap Ub :<C-u>Gblame<CR> 13 + nnoremap Uc :<C-u>Gcommit<CR> 14 + nnoremap Um :<C-u>Gmerge<CR> 15 + nnoremap Uu :<C-u>Git up<CR> 16 + nmap UU Uu
+1
tmux/init.tmux
··· 42 42 run "$HOME/.tmux/plugins/tpm/tpm" 43 43 44 44 setw -g mode-keys vi 45 + set-option -ga terminal-overrides ",xterm-256color:Tc" 45 46 46 47 # vim: ft=tmux