changed shortcuts for showing go type under cursor to more closely match my visual studio workflow

osx
Adam Veldhousen 8 years ago
parent 5f9d16e3fd
commit b6b1291f7a
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -38,6 +38,26 @@ set omnifunc=syntaxcomplete#Complete
set completeopt-=preview
set noswapfile
set backupcopy=yes
set autoread
set selection=exclusive
set ttimeoutlen=50
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
set clipboard=unnamed
" Enhance command-line completion
set wildmenu
" Allow cursor keys in insert mode
set esckeys
" Allow backspace in insert mode
set backspace=indent,eol,start
" Optimize for fast terminal connections
set ttyfast
" Add the g flag to search/replace by default
set gdefault
" Use UTF-8 without BOM
set encoding=utf-8 "nobomb
" Change mapleader
let mapleader = ","
map <Space> :noh<CR>
@ -77,27 +97,6 @@ map <F1> <Nop>
" Save a file as root (,W)
noremap <leader>W :w !sudo tee % > /dev/null<CR>
set noswapfile
set backupcopy=yes
set autoread
set selection=exclusive
set ttimeoutlen=50
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
set clipboard=unnamed
" Enhance command-line completion
set wildmenu
" Allow cursor keys in insert mode
set esckeys
" Allow backspace in insert mode
set backspace=indent,eol,start
" Optimize for fast terminal connections
set ttyfast
" Add the g flag to search/replace by default
set gdefault
" Use UTF-8 without BOM
set encoding=utf-8 "nobomb
" Change mapleader
let mapleader=","
" enable neocomplete
let g:neocomplete#enable_at_startup = 1
@ -190,7 +189,7 @@ let g:go_fmt_command = "goimports"
au FileType go nmap <Leader>r <Plug>(go-rename)
" show type info
au FileType go nmap <Leader>i <Plug>(go-info)
au FileType go nmap <Leader>ki <Plug>(go-info)
" go def
au FileType go nmap <Leader>di <Plug>(go-def-split)
@ -272,6 +271,9 @@ let g:syntastic_check_on_wq = 0
let g:syntastic_javascript_checkers = ['standard']
" YCM
let g:ycm_key_list_select_completion = ['<TAB>', '<Down>']
" Enable file type detection
filetype plugin indent on

@ -58,9 +58,6 @@ else
echo "Your SSHfu is strong, skipping config copy..."
fi
#set +u
#curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
#set -u
echo ""
echo "Cleaning up..."

Loading…
Cancel
Save