diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-06-07 23:38:36 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-06-07 23:38:36 +0100 |
commit | 6be2e5fbbb2991723a0c56f92a4a83b8860e7562 (patch) | |
tree | 9e7f082e8d556e1823bd3c068f202e5793302424 /nvimrc | |
parent | c53aa7ade263a59aab221c83ebcd297aa628c2dd (diff) |
Sort repositories in install.sh
Diffstat (limited to 'nvimrc')
-rw-r--r-- | nvimrc | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -39,6 +39,7 @@ Plug 'ton/vim-bufsurf' Plug 'tpope/vim-abolish', { 'for' : 'tex' } Plug 'tpope/vim-commentary' Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-git' Plug 'tpope/vim-obsession' Plug 'tpope/vim-repeat' Plug 'tpope/vim-sensible' @@ -185,7 +186,7 @@ set hidden silent! colo seoul256 highlight Comment cterm=italic set t_ZH=[3m -set t_ZR=[23m +set t_ZR=[23m "" Maps @@ -239,9 +240,6 @@ nnoremap <Return> o<Esc> nnoremap <s-Return> O<Esc> nnoremap >f :FZF ~ <cr> -" Substitute shadowed by vim-sneak -nnoremap _ s - " Git nnoremap <Leader>gs :Gstatus<cr> nnoremap <Leader>gr :Gread<cr> @@ -283,6 +281,17 @@ augroup nvimrc \ endif augroup END +"" Taken from Junegunn Chong +nnoremap <silent> <Leader>C :call fzf#run({ +\ 'source': +\ map(split(globpath(&rtp, "colors/*.vim"), "\n"), +\ "substitute(fnamemodify(v:val, ':t'), '\\..\\{-}$', '', '')"), +\ 'sink': 'colo', +\ 'options': '+m', +\ 'left': 30, +\ 'launcher': 'iterm2-launcher 20 30 %s' +\ })<CR> + "" Experimental let g:notes_directories = ['~/dotfiles/notes'] " Idea: instant download colorscheme |