dzhou121 / gonvim Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When launching gonvim, a blank window appears and these messages loops in the terminal
Unhandle event mode_info_set
Unhandle event update_sp
Ubuntu 14,04
go version go1.8.3 linux/amd64
NVIM v0.2.1-dev
I use a plugin vim-cursorword. This plugin does not work with gonvim ver 0.1. Words are not underlined. I'm sure that this is not related to my init.vim, because this plugin works with other neovim GUI frontend, nvim-qt.
I want to add support gonvim in my plugins.
So I want to check gonvim is executed.
I use a French layout (azerty) but gonvim seems to interpret it as a qwerty so if I type 'a', 'q' is printed. That's quite strange.
gonvim doesn't work for me, it just shows this empty window:
EDIT:
Using latest revision d234997 on OS X 10.11.6
This GUI is awesome!! I love it at the first glance! But, my major system is Windows. So, there is any plan for Windows version?
Well this is wierd, pressing the tilde combo on my keyboard does absolutley nothing in gonvim.
It works everywhere else on my system though. Might be worth mentioning that I have a nordic keyboard layout and I'm typing tilde by using a combination AltGr-button and the button that adds umlauts to "¨" other letters, e.g. ẅüïäëä
Hi @dzhou121, i have this in my init.vim nnoremap <silent><C-p> :CtrlSpace<CR>
, but in gonvim when i press <C-p>
it just moves the cursor one line upper
also i have these settings for file saving:
nmap <c-s> :wa!<CR>
imap <c-s> <Esc><c-s>
the first one doesn't work, the second one inserts <C-D-S>
next thing is that i'm using https://github.com/junegunn/fzf.vim so when i run :Files
and press <C-n>
or <C-p>
to move around it inserts ;5u
inside of fzf input prompt
I'm using NVIM v0.2.0
on Kernel: 4.9.31-1-MANJARO x86_64 (64 bit) Desktop: Xfce 4.12.3 Distro: Manjaro Linux
Thank you very much for your work !
EDIT: <C-f>
and <C-b>
in normal mode also don't work
Hi,
It would be nice if you could provide the list of plugins that you use in the GIFs. Especially, the fuzzy finder.
Thanks for this project. Its working fine even on windows !
Hi,
I use "get get" to get an error.
Detail:
go get -u -v github.com/dzhou121/gonvim/cmd/gonvim
github.com/dzhou121/gonvim (download)
github.com/dzhou121/gonvim-fuzzy (download)
github.com/junegunn/fzf (download)
github.com/mattn/go-isatty (download)
github.com/mattn/go-runewidth (download)
github.com/neovim/go-client (download)
github.com/therecipe/qt (download)
github.com/dzhou121/gonvim
go1.8/src/github.com/dzhou121/gonvim/editor.go:82: e.signal.GuiSignal undefined (type *editorSignal has no field or method GuiSignal)
go1.8/src/github.com/dzhou121/gonvim/editor.go:86: e.signal.RedrawSignal undefined (type *editorSignal has no field or method RedrawSignal)
go1.8/src/github.com/dzhou121/gonvim/editor.go:317: undefined: NewEditorSignal
go1.8/src/github.com/dzhou121/gonvim/locpopup.go:53: editor.signal.ConnectLocpopupSignal undefined (type *editorSignal has no field or method ConnectLocpopupSignal)
go1.8/src/github.com/dzhou121/gonvim/locpopup.go:100: editor.signal.LocpopupSignal undefined (type *editorSignal has no field or method LocpopupSignal)
go1.8/src/github.com/dzhou121/gonvim/locpopup.go:181: editor.signal.LocpopupSignal undefined (type *editorSignal has no field or method LocpopupSignal)
go1.8/src/github.com/dzhou121/gonvim/statusline.go:255: editor.signal.ConnectStatuslineSignal undefined (type *editorSignal has no field or method ConnectStatuslineSignal)
go1.8/src/github.com/dzhou121/gonvim/statusline.go:259: editor.signal.ConnectLintSignal undefined (type *editorSignal has no field or method ConnectLintSignal)
go1.8/src/github.com/dzhou121/gonvim/statusline.go:262: editor.signal.ConnectGitSignal undefined (type *editorSignal has no field or method ConnectGitSignal)
go1.8/src/github.com/dzhou121/gonvim/statusline.go:267: editor.signal.StatuslineSignal undefined (type *editorSignal has no field or method StatuslineSignal)
go1.8/src/github.com/dzhou121/gonvim/statusline.go:267: too many errors
Below commands are not working in gonvim
but its working in neovim-qt
client
nmap < c-k > :wincmd k
nmap < c-j > :wincmd j
nmap < c-h > :wincmd h
nmap < c-l > :wincmd l
I want to use the feature with deoplete.
I have read the source code. But I don't know why it does not work.
Hi there,
I am trying to get gonvim running and download the prebuilt package for Linux.
I made both executable and get the following error.
nvim attach UI error nvim:nvim_ui_attach validation: No such ui option
I am running the KDE neon, that should be equivalent to Kubuntu 16.04.
Thanks
$ go get -u github.com/dzhou121/gonvim/cmd/gonvim
# github.com/dzhou121/ui
../workspace/gocode/src/github.com/dzhou121/ui/areahandler.go:164: areasRWMutex.RULock undefined (type sync.RWMutex has no field or method RULock)
../workspace/gocode/src/github.com/dzhou121/ui/areahandler.go:217: areasRWMutex.RULock undefined (type sync.RWMutex has no field or method RULock)
../workspace/gocode/src/github.com/dzhou121/ui/areahandler.go:238: areasRWMutex.RULock undefined (type sync.RWMutex has no field or method RULock)
../workspace/gocode/src/github.com/dzhou121/ui/areahandler.go:247: areasRWMutex.RULock undefined (type sync.RWMutex has no field or method RULock)
../workspace/gocode/src/github.com/dzhou121/ui/areahandler.go:265: areasRWMutex.RULock undefined (type sync.RWMutex has no field or method RULock)
$ go version
go version go1.7.4 linux/amd64
11:13:23 dotfiles (master)$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
after successfull go get -u github.com/dzhou121/gonvim/cmd/gonvim
running gonvim exited with Message Killed : 9
Returned error code 137
OS : MacOs Sierra
GO version : go version go1.7 darwin/amd64
nvim version : NVIM v0.2.0
Hello,
I downloaded the Windows zip from the releases page, but I'm unable to run it.
Steps:
Let me know if I can provide any other information.
I have added the signature feature support in echodoc.
But it does not work...
Can you check the implementation?
These options should return true, but it doesn't at the moment.
If you want it to be open source / free software and you want other people to use it you should probably add a license.
When running the advised command:
LANG=C go get -u github.com/dzhou121/gonvim/cmd/gonvim
I have :
# github.com/dzhou121/ui
/usr/bin/x86_64-linux-gnu-ld.bfd.real: ../go/src/github.com/dzhou121/ui/libui_linux_amd64.a(libui-combined.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld.bfd.real: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
I am not familiar with go so not sure how to fix it.? Gcc is gcc-6.real (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005. Might be a linking issue ?
Would be nice if the mouse can be used to manage windows/splits/tabs for closing, resizing, etc.
When I have a long list of auto complete or a long command output the window get really big, it should limit the content inside the window like in regular vim.
A window shows up when starting gonvim, but typing :
immediatly crashes the application and outputs this on the console:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x438a2a9]
This is using:
I have executed call rpcnotify(0, 'Gui', 'Font', 'Monospace:h13')
, but it was crashed.
I think it is bug.
Could you please explain how you open the file explorer sidebar shown in your screenshots? I'm running on Linux, if that makes any difference with regard to menus or anything (no menu bar in linux).
As the title indicates. If I open foo.txt
in terminal Neovim and then try to open foo.txt
in gonvim, the gonvim interface freezes and does not display any updates in response to keypresses. However, if :q<CR>
is entered, gonvim unfreezes into a blank buffer.
Hi,
I'm using powerline, this gonvim has its own status bar, which is duplicated.
Should I disable powerline or its own status bar?
Environment:
NVIM v0.2.0-1171-g4566f7c7c
go version go1.8 linux/amd64
Linux sting 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux
Behavior
gonvim installed cleanly and without warnings or errors with go get
. Upon execution, a window flashes and exits, throwing this error:
➜ ~ gonvim
(gonvim:6994): Gtk-WARNING **: Theme parsing error: gtk.css:1:62: Failed to import: The resource at “/org/gnome/gnomishdark/gtk-main.css” does not exist
nvim attach UI error nvim:nvim_ui_attach validation: No such ui option
The exit code is 0.
$ go get -v -u github.com/dzhou121/gonvim/cmd/gonvim
github.com/dzhou121/gonvim (download)
github.com/dzhou121/neovim-fzf-shim (download)
github.com/junegunn/fzf (download)
github.com/junegunn/go-isatty (download)
github.com/junegunn/go-runewidth (download)
github.com/neovim/go-client (download)
github.com/dzhou121/neovim-locpopup (download)
github.com/dzhou121/svg (download)
github.com/rustyoz/Mtransform (download)
github.com/dzhou121/ui (download)
$ gonvim
-bash: gonvim: command not found
Hi everyone, the first time I run gonvim
the window was blank and if I press Enter I got this error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7963f9]
goroutine 19 [running, locked to thread]:
github.com/dzhou121/gonvim.(*AreaHandler).KeyEvent(0xc420150200, 0xc420128200, 0xc420126c00, 0xc420194000)
/home/mahdi/src/src/github.com/dzhou121/gonvim/area.go:149 +0x109
github.com/dzhou121/ui.doAreaHandlerKeyEvent(0x1f44750, 0x1f40b10, 0x7ffc66e84cf0, 0xc400000008)
/home/mahdi/src/src/github.com/dzhou121/ui/areahandler.go:263 +0x100
github.com/dzhou121/ui._cgoexpwrap_503c44ee75e0_doAreaHandlerKeyEvent(0x1f44750, 0x1f40b10, 0x7ffc66e84cf0, 0x1)
github.com/dzhou121/ui/_obj/_cgo_gotypes.go:2458 +0x3f
github.com/dzhou121/ui._Cfunc_uiMain()
github.com/dzhou121/ui/_obj/_cgo_gotypes.go:1842 +0x41
github.com/dzhou121/ui.start(0xc42013c120, 0x8c5330)
/home/mahdi/src/src/github.com/dzhou121/ui/main.go:56 +0x196
created by github.com/dzhou121/ui.Main
/home/mahdi/src/src/github.com/dzhou121/ui/main.go:36 +0x6b
I have tested the latest release versionof gonvim.
It works!
But if I use denite.nvim, gonvim is freezed.
It does not happened in the previous version.
Can you test it?
Am I doing something wrong here?
➔ go get -v -u github.com/dzhou121/gonvim/cmd/gonvim
github.com/dzhou121/gonvim (download)
github.com/dzhou121/neovim-fzf-shim (download)
github.com/junegunn/fzf (download)
github.com/mattn/go-isatty (download)
github.com/mattn/go-runewidth (download)
github.com/neovim/go-client (download)
github.com/therecipe/qt (download)
github.com/dzhou121/gonvim
# github.com/dzhou121/gonvim
../../dzhou121/gonvim/editor.go:80: e.signal.GuiSignal undefined (type *editorSignal has no field or method GuiSignal)
../../dzhou121/gonvim/editor.go:84: e.signal.RedrawSignal undefined (type *editorSignal has no field or method RedrawSignal)
../../dzhou121/gonvim/editor.go:317: undefined: NewEditorSignal
../../dzhou121/gonvim/locpopup.go:50: editor.signal.ConnectLocpopupSignal undefined (type *editorSignal has no field or method ConnectLocpopupSignal)
../../dzhou121/gonvim/locpopup.go:97: editor.signal.LocpopupSignal undefined (type *editorSignal has no field or method LocpopupSignal)
../../dzhou121/gonvim/locpopup.go:178: editor.signal.LocpopupSignal undefined (type *editorSignal has no field or method LocpopupSignal)
../../dzhou121/gonvim/statusline.go:251: editor.signal.ConnectStatuslineSignal undefined (type *editorSignal has no field or method ConnectStatuslineSignal)
../../dzhou121/gonvim/statusline.go:255: editor.signal.ConnectLintSignal undefined (type *editorSignal has no field or method ConnectLintSignal)
../../dzhou121/gonvim/statusline.go:258: editor.signal.ConnectGitSignal undefined (type *editorSignal has no field or method ConnectGitSignal)
../../dzhou121/gonvim/statusline.go:263: editor.signal.StatuslineSignal undefined (type *editorSignal has no field or method StatuslineSignal)
../../dzhou121/gonvim/statusline.go:263: too many errors
gonvim doesn't launch, and I don't have much information:
$ go get -u github.com/dzhou121/gonvim/cmd/gonvim
$ gonvim
Killed: 9
Using go 1.7:
$ go version
$ go version go1.7.6 darwin/amd64
I get this error, when I try to install the program.
$ go get -u github.com/dzhou121/gonvim/cmd/gonvim
# github.com/dzhou121/ui
/usr/bin/ld: .go/src/github.com/dzhou121/ui/libui_linux_amd64.a(libui-combined.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
I am running Ubuntu Gnome 17.04
Installed packages golang-go
, from the ubuntu repository.
My go path:
export GOPATH="$HOME/.go"
After launcing gonvim -u NONE *.go
The further I go on a line the more the cursor is out of sync.
I have changed my systems default font. Perhaps I need a fixed width default font.
Let me know if you want more info
The showtabline
option can be used to control the tabline behavior, so, when the value is 1, the tabline will be hidden with only one tab open.
I did the go build and tried to start gonvim, but all I get is a black screen.
I can use :q
so that is working
OS: macOS Sierra 10.12.3 16D32 x86_64
buit after 1195027 commit
The cursor renders at a fixed location in the buffer, and does not move. It reacts to mode changes (highlighting differently for insert vs normal vs visual), and the rest of the UI indicates that the actual cursor is moving (relative line numbers change, text can be inserted at different locations, etc.), but the cursor never moves. In what may be a related issue, the various popups (completion, fuzzy-finder, lint error) seem to not be displaying.
I'm on Arch Linux with Neovim 0.2.0 and the latest gonvim
. This behavior occurs even when gonvim
is started as gonvim -u NONE <file>
, so I don't think it's due to any of my plugins or configuration.
Installed gonvim on MacOS X Sierra via:
go get -u github.com/dzhou121/gonvim/cmd/gonvim
launched and got panic:
$ gonvim
panic: unbuffered done channel
goroutine 7 [running, locked to thread]:
github.com/neovim/go-client/msgpack/rpc.(*Endpoint).Go(0xc42007b790, 0x44bdc4d, 0xe, 0xc420114e00, 0x0, 0x0, 0xc420019f50, 0x3, 0x3, 0x30)
/Users/divan/src/github.com/neovim/go-client/msgpack/rpc/endpoint.go:257 +0x6b6
github.com/neovim/go-client/msgpack/rpc.(*Endpoint).Call(0xc42007b790, 0x44bdc4d, 0xe, 0x0, 0x0, 0xc420019f50, 0x3, 0x3, 0xc420039af8, 0xc420011ed8)
/Users/divan/src/github.com/neovim/go-client/msgpack/rpc/endpoint.go:245 +0xa7
github.com/neovim/go-client/nvim.(*Nvim).call(0xc420019e90, 0x44bdc4d, 0xe, 0x0, 0x0, 0xc420019f50, 0x3, 0x3, 0x40107df, 0x4416200)
/Users/divan/src/github.com/neovim/go-client/nvim/nvim.go:196 +0x84
github.com/neovim/go-client/nvim.(*Nvim).AttachUI(0xc420019e90, 0x5f, 0x17, 0xc420019f20, 0xc420019f20, 0x0)
/Users/divan/src/github.com/neovim/go-client/nvim/apiimp.go:456 +0x14b
github.com/dzhou121/gonvim.InitEditor(0xc42010e090, 0x46e5e90)
/Users/divan/src/github.com/dzhou121/gonvim/editor.go:189 +0xb9d
main.main.func2()
/Users/divan/src/github.com/dzhou121/gonvim/cmd/gonvim/gonvim.go:17 +0x22
github.com/dzhou121/ui.doQueued(0x0)
/Users/divan/src/github.com/dzhou121/ui/main.go:110 +0xb3
github.com/dzhou121/ui._cgoexpwrap_e401c76804b4_doQueued(0x0)
github.com/dzhou121/ui/_obj/_cgo_gotypes.go:2581 +0x2b
github.com/dzhou121/ui._Cfunc_uiMain()
github.com/dzhou121/ui/_obj/_cgo_gotypes.go:1900 +0x41
github.com/dzhou121/ui.start(0xc420114c40, 0x44d4188)
/Users/divan/src/github.com/dzhou121/ui/main.go:56 +0x19b
created by github.com/dzhou121/ui.Main
/Users/divan/src/github.com/dzhou121/ui/main.go:36 +0x6b
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.