ssh vim and tmux
This commit is contained in:
7
.vimrc
7
.vimrc
@@ -30,6 +30,7 @@ if filereadable(expand(plug_fpath))
|
||||
Plug 'tpope/vim-unimpaired'
|
||||
Plug 'JuliaEditorSupport/julia-vim'
|
||||
Plug 'tell-k/vim-autopep8'
|
||||
Plug 'tell-k/vim-autoflake'
|
||||
Plug 'jpalardy/vim-slime'
|
||||
Plug 'preservim/tagbar'
|
||||
Plug 'wellle/context.vim'
|
||||
@@ -349,7 +350,7 @@ let g:latex_to_unicode_auto = 1
|
||||
|
||||
noremap <expr> <F7> LaTeXtoUnicode#Toggle()
|
||||
noremap! <expr> <F7> LaTeXtoUnicode#Toggle()
|
||||
autocmd FileType python noremap <buffer> <F8> :call Autopep8()<CR>
|
||||
autocmd FileType python noremap <buffer> :call Autoflake()<CR> :call Autopep8()<CR>
|
||||
|
||||
let g:slime_target = "tmux"
|
||||
let g:slime_default_config = {"socket_name": "default", "target_pane": "{last}"}
|
||||
@@ -396,3 +397,7 @@ nmap <Leader>p :set paste! <CR>
|
||||
map <Leader>n :noh<CR>
|
||||
vmap <Leader>T :'<,'> Tabularize /
|
||||
nnoremap <leader>c :execute "set colorcolumn=" . (&colorcolumn == "" ? "120" : "")<CR>
|
||||
|
||||
" Insert "Embed IPython" command
|
||||
:command InsIPython :normal oimport IPython<CR>IPython.embed()<ESC><up>^
|
||||
nmap <Leader>i :InsIPython <CR>
|
||||
|
||||
Reference in New Issue
Block a user