fix minor annoyances in vim and bash

This commit is contained in:
Tony Grosinger 2015-07-23 07:50:07 -07:00
parent 65e87b2b55
commit bed9de2af0
2 changed files with 3 additions and 5 deletions

View File

@ -20,11 +20,8 @@ alias connect="sudo openvpn --config $HOME/home.ovpn"
function sshhome() {
sudo echo "logged in..."
sudo openvpn --config $HOME/home.ovpn --route-nopull &
sleep 5
sleep 4
sudo ip route add 192.168.0.0/24 dev tun0
ssh firefly -X -C
fg
}
# Adding applications to path

3
.vimrc
View File

@ -82,7 +82,8 @@ endif
NeoBundle 'fatih/vim-go'
au FileType go nmap <Leader>gb <Plug>(go-doc)
au FileType go nmap <Leader>gd <Plug>(go-def-vertical)
let g:go_auto_type_info = 1
au FileType go nmap <Leader>gi <Plug>(go-info)
let g:go_auto_type_info = 0
let g:go_fmt_command = "goimports"
" Python Support {{{1