|
Stuff that I thought was interesting that I ought to look into further: |
|
|
|
http://valloric.github.io/YouCompleteMe/ # Passing on this for now as it doesn't have all of jedi-vims funcationality and the thing just generally rubs me the wrong way. |
|
|
|
https://github.com/scrooloose/nerdtree # |
|
|
|
getting readline working with Germ |
|
learning about using readline with python generally |
|
|
|
Some Clojure stuff: |
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
" Clojure |
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
au Filetype clojure nmap <c-c><c-k> :Require<cr> |
|
au Filetype clojure let g:clojure_fuzzy_indent = 1 |
|
au Filetype clojure let g:clojure_fuzzy_indent_patterns = ['^with', '^def', '^let'] |
|
au BufNewFile,BufRead *.edn set filetype=clojure |
|
au Filetype clojure autocmd BufWritePre * :%s/\s\+$//e |
|
|
|
" DLowe's test function |
|
function! TestToplevel() abort |
|
"Eval the toplevel clojure form (a deftest) and then test-var the |
|
"result." |
|
normal! ^ |
|
let line1 = searchpair('(','',')', 'bcrn', g:fireplace#skip) |
|
let line2 = searchpair('(','',')', 'rn', g:fireplace#skip) |
|
let expr = join(getline(line1, line2), "\n") |
|
let var = fireplace#session_eval(expr) |
|
let result = fireplace#echo_session_eval("(clojure.test/test-var " . var . ")") |
|
return result |
|
endfunction |
|
au Filetype clojure nmap <c-c><c-t> :call TestToplevel()<cr> |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
" Golang |
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
au Filetype go set noexpandtab |
|
" au BufWritePre *.go :silent Fmt |
|
" autocmd FileType go autocmd BufWritePre <buffer> Fmt |
|
set rtp+=$GOROOT/misc/vim |
|
filetype plugin indent on |
|
syntax on |