this repo has no description
1
fork

Configure Feed

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

Use FZF instead of Unite

+34 -66
-4
bin/Makefile
··· 9 9 $(WGET) -O$@ https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein 10 10 chmod +x $@ 11 11 12 - git-imerge: 13 - $(WGET) -O$@ https://raw.githubusercontent.com/mhagger/git-imerge/master/git-imerge 14 - chmod +x $@ 15 - 16 12 pip: 17 13 pip install --user --upgrade httpie patool 18 14
+1 -1
bin/cargon
··· 1 1 #!/bin/sh 2 2 3 - multirust run nightly cargo "$@" 3 + exec multirust run nightly cargo "$@"
+5
fish/functions/e.fish
··· 1 1 function e --wraps "$EDITOR" 2 + if [ (count $argv) = 0 ] 3 + set -l f (tempfile) 4 + fzf > $f; or exit 5 + set argv $argv (cat $f) 6 + end 2 7 eval "$EDITOR $argv" 3 8 end
+12 -19
fish/init.fish
··· 3 3 4 4 set -x PATH $HOME/.local/bin $GOPATH/bin $HOME/.cabal/bin $PATH 5 5 6 - if test -n "$HOME" 7 - set NIX_LINK "$HOME/.nix-profile" 6 + set NIX_LINK "$HOME/.nix-profile" 8 7 9 - # Set the default profile. 10 - if not [ -L "$NIX_LINK" ] 11 - echo "creating $NIX_LINK" >&2 12 - set _NIX_DEF_LINK /nix/var/nix/profiles/default 13 - /nix/store/4lrli8ng5i54k14id152svvp1kvqsn92-coreutils-8.21/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK" 14 - end 8 + # Set the default profile. 9 + if not [ -L "$NIX_LINK" ] 10 + echo "creating $NIX_LINK" >&2 11 + set _NIX_DEF_LINK /nix/var/nix/profiles/default 12 + /nix/store/4lrli8ng5i54k14id152svvp1kvqsn92-coreutils-8.21/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK" 13 + end 15 14 16 - set -x PATH $NIX_LINK/bin $NIX_LINK/sbin $PATH 15 + set -x PATH $NIX_LINK/bin $NIX_LINK/sbin $PATH 17 16 18 - # Subscribe the root user to the Nixpkgs channel by default. 19 - if [ ! -e $HOME/.nix-channels ] 20 - echo "http://nixos.org/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels 21 - end 22 - 23 - # Append ~/.nix-defexpr/channels/nixpkgs to $NIX_PATH so that 24 - # <nixpkgs> paths work when the user has fetched the Nixpkgs 25 - # channel. 26 - set -x NIX_PATH nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs 27 - end 17 + # Append ~/.nix-defexpr/channels/nixpkgs to $NIX_PATH so that 18 + # <nixpkgs> paths work when the user has fetched the Nixpkgs 19 + # channel. 20 + set -x NIX_PATH nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs 28 21 29 22 available hub; and eval (hub alias -s) 30 23
+1
git/ignore
··· 60 60 .tags 61 61 .gdb_history 62 62 perf.data* 63 + /oprofile_data 63 64 # }}} 64 65 65 66 # vim: foldmethod=marker foldlevel=0 foldenable
+6 -3
nix/config.nix
··· 12 12 languages = pkgs.buildEnv { 13 13 name = "languages"; 14 14 paths = [ 15 + pkgs.elixir 16 + pkgs.ghc 15 17 pkgs.go 16 - pkgs.scala 17 - pkgs.sbt 18 18 pkgs.julia 19 - pkgs.elixir 19 + pkgs.ocaml 20 + pkgs.sbt 21 + pkgs.scala 20 22 ]; 21 23 }; 22 24 ··· 32 34 paths = [ 33 35 pkgs.git 34 36 pkgs.gitAndTools.hub 37 + pkgs.gitAndTools.git-imerge 35 38 ]; 36 39 }; 37 40
+8 -12
nvim/init.vim
··· 31 31 Plug 'tpope/vim-rhubarb' 32 32 33 33 " Project management 34 - Plug 'Shougo/unite.vim' 35 - Plug 'Shougo/unite-outline', { 'on': 'Unite' } 36 - Plug 'farseer90718/unite-workflow', { 'on': 'Unite' } 34 + Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } 37 35 Plug 'tpope/vim-projectionist' 38 36 Plug 'tpope/vim-vinegar' 39 37 ··· 55 53 Plug 'tpope/vim-surround' 56 54 57 55 " Utils 58 - Plug 'Shougo/vimproc.vim', { 'do': 'make' } 59 56 Plug 'dahu/EditorConfig' 60 - Plug 'jaxbot/github-issues.vim', { 'on': 'Unite' } 61 57 Plug 'junegunn/vim-easy-align' 62 58 Plug 'mattn/webapi-vim' 63 59 Plug 'mbbill/undotree', { 'on': 'UndotreeToggle' } ··· 110 106 111 107 " Wrap line on movements 112 108 set whichwrap+=<,>,h,l,[,] 109 + 110 + " Use system clippboard as default 111 + set clipboard=unnamed 113 112 " }}} 114 113 " Key mappings {{{ 115 114 let mapleader = ',' ··· 118 117 nnoremap ' ` 119 118 nnoremap ` ' 120 119 121 - " Buffers 122 - noremap <leader>b :Unite -buffer-name=buffers -immediately -no-split buffer<CR> 120 + " <Home> goes to the beginning of the text on first press and to the beginning 121 + " of the line on second press. It alternates afterwards. 122 + nnoremap <expr> <Home> virtcol('.') - 1 <= indent('.') && col('.') > 1 ? '0' : '_' 123 123 124 124 nnoremap gV `[v`] 125 125 ··· 137 137 vnoremap ; : 138 138 nnoremap : ; 139 139 140 - " Yanks 141 - noremap <silent> <Leader>p :Unite -buffer-name=yanks register<CR> 142 - set clipboard=unnamed 143 - 144 140 " Fast paste from system clipboard 145 - inoremap <C-R><C-R> <C-R>+ 141 + inoremap <C-R><C-R> <C-R>* 146 142 147 143 " Some useful toggles for plugins 148 144 noremap <F2> :UndotreeToggle<CR>
+1
nvim/plugin/files.vim
··· 1 + noremap <silent> <C-p> :<C-u>FZF<CR>
-27
nvim/plugin/unite.vim
··· 1 - call unite#filters#matcher_default#use(['matcher_fuzzy']) 2 - call unite#filters#sorter_default#use(['sorter_length']) 3 - 4 - let g:unite_split_rule = 'botright' 5 - let g:unite_prompt = '» ' 6 - let g:unite_force_overwrite_statusline = 0 7 - 8 - " FuzzySearch 9 - nnoremap <silent> <C-p> :<C-u>Unite -start-insert -buffer-name=Files file_rec/async:! file/new<CR> 10 - 11 - " Outline 12 - nnoremap <silent> <C-o> :<C-u>Unite -buffer-name=Outline -immediately -auto-highlight -vertical outline<CR> 13 - 14 - " Project search 15 - nnoremap <silent> <leader>/ :Search<CR> 16 - command! Search Unite -auto-preview -no-split -immediately -buffer-name=Search grep:. 17 - 18 - 19 - " Use ag for search 20 - if executable('ag') 21 - let g:unite_source_rec_async_command = 22 - \ ['ag', '--nocolor', '--nogroup', '--hidden', '-g', ''] 23 - 24 - let g:unite_source_grep_command = 'ag' 25 - let g:unite_source_grep_default_opts = '-i --vimgrep --hidden --ignore .git' 26 - let g:unite_source_grep_recursive_opt = '' 27 - endif