diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index f7e0287..e76e377 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -151,6 +151,13 @@ nnoremap <leader>dd :diffget<CR> nnoremap <leader>df :diffput<CR> nnoremap _ [c nnoremap = ]c +" Snippets +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>,pyclass :-1read $HOME/.config/nvim/plugged/vim-options/snippets/python/pyclass.py<CR>/jump<CR> "----------------------------------------------------------------------------------------------------------------------- |