Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
home
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
home
Commits
0bcc24f6
Commit
0bcc24f6
authored
Jan 13, 2016
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I am complete
parent
07e597ad
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
4 deletions
+50
-4
.vim/.gitmodules
.vim/.gitmodules
+3
-0
.vim/bundle/YouCompleteMe
.vim/bundle/YouCompleteMe
+1
-0
.vim/ftplugin/go.vim
.vim/ftplugin/go.vim
+35
-0
.vim/vimrc
.vim/vimrc
+11
-4
No files found.
.vim/.gitmodules
View file @
0bcc24f6
...
...
@@ -62,3 +62,6 @@
[submodule "bundle/vim-go"]
path = bundle/vim-go
url = https://github.com/fatih/vim-go.git
[submodule "bundle/YouCompleteMe"]
path = bundle/YouCompleteMe
url = https://github.com/Valloric/YouCompleteMe.git
YouCompleteMe
@
3bed9f25
Subproject commit 3bed9f2570e35f152a8492c4affac1e3c7c48797
.vim/ftplugin/go.vim
0 → 100644
View file @
0bcc24f6
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:go_fmt_command
=
"goimports"
let
g:tagbar_type_go
=
{
\
'ctagstype'
:
'go'
,
\
'kinds'
:
[
\
'p:package'
,
\
'i:imports:1'
,
\
'c:constants'
,
\
'v:variables'
,
\
't:types'
,
\
'n:interfaces'
,
\
'w:fields'
,
\
'e:embedded'
,
\
'm:methods'
,
\
'r:constructor'
,
\
'f:functions'
\
],
\
'sro'
:
'.'
,
\
'kind2scope'
:
{
\
't'
:
'ctype'
,
\
'n'
:
'ntype'
\
},
\
'scope2kind'
:
{
\
'ctype'
:
't'
,
\
'ntype'
:
'n'
\
},
\
'ctagsbin'
:
'gotags'
,
\
'ctagsargs'
:
'-sort -silent'
\
}
.vim/vimrc
View file @
0bcc24f6
...
...
@@ -66,10 +66,17 @@ function! s:Help2Url (...)
exec "normal \<c-T>"
endif
let l:tagfile = expand ('%:t')
if ! empty ($DISPLAY)
let @* = expand ('<cword>')
python import urllib
let @* = pyeval ('urllib.quote_plus ("' . @* . '")')
let @* = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @*)
else
let @a = expand ('<cword>')
python import urllib
let @a = pyeval ('urllib.quote_plus ("' . @a . '")')
let @a = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @a)
endif
endfunction
command! -nargs=? -complete=help H call s:Help2Url (<f-args>)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment