luan / vimfiles Goto Github PK
View Code? Open in Web Editor NEWThe Vim Configuration. Uses vim-plug to manage plugins.
The Vim Configuration. Uses vim-plug to manage plugins.
Environmental setup:
brew update && brew upgrade python3
pip3 install --upgrade pip3
pip3 install --upgrade neovim
vim-update
Then when I open *.go
file and save, I see the following:
Error detected while processing function neomake#MakeHandler[33]..<SNR>177_RegisterJobOutput[31]..<SNR>177_Proces
sJobOutput[13]..<SNR>177_AddExprCallback:
line 82:
E716: Key not present in Dictionary: bufnr})
Press ENTER or type command to continue
Neither imap jj<ESC>
nor imap jk<ESC>
or any other 2 character combination work for me to escape Insert mode.
How about something like that:
http://vim.wikia.com/wiki/Insert_newline_without_entering_insert_mode
dooooo iiiiit
This would make it much easier to use this config in Sprout. To run rake Ruby needs to be correctly setup.
This can be tricky with the numerous ruby version managers, system ruby etc. Especially since Sprout is often responsible for installing Ruby.
Any chance the Rakefile could be rewritten as a bash script instead?
After doing a brew update/upgrade, I now see this error every time I start vi
ERROR(BadValue): Dictionary with keys ['dict', 'func', 'Apply', 'Call', 'WithContext', 'arglist', 'WithArgs'] is not a maktaba function.
I have to press enter to continue... Every time.
If I use nvim
I don't see any errors.
List of (possibly?) relevant brew items installed
$ brew list --versions
gnu-indent 2.2.10
gnutls 3.4.10 3.4.9
go 1.6
macvim 7.4-96 7.4-97 7.4-99
neovim 0.1.2
python 2.7.11
python3 3.5.1
ruby 2.3.0
taglib 1.10
universal-ctags HEAD
vim 7.4.1345 7.4.1401 7.4.1589
I don't know anything about maktaba and I couldn't figure out how to get it to log/debug ๐
I'm considering bringing back Airline.
If I do that I'll either figure out how to automatically install the patched font or redesign the default looks to be decent on a regular font.
What do you guys think? @jfmyers9 @vito @xoebus @sykesm @maxbrunsfeld @hiremaga @rnandi
@jfmyers9 suggested that I make it opt-in, but I'm not quite sure how that interaction would be. I like the buffers on top:
Don't know what others might think of it.
After installing vimfiles for the first time, none of the plugins are loading when I open vim.
For example, when I hit \
, NERDtree should toggle, but instead I get an error like E492: Not an editor command: NERDTreeToggle
. When I hit ctrl-p, I get E492: Not an editor command: CtrlPCurWD
. Additionally, the airline status bar is not appearing. Basically I'm getting all of the vim configuration setup, like the vertical bar at 80 characters, but none of the plugins.
Interestingly, when I run :scriptnames
within vim, the names of all the plugins are showing up:
1: ~/.vimrc
2: ~/.vimrc.local.before
3: ~/.vim/Plug.vim
4: ~/.vim/autoload/plug.vim
4: ~/.vim/autoload/plug.vim
5: ~/.vimrc.local.plugins
6: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/ftoff.vim
7: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/filetype.vim
8: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/ftplugin.vim
9: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/indent.vim
10: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/syntax/syntax.vim
11: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/syntax/synload.vim
12: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/syntax/syncolor.vim
13: ~/.vim/config/basic.vim
14: ~/.vim/config/bindings.vim
15: ~/.vim/config/paste.vim
16: ~/.vim/config/platform.vim
17: ~/.vim/config/plugin/ack.vim
18: ~/.vim/config/plugin/airline.vim
19: ~/.vim/config/plugin/autoclose.vim
20: ~/.vim/config/plugin/commentary.vim
21: ~/.vim/config/plugin/fugitive.vim
22: ~/.vim/config/plugin/livedown.vim
23: ~/.vim/config/plugin/nerdtree.vim
24: ~/.vim/config/plugin/rainbow.vim
25: ~/.vim/config/plugin/signify.vim
26: ~/.vim/config/plugin/tagbar.vim
27: ~/.vim/config/plugin/ultisnips.vim
28: ~/.vim/config/plugin/undotree.vim
29: ~/.vim/config/plugin/ctrlp.vim
30: ~/.vim/config/plugin/neocomplete.vim
31: ~/.vim/config/plugin/syntastic.vim
32: ~/.vim/config/lang/polyglot.vim
33: ~/.vim/config/lang/elm.vim
34: ~/.vim/config/lang/golang.vim
35: ~/.vim/config/lang/ruby.vim
36: ~/.vim/config/lang/rust.vim
37: ~/.vim/config/lang/yaml.vim
38: ~/.vim/lib/functions.vim
39: ~/.vim/lib/autocommands.vim
40: ~/.vimrc.local
41: ~/.fzf/plugin/fzf.vim
42: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/getscriptPlugin.vim
43: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/gzip.vim
44: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/logiPat.vim
45: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/manpager.vim
46: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/matchparen.vim
47: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/netrwPlugin.vim
48: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/rrhelper.vim
49: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/spellfile.vim
50: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/tarPlugin.vim
51: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/tohtml.vim
52: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/vimballPlugin.vim
53: /usr/local/Cellar/vim/7.4.2290/share/vim/vim74/plugin/zipPlugin.vim
When I enter PlugStatus
, each plugin shows up and is reported as "Not Found". It seems that the vimrc is trying to load the correct plugins, but not able to locate them. That's just a guess though.
Let me know if you need any more information about my local configuration. Thanks!
Even when you visit a non .md
file.
The Installation
instructions of just curling that script don't really work. I think they assume you have already cloned the repo.
As per our discussion, we should probably make the up
and down
arrow keys (and maybe tab
and shift-tab
) work like ctrl-n
and ctrl-p
in the autocomplete menu. Thanks!
Any thoughts on a mini map (like sublime text)?
Here's one candidate: https://github.com/severin-lemaignan/vim-minimap
and another: https://github.com/koron/minimap-vim
Hi @luan!
After upgrading to the newest version we've started seeing some failures when yanking to clipboard (shift +y):
The error does not give us any hint what's going on: clipboard: error:
This issue happens only when yanking inside a tmux
session. We're using your tmux.conf
(https://github.com/luan/dotfiles/blob/master/tmux.conf). It works in a "regular" bash session.
Have you seen this before? Do you have any idea what may be the problem?
(we've install all tpm plugins)
thanks,
Maybe consider some or all of this stuff? https://github.com/dag/vim-fish
Error detected while processing FileType Auto commands for "ruby":
E492: Not an editor command: foldmethod=syntax setlocal ts=2 sts=2 sw=2 norelativenumber nocursorline re=1
Press ENTER or type command to continue
When trying to install the latest update, I've received this error.
Vim: Caught deadly signal SEGV
Vim: Finished.
./.vim/install: line 140: 69795 Segmentation fault: 11 vim +"$vimcmd" +'qall!'
$ uname -a
14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
$ mvim --version
Custom Version 7.4 (77)
$ vim --version
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 1 2015 23:04:31)
MacOS X (unix) version
Included patches: 1-884
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent -gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con +lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra -mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -Os -w -pipe -march=native -mmacosx-version-min=10.10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector -L/usr/local/lib -L/usr/local/lib -Wl,-headerpad_max_install_names -o vim -lm -lncurses -liconv -framework Cocoa -pagezero_size 10000 -image_base 100000000 -L/usr/local/lib -lluajit-5.1 -fstack-protector -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework Python -lruby-static -framework CoreFoundation -lobjc -L/Users/jtarchie/.rvm/rubies/ruby-2.2.2/lib
We ran install.sh from outside of the ~/.vim directory. It created a bad vimrc symlink, and we had to rm .vimrc before running the install script again would work.
On ubuntu: (Linux yeti 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
). When running the ./install
script, I see the output below from the golang binaries section.
The exit code was 0 so I don't know if this is a problem, but it looks unexpected.
INSTALL go binaries (may take a while)...
Installing:
gosimple
gotype
varcheck
errcheck
gas
goconst
goimports
golint
interfacer
misspell
structcheck
unconvert
aligncheck
dupl
gocyclo
lll
unused
deadcode
ineffassign
staticcheck
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install one or more linters: exit status 2 (installing individually)
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install honnef.co/go/simple/cmd/gosimple: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install golang.org/x/tools/cmd/gotype: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/opennota/check/cmd/varcheck: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/kisielk/errcheck: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/HewlettPackard/gas: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/jgautheron/goconst/cmd/goconst: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install golang.org/x/tools/cmd/goimports: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/golang/lint/golint: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/mvdan/interfacer/cmd/interfacer: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/client9/misspell/cmd/misspell: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/opennota/check/cmd/structcheck: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/mdempsky/unconvert: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/opennota/check/cmd/aligncheck: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/mibk/dupl: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/alecthomas/gocyclo: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/walle/lll/cmd/lll: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install honnef.co/go/unused/cmd/unused: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/tsenart/deadcode: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install github.com/gordonklaus/ineffassign: exit status 2
flag provided but not defined: -u
usage: install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies.
For more about the build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.
WARNING: failed to install honnef.co/go/staticcheck/cmd/staticcheck: exit status 2
gometalinter: error: failed to install the following linters: honnef.co/go/simple/cmd/gosimple, golang.org/x/tools/cmd/gotype, github.com/opennota/check/cmd/varcheck, github.com/kisielk/errcheck, github.com/HewlettPackard/gas, github.com/jgautheron/goconst/cmd/goconst, golang.org/x/tools/cmd/goimports, github.com/golang/lint/golint, github.com/mvdan/interfacer/cmd/interfacer, github.com/client9/misspell/cmd/misspell, github.com/opennota/check/cmd/structcheck, github.com/mdempsky/unconvert, github.com/opennota/check/cmd/aligncheck, github.com/mibk/dupl, github.com/alecthomas/gocyclo, github.com/walle/lll/cmd/lll, honnef.co/go/unused/cmd/unused, github.com/tsenart/deadcode, github.com/gordonklaus/ineffassign, honnef.co/go/staticcheck/cmd/staticcheck
DONE go binaries
I has been reportedt that vim gets slow when editing large golang files.
when you focus a bracket or something
For long bosh release manifests, vim takes 5-10+ seconds to open and quit. This issue was not present in 32f626785a2fbea88efc349511c05bd51e336f8c
please, I only want to browse source code backwards.
Looking for where a Golang func is called and then pressing enter over the file I want to go to gives me:
Error detected while processing function CRWriteIfNecessary:
line 3:
E924: Current window was closed
Press ENTER or type command to continue
Probably happening with other commands that were overridden by the go tools.
@luan let's talk...
pivotal@kenosha ~ $ uname -a
Linux kenosha 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
pivotal@kenosha ~ $ rm -rf ~/.vim*
pivotal@kenosha ~ $
pivotal@kenosha ~ $ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 12 2016 09:33:34)
Included patches: 1-658
Compiled by pivotal@kenosha
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
+balloon_eval +float +mouse_urxvt -tag_any_white
+browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
+clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra +toolbar
+cmdline_compl +insert_expand -perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak -python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con_gui -lua +rightleft +windows
+diff +menu -ruby +writebackup
+digraphs +mksession +scrollbind +X11
+dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent +xim
+emacs_tags +mouseshape -sniff +xsmp_interact
+eval +mouse_dec +startuptime +xterm_clipboard
+ex_extra -mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop +xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -ldl
pivotal@kenosha ~ $ curl vimfiles.luan.sh/install | FORCE=1 bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5911 100 5911 0 0 88655 0 --:--:-- --:--:-- --:--:-- 89560
Detected non-interactive shell, forcing --non-interactive
vimfiles repository not yet cloned. Cloning...
Cloning into '/home/pivotal/.vim'...
remote: Counting objects: 2875, done.
remote: Total 2875 (delta 0), reused 0 (delta 0), pack-reused 2875
Receiving objects: 100% (2875/2875), 3.50 MiB | 1.54 MiB/s, done.
Resolving deltas: 100% (1789/1789), done.
Submodule 'scripts/base16-shell' (https://github.com/chriskempson/base16-shell.git) registered for path 'scripts/base16-shell'
Submodule 'scripts/shell-colors-vim-hybrid' (https://gist.github.com/0d27cb34e81af344d742.git) registered for path 'scripts/shell-colors-vim-hybrid'
Cloning into '/home/pivotal/.vim/scripts/base16-shell'...
Cloning into '/home/pivotal/.vim/scripts/shell-colors-vim-hybrid'...
Submodule path 'scripts/base16-shell': checked out '60c91eb1c33ea33d872624140c4ffa4990c8d8fb'
Submodule path 'scripts/shell-colors-vim-hybrid': checked out '5eba12c6bbaec7580a281aa2b899ae5981919e13'
INSTALL vim plugins (may take a while)...
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/deoplete-go/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/vim-jsbeautify/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/emmet-vim/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!make
:execute g:_plug_bang:!./install --all
Press 'D' to see the updated changes.remote/host: python3 host registered plugins ['deoplete']
remote/host: generated rplugin manifest: /home/pivotal/.local/share/nvim/rplugin.vim
DONE vim plugins
INSTALL go binaries (may take a while)...
vim-go: Updating gocode. Reinstalling github.com/nsf/gocode to folder /home/pivotal/.vim/gobin
vim-go: Updating gometalinter. Reinstalling github.com/alecthomas/gometalinter to folder /home/pivotal/.vim/gobin
vim-go: Updating goimports. Reinstalling golang.org/x/tools/cmd/goimports to folder /home/pivotal/.vim/gobin
vim-go: Updating guru. Reinstalling golang.org/x/tools/cmd/guru to folder /home/pivotal/.vim/gobin
vim-go: Updating gorename. Reinstalling golang.org/x/tools/cmd/gorename to folder /home/pivotal/.vim/gobin
vim-go: Updating golint. Reinstalling github.com/golang/lint/golint to folder /home/pivotal/.vim/gobin
vim-go: Updating godef. Reinstalling github.com/rogpeppe/godef to folder /home/pivotal/.vim/gobin
vim-go: Updating errcheck. Reinstalling github.com/kisielk/errcheck to folder /home/pivotal/.vim/gobin
vim-go: Updating gotags. Reinstalling github.com/jstemmer/gotags to folder /home/pivotal/.vim/gobin
vim-go: Updating asmfmt. Reinstalling github.com/klauspost/asmfmt/cmd/asmfmt to folder /home/pivotal/.vim/gobin
vim-go: Updating motion. Reinstalling github.com/fatih/motion to folder /home/pivotal/.vim/gobin
vim-go: Updating gogetdoc. Reinstalling github.com/zmb3/gogetdoc to folder /home/pivotal/.vim/gobin
vim-go: Updating impl. Reinstalling github.com/josharian/impl to folder /home/pivotal/.vim/gobin
vim-concourse: Updating flytags. Reinstalling github.com/luan/flytags to folder /home/pivotal/.vim/gobin
vim-bosh: Updating boshtags. Reinstalling github.com/luan/boshtags to folder /home/pivotal/.vim/gobin
bash: line 224: /home/pivotal/gobin/gometalinter: No such file or directory
DONE go binaries
Upon saving a .go
file I see the following:
1 || bash: gometalinter: command not found
I'm using the latest version of neovim
and I've run the following:
rm -rf $GOPATH/pkg/* && \
rm -rf $GOPATH/bin/* && \
brew upgrade neovim/neovim/neovim && \
pip3 install --upgrade pip && \
pip3 install --upgrade neovim && \
vim-update
Seeing the following error:
ERROR(BadValue): Dictionary with keys ['dict', 'func', 'Apply', 'Call', 'WithContext', 'arglist', 'WithArgs'] is not a maktaba function.
Press ENTER or type command to continue
At git commit:
* 8b5f723 - (HEAD -> master, origin/master, origin/HEAD, deploy) Revert "Temporarily disable codefmt" (6 days ago) <Luan Santos>
Is there any reason not to make the update script call install in non-interactive (-n
) mode by default?
Using latest config in neovim: I have to run :!ctags -R
(or something, can never remember if it's -r
or -R
or -r/R .
etc)
while trying to open a file using control-p fuzzy-find with a line number where neither the file or its parent directory exists
/tmp/build/47526685-f349-4eba-548b-40ee6df0bb53/diego-release/src/github.com/cloudfoundry-incubator/inigo/cell/task_test.go:222
results in:
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault: 11
How can I send you some profile info? I'm using the config at home in tmux with a rails app and the typing and moving around is noticeably slow.
When autocompleting with arrow keys I might want to select the completion with something other than <cr>
.
Keys that I might want to use would be .
, <space>
, :
, any non [a-Z0-9_-]
really.
That shouldn't be a requirement, we can use a sandbox GOPATH
to install those binaries under something like ~/.vim/gopath
Hi Luan,
:nnoremap <silent><Leader><C-]> <C-w><C-]><C-w>T
please.
I saw you had a commit to fix this but it was reverted?
I wasn't able to figure out where it's supposed to lead, either.
I would like this plz.
map C :let @* = expand("%").":".line("."):echo "Copied: ".expand("%").":".line(".")
from
https://github.com/ragaskar/vim-config/blob/master/init/keybindings.vim
Hey @luan:
I believe you can replace this:
https://github.com/luan/vimfiles/blob/master/config/lang/golang.vim#L80-L98
With a call to GoAlternate
which is shipping with vim-go.
https://github.com/fatih/vim-go/blob/master/autoload/go/alternate.vim
I had to disable it: https://github.com/krishicks/vimfiles/commit/e348bd7cfd2635f3a6937a8eba6972a36e5ad76e
This was problematic on test files particularly because they can grow to be quite large. My 2015 MacBook struggled to move the pointer around on larger files. Disabling both of these functions fixed the performance problem.
These flags are used here: https://github.com/fatih/vim-go/blob/3df3cbf2e7ab9d76fd67f9f4077060b4450ba90c/syntax/go.vim#L268
Maybe the regex could be optimized for performance.
For now, I don't care so much about the function and struct highlighting, so disabling works for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.