From afa21647cb1baf290d614d49931718bdf25ae745 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 5 Dec 2017 13:40:13 -0700 Subject: Adding pymode and dasht docs --- plugin/vim-options.vim | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 5fa6f39..2c78667 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -145,8 +145,10 @@ nnoremap :noh " Shortcuts for window nnoremap t :tabnew " Shorcut for stubbing out find command +" should be in fzf command block nnoremap s :Files nnoremap b :Buffers +nnoremap t :Tags " Formating a json file com! Formatjson %!python -m json.tool " Visually select pasted text @@ -327,7 +329,6 @@ if !empty(glob($EditorDir.'plugged/taboo.vim/plugin/taboo.vim')) execute ":TabooRename " . term endif endfunction - nnoremap r :call RenameTab() endif "----------------------------------------------------------------------------------------------------------------------- @@ -416,6 +417,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/tagbar/plugin/tagbar.vim')) nmap :TagbarToggle + let g:tagbar_foldlevel = 1 endif "----------------------------------------------------------------------------------------------------------------------- @@ -444,6 +446,35 @@ endif +"----------------------------------------------------------------------------------------------------------------------- +" Pymode +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob($EditorDir.'plugged/python-mode/plugin/pymode.vim')) + " I like my coloring better + let g:pymode_options_colorcolumn = 0 + let g:pymode_warnings = 1 + let g:pymode_python = 'python3' + let g:pymode_breakpoint = 0 + let g:pymode_lint = 0 + let g:pymode_rope = 0 + let g:pymode_doc_bind = '' +endif +"----------------------------------------------------------------------------------------------------------------------- + + + +"----------------------------------------------------------------------------------------------------------------------- +" Dasht +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob($EditorDir.'plugged/vim-dasht/plugin/dasht.vim')) + nnoremap K :Dasht + let g:dasht_filetype_docsets = {} + let g:dasht_filetype_docsets['python'] = ['django', 'python_3'] +endif +"----------------------------------------------------------------------------------------------------------------------- + + + "----------------------------------------------------------------------------------------------------------------------- " Ranger Intergration "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3