changeset 13:dd1519fc21e3

Add vim-smalls plugin
author zegervdv <zegervdv@me.com>
date Mon, 10 Mar 2014 20:32:06 +0100
parents 2aefbda3f774
children 09c60bc0fc38
files .hgsub .hgsubstate vimrc
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsub	Thu Feb 27 20:29:06 2014 +0100
+++ b/.hgsub	Mon Mar 10 20:32:06 2014 +0100
@@ -41,3 +41,4 @@
 vim/bundle/repeat = [git]https://github.com/tpope/vim-repeat.git
 vim/bundle/neosnippet-snippets = [git]https://github.com/Shougo/neosnippet-snippets.git
 vim/bundle/ag = [git]https://github.com/rking/ag.vim.git
+vim/bundle/smalls = [git]https://github.com/t9md/vim-smalls.git
--- a/.hgsubstate	Thu Feb 27 20:29:06 2014 +0100
+++ b/.hgsubstate	Mon Mar 10 20:32:06 2014 +0100
@@ -31,6 +31,7 @@
 01854b14c7ad4aab9b574bbcb159b59502a10746 vim/bundle/sensible
 38151ca68b8942f825308fcedae9ccdf9b62fe14 vim/bundle/signature
 8e2466a3de21d832cd9c19f309a9cec6c2f2e039 vim/bundle/slim
+c268079f648eed2ac50289c6dd7ad6739d9382c0 vim/bundle/smalls
 42e9b46e7a20a2f394664874c7bbd9d6f6c39e8a vim/bundle/surround
 c18065ea52c56b1503077376d135cb6859193946 vim/bundle/syntastic
 60f25648814f0695eeb6c1040d97adca93c4e0bb vim/bundle/tabular
--- a/vimrc	Thu Feb 27 20:29:06 2014 +0100
+++ b/vimrc	Mon Mar 10 20:32:06 2014 +0100
@@ -341,8 +341,16 @@
 " Yank ring
 nnoremap <silent> <leader>y :YRShow<CR>
 
+" Open pdf in Preview
 let g:livepreview_previewer = 'open -a Preview'
 
+
+" Smalls
+nmap s <Plug>(smalls)
+omap s <Plug>(smalls)
+xmap s <Plug>(smalls)
+
+" Load local vimrc
 if filereadable($HOME . "/.vimrc.local")
   source ~/.vimrc.local
 endif