From c74965f06190c82e22814997f79927867b7f1f02 Mon Sep 17 00:00:00 2001 From: Bradley Small <vc.Bradley.Small@lowes.com> Date: Fri, 8 Nov 2019 14:48:05 -0500 Subject: [PATCH] update settings --- .gitignore | 2 ++ .vim/ftplugin/python.vim | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index b39d943..c297ecc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ .vim/swap .vim/undo .directory +**.mypy_cache/ +**tags-te diff --git a/.vim/ftplugin/python.vim b/.vim/ftplugin/python.vim index 6ea45ca..3dc65df 100644 --- a/.vim/ftplugin/python.vim +++ b/.vim/ftplugin/python.vim @@ -15,6 +15,7 @@ setlocal colorcolumn=80 let g:slime_target = "vimterminal" let g:slime_vimterminal_config = {"term_name":"REPL" , "vertical" : "1"} let g:slime_vimterminal_cmd = "ipython" +let g:slime_python_ipython = 1 " let g:slime_no_mappings = 1 xmap <leader>s <Plug>SlimeRegionSend @@ -23,6 +24,8 @@ nmap <leader>ss <Plug>SlimeLineSend nmap <f5> :w<cr>:SlimeSend0 "exec(open('" . expand('%:p') . "').read())\n"<CR> imap <f5> <esc>:w<cr>:SlimeSend0 "exec(open('" . expand('%:p') . "').read())\n"<CR> +nmap <s-f5> :%SlimeSend<CR> +imap <s-f5> <c-o>:%SlimeSend<CR> " imap <F5> <esc>:w<cr>:vert term python3 -i %<cr> " nmap <F5> :w<cr>:term python3 -i %<cr> " imap <F5> <esc>:w<cr>:term python3 %<cr> -- GitLab