aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-12-05 13:40:13 -0700
committerCody Hiar <codyfh@gmail.com>2017-12-05 13:40:13 -0700
commitafa21647cb1baf290d614d49931718bdf25ae745 (patch)
tree1e44adee9e4c4404918cb963c98805081a437c5e
parenta393a014629f9b768b442eb1d5af79a2575ea215 (diff)
Adding pymode and dasht docs
-rw-r--r--plugin/vim-options.vim33
1 files changed, 32 insertions, 1 deletions
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 <leader><leader> :noh<CR>
" Shortcuts for window
nnoremap <C-w>t :tabnew<CR>
" Shorcut for stubbing out find command
+" should be in fzf command block
nnoremap <leader>s :Files<CR>
nnoremap <leader>b :Buffers<CR>
+nnoremap <leader>t :Tags<CR>
" 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 <leader>r :call RenameTab()<CR>
endif
"-----------------------------------------------------------------------------------------------------------------------
@@ -416,6 +417,7 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/tagbar/plugin/tagbar.vim'))
nmap <F8> :TagbarToggle<CR>
+ let g:tagbar_foldlevel = 1
endif
"-----------------------------------------------------------------------------------------------------------------------
@@ -445,6 +447,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 = '<c-k>'
+endif
+"-----------------------------------------------------------------------------------------------------------------------
+
+
+
+"-----------------------------------------------------------------------------------------------------------------------
+" Dasht
+"-----------------------------------------------------------------------------------------------------------------------
+if !empty(glob($EditorDir.'plugged/vim-dasht/plugin/dasht.vim'))
+ nnoremap K :Dasht<Space>
+ let g:dasht_filetype_docsets = {}
+ let g:dasht_filetype_docsets['python'] = ['django', 'python_3']
+endif
+"-----------------------------------------------------------------------------------------------------------------------
+
+
+
+"-----------------------------------------------------------------------------------------------------------------------
" Ranger Intergration
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/ranger.vim/plugin/ranger.vim'))