f453bfba01a7

Update subrepos
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Apr 2016 21:40:53 +0000
parents b69dc77f379c
children 70a831232f0f
branches/tags (none)
files .hgsub .hgsubstate vim/bundle/ooze/plugin/ooze.vim

Changes

--- a/.hgsub	Sat Apr 09 22:11:59 2016 +0000
+++ b/.hgsub	Sun Apr 10 21:40:53 2016 +0000
@@ -4,6 +4,8 @@
 vim/bundle/AnsiEsc.vim           = [git]git://github.com/sjl/AnsiEsc.vim.git
 vim/bundle/abolish               = [git]git://github.com/tpope/vim-abolish.git
 vim/bundle/ack                   = [git]git://github.com/mileszs/ack.vim.git
+vim/bundle/airline               = [git]git://github.com/vim-airline/vim-airline.git
+vim/bundle/airline-themes        = [git]git://github.com/vim-airline/vim-airline-themes.git
 vim/bundle/argumentative         = [git]git://github.com/PeterRincker/vim-argumentative.git
 vim/bundle/asmx86                = [git]git://github.com/vim-scripts/asmx86.git
 vim/bundle/badwolf               = [hg]https://bitbucket.org/sjl/badwolf/
@@ -33,7 +35,6 @@
 vim/bundle/orgmode               = [git]git://github.com/jceb/vim-orgmode.git
 vim/bundle/paredit               = [hg]https://bitbucket.org/kovisoft/paredit/
 vim/bundle/pgsql                 = [git]git://github.com/exu/pgsql.vim.git
-vim/bundle/powerline             = [git]git://github.com/Lokaltog/vim-powerline.git
 vim/bundle/python-mode           = [git]git://github.com/klen/python-mode.git
 vim/bundle/rainbow-parentheses   = [git]git://github.com/kien/rainbow_parentheses.vim.git
 vim/bundle/repeat                = [git]git://github.com/tpope/vim-repeat.git
--- a/.hgsubstate	Sat Apr 09 22:11:59 2016 +0000
+++ b/.hgsubstate	Sun Apr 10 21:40:53 2016 +0000
@@ -4,6 +4,8 @@
 64981213be2efd939e6e6e109e2b32c24e95fd95 vim/bundle/AnsiEsc.vim
 d64ce06650cf9b098b5a01c0db53864965d9310b vim/bundle/abolish
 f183a345a0c10caed7684d07dabae33e007c7590 vim/bundle/ack
+168dd7970a95c0c5049fec0b101b7f53b6a22469 vim/bundle/airline
+a59cea9cae61654d7ba98ef100e3e8883c4b4022 vim/bundle/airline-themes
 6c4663589e73e21e77a9ea8403dcf2bf6cf9c11c vim/bundle/argumentative
 54deda1ad27d7def8fbfebc03ae583f4b0752dd9 vim/bundle/asmx86
 2bcc153228d77451a22b2cf8cfbb432bae92cc12 vim/bundle/badwolf
@@ -33,7 +35,6 @@
 871bc88a5bbcb6e8844a64450b8e7f8ac13aac24 vim/bundle/orgmode
 5ed3bf0e4d0f1d9280ce430a089ae1ebadf4a559 vim/bundle/paredit
 1a436f7d875b4ec630da081b041c73264235c7e7 vim/bundle/pgsql
-2af074850fde676743f655775e3e151925751adf vim/bundle/powerline
 fd70ac2ab74a91fb049cb8e82237c34d88354673 vim/bundle/python-mode
 eb8baa5428bde10ecc1cb14eed1d6e16f5f24695 vim/bundle/rainbow-parentheses
 7a6675f092842c8f81e71d5345bd7cdbf3759415 vim/bundle/repeat
@@ -45,7 +46,7 @@
 8e1c1dc358de2132b7fbc1adaf94f528e3238e4d vim/bundle/splice
 26fbdd7d1f1aa5600d2ebf39bbdd292c38aac16e vim/bundle/strftimedammit
 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c vim/bundle/surround
-47c70b3e1e388d8f9cc7c6d9687efc047df843ac vim/bundle/syntastic
+cc6b92afa640db4342dc9ab9fd4215316888d6fa vim/bundle/syntastic
 f6f2d6618a321f5b0065586a7bc934325fec81ab vim/bundle/targets
 01deb947b22201c8a3dfee5ae97b11228bd9cc36 vim/bundle/timl
 d143308c5f385cce76dba5abf7b8b3737d711a4f vim/bundle/tslime2
--- a/vim/bundle/ooze/plugin/ooze.vim	Sat Apr 09 22:11:59 2016 +0000
+++ b/vim/bundle/ooze/plugin/ooze.vim	Sun Apr 10 21:40:53 2016 +0000
@@ -1,4 +1,4 @@
-" TODO: 
+" TODO:
 " fix showmode awfulness
 " Disassembly mapping
 " in-package horseshit
@@ -189,10 +189,28 @@
     execute "normal v\<Plug>(sexp_outer_top_list)"
 endfunction " }}}
 
+function! OozeHyperspec(symbol) " {{{
+    vnew
+    call termopen('clhs ' . a:symbol)
+    normal! a
+endfunction " }}}
+function! OozeHyperspecForm() " {{{
+    let view = winsaveview()
+    let z = @z
+    execute "normal v\<plug>(sexp_inner_element)o\<plug>(sexp_inner_element)"
+    normal! gv"zy
+    call OozeHyperspec(@z)
+    let @z = z
+    call winrestview(view)
+endfunction " }}}
+
 function! OozeMapKeys() " {{{
     nnoremap <buffer> <localleader>C :call OozeConnect()<cr>
     nnoremap <buffer> <localleader>K :call OozeDisconnect()<cr>
 
+    nnoremap <buffer> <localleader>h :call OozeHyperspecForm()<cr>
+    nnoremap <buffer> <localleader>H :call OozeHyperspec(input("? "))<cr>
+
     nnoremap <buffer> <localleader>E :call OozeEval(input("? "))<cr>
     vnoremap <buffer> <localleader>e :<c-u>call OozeEvalSelection()<cr>
     nnoremap <buffer> <localleader>e mz:call OozeSelectTopLevelForm()<cr>:<c-u>call OozeEvalSelection()<cr>`z