fix minor annoyances in vim and bash
This commit is contained in:
parent
65e87b2b55
commit
bed9de2af0
5
.bashrc
5
.bashrc
@ -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
3
.vimrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user