aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-03-10 10:47:21 -0700
committerCody Hiar <codyfh@gmail.com>2017-03-10 10:47:21 -0700
commit225853a3b01b7a59cd14d98e69fadad1f5634c86 (patch)
tree7271295b6e9e0092e71718f32119a76c2f347ad8
parent9de7b5993d3b96e529115ff8974f167378988dc4 (diff)
Updating some snippets
-rw-r--r--plugin/vim-options.vim2
-rw-r--r--snippets/python/pyclass.py1
-rw-r--r--snippets/python/pydef.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 123bfa1..d69a9d8 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -162,7 +162,7 @@ nnoremap <leader>,date :-1read !date +\%F<CR>
nnoremap <leader>,fabfile :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/fabfile.py<CR>
nnoremap <leader>,cutf8 :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/cutf8.py<CR>jf.i
nnoremap <leader>,pudb :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/pudb.py<CR>V
-nnoremap <leader>,pydef :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/pydef.py<CR>/jump<CR>V11j
+nnoremap <leader>,pydef :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/pydef.py<CR>/jump<CR>V12j
nnoremap <leader>,pyclass :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/pyclass.py<CR>/jump<CR>
"-----------------------------------------------------------------------------------------------------------------------
diff --git a/snippets/python/pyclass.py b/snippets/python/pyclass.py
index 1bfe115..3354dba 100644
--- a/snippets/python/pyclass.py
+++ b/snippets/python/pyclass.py
@@ -3,3 +3,4 @@ class jump(jump):
jump
"""
+ pass
diff --git a/snippets/python/pydef.py b/snippets/python/pydef.py
index a3d8224..8c33d5b 100644
--- a/snippets/python/pydef.py
+++ b/snippets/python/pydef.py
@@ -10,3 +10,4 @@ def jump(jump):
Return:
jump_type: jump_desc
"""
+ pass