commit 3ed199974ff1673612c85f4eadcc58dd0cdafd16 parent d24f43cf49d4379ef84b8e176dab34d058fac584 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sun, 1 Mar 2020 13:22:32 +0100 vim: misc Former-commit-id: 4fa2d840c5fcfff2f57a8aae9963c87b7557b511 Diffstat:
M | vim/ultisnips/all.snippets | | | 2 | +- |
M | vim/vimrc | | | 17 | +++++++++++++++++ |
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/vim/ultisnips/all.snippets b/vim/ultisnips/all.snippets @@ -1,4 +1,4 @@ -snippet launchd "A launchd job template" b +snippet skel "A launchd job template" b <!-- Documentation here: https://www.launchd.info/ --> <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> diff --git a/vim/vimrc b/vim/vimrc @@ -137,6 +137,12 @@ Plug 'thezeroalpha/vim-schemer' " Relative file complete Plug 'thezeroalpha/vim-relatively-complete' + +" Unicode black magic +Plug 'segeljakt/vim-isotope' + +" Lightweight REPL +Plug 'axvr/zepl.vim' call plug#end() " }}} " Config {{{ @@ -395,6 +401,17 @@ nmap <C-E><C-L> <Plug>SchemerEdit " Replace default file completion with 'smart' relative complete imap <C-x><C-f> <Plug>CompleteRelative " }}} +" Isotope {{{ +let g:isotope_use_default_mappings = 0 +" }}} +" Zepl {{{ +augroup zepl + autocmd! + autocmd FileType python let b:repl_config = { 'cmd': 'python3' } + autocmd FileType javascript let b:repl_config = { 'cmd': 'node' } + autocmd FileType haskell let b:repl_config = { 'cmd': 'ghci' } +augroup END +" }}} " }}} " }}} " General {{{