3d47932040ef

vim
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 09 Dec 2015 14:40:25 +0000
parents a5c9b4b0936a
children 83aac563abc9
branches/tags (none)
files .hgsubstate vim/vimrc

Changes

--- a/.hgsubstate	Wed Dec 09 12:14:45 2015 +0000
+++ b/.hgsubstate	Wed Dec 09 14:40:25 2015 +0000
@@ -7,7 +7,7 @@
 6c4663589e73e21e77a9ea8403dcf2bf6cf9c11c vim/bundle/argumentative
 2bcc153228d77451a22b2cf8cfbb432bae92cc12 vim/bundle/badwolf
 5d747e72d1f2e9bdd1d3f3a1375faabf5fe00313 vim/bundle/bencode
-8533fffd9fbb690dfc8e334f91a10c72e35a6dce vim/bundle/clam
+2ed29341d197aa8e49568b579c02b1ce6f76a34a vim/bundle/clam
 5201a3860dbc32814f44eaf9386245caa70a65e6 vim/bundle/clojure-static
 dc349bb7d30f713d770fc1fa0fe209e6aab82dc8 vim/bundle/commentary
 c1646e3c28d75bcc834af4836f4c6e12296ba891 vim/bundle/ctrlp
--- a/vim/vimrc	Wed Dec 09 12:14:45 2015 +0000
+++ b/vim/vimrc	Wed Dec 09 14:40:25 2015 +0000
@@ -1175,6 +1175,15 @@
 augroup END
 
 " }}}
+" hgrc {{{
+
+augroup ft_hgrc
+    au!
+
+    au BufReadPost,BufNewFile hgrc nnoremap <buffer> <localleader>g yypciwgit<esc>wwcwghs<esc>A.git<esc>
+augroup END
+
+" }}}
 " HTML, Django, Jinja, Dram {{{
 
 let g:html_indent_tags = ['p', 'li']
@@ -1748,7 +1757,7 @@
 augroup ft_vim
     au!
 
-    au FileType vim setlocal foldmethod=marker
+    au FileType vim setlocal foldmethod=marker keywordprg=:help
     au FileType help setlocal textwidth=78
     au BufWinEnter *.txt if &ft == 'help' | wincmd L | endif
 augroup END