~jzp/dotvim

a13ed9a6910ff25ee7a614e69d5abf67d302d9b7 — Johan Persson 10 months ago 86ebcf1
More handy utilities and some renaming
7 files changed, 13 insertions(+), 21 deletions(-)

M README.md
R add.sh => add
A info
A list
R remove.sh => remove
R update.sh => update
M vimrc
M README.md => README.md +5 -3
@@ 10,6 10,8 @@ Description
Just my personal setup for reference. Contains a few
handy scripts for managing git submodules as packages:

* `add.sh <github user/repo-name path>` -- Add a submodule
* `remove.sh <repo-name>` -- Remove a submodule
* `update.sh` -- Updates all submodules
* `add <github user/repo-name path>` -- Add a submodule
* `remove <repo-name>` -- Remove a submodule
* `update` -- Updates all submodules
* `list` -- Lists all installed packages
* `info <repo-name>` -- Prints the README of the package

R add.sh => add +0 -0

A info => info +3 -0
@@ 0,0 1,3 @@
#!/bin/sh

less `find pack/stuff/start/$1 -type f -iname "*readme*"`

A list => list +5 -0
@@ 0,0 1,5 @@
#!/bin/sh

for PACKAGE in $(ls pack/stuff/start) ; do
    echo $PACKAGE
done

R remove.sh => remove +0 -0

R update.sh => update +0 -0

M vimrc => vimrc +0 -18
@@ 143,24 143,6 @@ noremap <F3> :Autoformat<CR>
let g:syntastic_c_checkers = ['clang-check']


"""" Go
" use goimports for formatting
let g:go_auto_type_info = 1
" turn highlighting on
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_structs = 1
let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1

let g:syntastic_go_checkers = ['go', 'errcheck']

" Open go doc in vertical window, horizontal, or tab
au Filetype go nnoremap <leader>v :vsp <CR>:exe "GoDef" <CR>
au Filetype go nnoremap <leader>s :sp <CR>:exe "GoDef"<CR>
au Filetype go nnoremap <leader>t :tab split <CR>:exe "GoDef"<CR>


"""" Lisp
let g:slimv_swank_cmd = '! $LISP --load ~/.vim/pack/stuff/start/slimv/slime/start-swank.lisp" &'
let g:lisp_rainbow=0