Giter Site home page Giter Site logo

akiyosi / goneovim Goto Github PK

View Code? Open in Web Editor NEW
2.3K 2.3K 59.0 32.18 MB

A GUI frontend for neovim.

License: MIT License

Go 98.88% Makefile 0.77% C++ 0.29% C 0.06%
cross-platform editor go golang gui ide neovim neovim-guis nvim nvim-plugin qt text-editor

goneovim's People

Contributors

akiyosi avatar darvesh avatar dzhou121 avatar elken avatar goggle avatar kristijanhusak avatar kunzaatko avatar mariappan avatar meain avatar philk avatar pierreglaser avatar shaform avatar shiena avatar smolck avatar tssm avatar xearty avatar zeertzjq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goneovim's Issues

Can't set the workspace properly on windows and some UI bugs

TM20190429140222
Currently I'm using gonvim on windows, and I tried to set the workspace path in setting.toml to my projects on D:\Projects. As is shown in the picture, somehow it doesn't work. I've tried many style of the path, windows-like, unix-like, all fails. So how does gonvim resolve the path on windows?

BTW: Great work,Gonvim is exactly what I need of neovim on Windows. Just file explorer and fuzzy finding, then leave everything else to neovim, Excellent!

Hang with clipboard access

In clipboard access enabled setting, editor hangs when yanking huge text.
It may be necessary to set the text size limit for clipboard access.

Gonvim crash when execute :Explorer

Crash when the current directory is /.
Stacktrace:

panic: runtime error: slice bounds out of range

goroutine 1 [running, locked to thread]:
github.com/akiyosi/gonvim/editor.(*Cmdline).getText(0xc420268540, 0x0, 0x0, 0x18, 0x0)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/cmdline.go:49 +0x233
github.com/akiyosi/gonvim/editor.(*Cmdline).show(0xc420268540, 0xc42040f030, 0x1, 0x1)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/cmdline.go:67 +0x1cb
github.com/akiyosi/gonvim/editor.(*Workspace).handleRedraw(0xc4200ee9a0, 0xc42035eea0, 0x4, 0x4)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/workspace.go:563 +0x4881
github.com/akiyosi/gonvim/editor.newWorkspace.func1()
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/workspace.go:92 +0x7d
github.com/akiyosi/gonvim/editor.callbackworkspaceSignalc696f7_RedrawSignal(0xcd7a030)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/moc.go:159 +0x70
github.com/akiyosi/gonvim/editor._cgoexpwrap_8ad3b1131c5e_callbackworkspaceSignalc696f7_RedrawSignal(0xcd7a030)
	_cgo_gotypes.go:1616 +0x2b
github.com/akiyosi/gonvim/editor._Cfunc_workspaceSignalc696f7_EventDefault(0xcd7a030, 0x17a82250, 0x0)
	_cgo_gotypes.go:1142 +0x4a
github.com/akiyosi/gonvim/editor.(*workspaceSignal).EventDefault.func1(0xcd7a030, 0x17a82250, 0x17a82250)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/moc.go:659 +0x8f
github.com/akiyosi/gonvim/editor.(*workspaceSignal).EventDefault(0xc4200c5590, 0x4795240, 0xc4204c03f8, 0x5)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/moc.go:659 +0x74
github.com/akiyosi/gonvim/editor.callbackworkspaceSignalc696f7_Event(0xcd7a030, 0x17a82250, 0xc4201bdc70)
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/moc.go:654 +0x13a
github.com/akiyosi/gonvim/editor._cgoexpwrap_8ad3b1131c5e_callbackworkspaceSignalc696f7_Event(0xcd7a030, 0x17a82250, 0x2b)
	_cgo_gotypes.go:1720 +0x35
github.com/therecipe/qt/widgets._Cfunc_QApplication_QApplication_Exec(0x0)
	_cgo_gotypes.go:1096 +0x49
github.com/therecipe/qt/widgets.QApplication_Exec(0xc4200a5a30)
	/Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go:1107 +0x22
github.com/akiyosi/gonvim/editor.InitEditor()
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/editor.go:200 +0x6d4
main.main()
	/Users/akiyoshi/go/src/github.com/akiyosi/gonvim/cmd/gonvim/gonvim.go:15 +0x3a
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...3 completed.

Default value for 'editor.Transparent'.

I’ve just tested the transparent feature and it works like a charm. The only thing I stumbled across is that there is no default value for 'editor.Transparent'.

When the user doesn’t define it in 'settings.toml' the editor window becomes totally transparent.

By the way, nice work and thumbs up ... 👍🏻

Help wanted to configure gonvim

MacOS Mojave

  • How to run from command like, like other text editor, e.g. VS code
code .

to open current folder

  • How does the workspace work, I have plugin vim-workspace installed, it looked like it didn't work, and gonvim took the control of workspace/session, how to disable it.

  • the key mapping, e.g I map Option Key + 1 to open Defx, but It didn't work, for now I have to map to 1

my gonvim configuration

Thanks a lot.

Ignore files in GonvimFuzzyFiles

Hello,

This is related to the akiyosi/gonvim-fuzzy repo, but I couldn't open an issue there.

I was wondering, is there a way to ignore some directories or files (using .gitignore for example) reported by GonvimFuzzyFiles ?

Supports Qt5.12.

therecipe/qt now supports Qt5.12.
Gonvim is ready for Qt5.12.

Workspace sometimes crashes

The occurrence condition that I could check is as follows.

  • Immediately after starting Gonvim
  • Immediately after moving :GonvimWorkspace*

Cannot set UI font

Hello,

I have this setting in my ~/.gonvim/settings.toml file:

[editor]
# ... some settings...
# Editor font-family, font-size, linespace.
fontFamily = "Iosevka SS05"
fontsize = 15
linespace = 6
ginitvim = '''
  set guifont=Fantasque\ Sans\ Mono:h15
  set linespace=7
  if g:gonvim_running == 1
    set laststatus=0
  endif
'''

But no matter what I set my guifont to, Gonvim keeps using the fontFamily setting for the GUI elements (tab title, and status line).

As I recall, it worked well with the 3.0 release.

Feature Request: Own window separator

Since neovim supports external window management, do you have plans to add this support in gonvim ?

Also floating window support and virtual text support

Disabling Vim statusline not working?

Hello,

I would like to get rid of–if possible–the unused space at the bottom of the editor (built in Vim status line and white space):

statusline

I was following the Modern UI instructions and set

let g:gonvim_draw_statusline = 0

but, the Vim statusline is still visible.

The

let g:gonvim_draw_tabline = 0

does seem to work however.

QT error while trying to run the project under Ubuntu

I want to give a try to gonvim but I can't get it to run.

I downloaded the release 0.3.3, extracted the archive and run ./gonvim in my terminal but I got the following error:

./gonvim: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.11' not found (required by ./gonvim)

System informations:

  • OS: Ubuntu 18.04
  • Kernel: 4.15.0-46-generic

Is installing https://github.com/therecipe/qt a requirement to get the application to run ?

Build error when running qtdeploy build desktop

~/.../cmd/gonvim ❯❯❯ qtdeploy build desktop
ERRO[0026] failed to run command                         _func=RunCmd cmd="go build -p 12 -v -ldflags=all=\"-w\" -o /Users/xlc/src/github.com/akiyosi/gonvim/cmd/gonvim/deploy/darwin/gonvim.app/Contents/MacOS/gonvim -tags=\"minimal\"" dir=/Users/xlc/src/github.com/akiyosi/gonvim/cmd/gonvim env="GOPATH=/Users/xlc HISTCONTROL=erasedups:ignoredups:ignorespace _=/usr/local/bin/qtdeploy _fzf_orig_completion_tee=complete -F %s tee #_longopt XPC_SERVICE_NAME=0 GOARCH=amd64 _fzf_orig_completion_less=complete -F %s less #_longopt TMPDIR=/var/folders/n_/mc6_zbfx2y7bdt_9gfjmj9qw0000gn/T/ PAGER=less AUTOJUMP_ERROR_PATH=/Users/xlc/Library/autojump/errors.log AUTOJUMP_SOURCED=1 _fzf_orig_completion_pushd=complete -o nospace -F %s pushd #_cd FZF_DEFAULT_COMMAND=fd --type f --hidden --follow --exclude .git _fzf_orig_completion_grep=complete -F %s grep #_longopt USER=xlc _fzf_orig_completion_ln=complete -F %s ln #_longopt _fzf_orig_completion_wc=complete -F %s wc #_longopt CGO_LDFLAGS_ALLOW=.* LESS=-R __PYVENV_LAUNCHER__=/usr/local/bin/python3 HISTSIZE=-1 ITERM_PROFILE=Iosevka _fzf_orig_completion_tail=complete -F %s tail #_longopt _fzf_orig_completion_sed=complete -F %s sed #_longopt GITHUB_TOKEN=5b921ac97af58537e5ba842fcefa01b5fb3bedcf SECURITYSESSIONID=186a8 SHLVL=5 TERMINFO=/Users/xlc/src/github.com/kovidgoyal/kitty/terminfo LOGNAME=xlc GOOS=darwin CGO_CXXFLAGS_ALLOW=.* LANG=zh_CN.UTF-8 LC_CTYPE=zh_CN.UTF-8 TMUX=/private/tmp/tmux-501/default,5248,0 SHELL=/bin/zsh TERM_SESSION_ID=w6t0p0:6528142A-19EA-432B-9C01-E3A4C7AA09FE _fzf_orig_completion_vim=complete -F %s vim #_filedir_xspec PWD=/Users/xlc/src/github.com/akiyosi/gonvim/cmd/gonvim ITERM_SESSION_ID=w6t0p0:6528142A-19EA-432B-9C01-E3A4C7AA09FE https_proxy=http://127.0.0.1:1087 HISTTIMEFORMAT=%Y/%m/%d %H:%M:%S:    _fzf_orig_completion_uniq=complete -F %s uniq #_longopt _fzf_orig_completion_cp=complete -F %s cp #_longopt Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.87VmHEcF0R/Render _fzf_orig_completion_awk=complete -F %s awk #_longopt FZF_COMPLETION_TRIGGER=.. TMUX_PANE=%0 _fzf_orig_completion_du=complete -F %s du #_longopt GOROOT=/usr/local/Cellar/go/1.10.3/libexec CGO_CFLAGS_ALLOW=.* PROMPT_DIRTRIM=2 _fzf_orig_completion_ls=complete -F %s ls #_longopt TERM=xterm-kitty _fzf_orig_completion_cat=complete -F %s cat #_longopt OLDPWD=/Users/xlc/src/github.com/akiyosi/gonvim/cmd _fzf_orig_completion_mv=complete -F %s mv #_longopt SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.wXoIJTdQlt/Listeners PLATFORM=Darwin PATH=/usr/local/bin:/usr/local/opt/python/libexec/bin:/Users/xlc/bin:/usr/local/bin:/Users/xlc/bin:/usr/local/bin:/usr/local/bin:/usr/local/opt/python/libexec/bin:/Users/xlc/src/github.com/MaskRay/ccls/Release:/usr/local/bin:/usr/local/opt/python/libexec/bin:/Users/xlc/src/github.com/paritytech/polkadot/target/release:/Users/xlc/src/github.com/paritytech/parity-bridge/target/release:/Users/xlc/src/github.com/paritytech/parity/target/release:/usr/local/opt/coreutils/libexec/gnubin:/Users/xlc/bin:/usr/local/bin:/Users/xlc/.npm-packages/bin:/Users/xlc/anaconda3/bin:/Library/TeX/texbin:/Users/xlc/.local/bin:/Users/xlc/.cargo/bin:/usr/local/sbin:/Users/xlc/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/xlc/.fzf/bin:/Users/xlc/.rvm/bin:/Users/xlc/.rvm/bin:/Users/xlc/src/github.com/kovidgoyal/kitty/kitty/launcher:/Users/xlc/.rvm/bin:/Users/xlc/.rvm/bin LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: COLORTERM=truecolor KITTY_WINDOW_ID=1 _fzf_orig_completion_sort=complete -F %s sort #_longopt LSCOLORS=Gxfxcxdxbxegedabagacad _fzf_orig_completion_head=complete -F %s head #_longopt _fzf_orig_completion_telnet=complete -F %s telnet #_known_hosts TERM_PROGRAM=iTerm.app http_proxy=http://127.0.0.1:1087 _fzf_orig_completion_ld=complete -F %s ld #_longopt _fzf_orig_completion_rmdir=complete -F %s rmdir #_longopt XPC_FLAGS=0x0 _fzf_orig_completion_nvim=complete -F %s nvim #_minimal ZSH=/Users/xlc/.oh-my-zsh HISTFILESIZE=-1 HOME=/Users/xlc QT_HOMEBREW=true _fzf_orig_completion_rm=complete -F %s rm #_longopt RUST_SRC_PATH=/Users/xlc/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src CGO_ENABLED=1 _fzf_orig_completion_git=complete -o bashdefault -o default -o nospace -F %s git #__git_wrap__git_main __CF_USER_TEXT_ENCODING=0x1F5:0x19:0x34 _fzf_orig_completion_diff=complete -F %s diff #_longopt _fzf_orig_completion_ftp=complete -F %s ftp #_known_hosts COLORFGBG=15;0 _fzf_orig_completion_open=complete -F %s open #_minimal HISTIGNORE=&:[ ]*:exit:ls:bg:fg:history:clear _fzf_orig_completion_cd=complete -o nospace -F %s cd #_cd TERM_PROGRAM_VERSION=3.2.3" error="exit status 2" name="build for darwin on darwin"github.com/akiyosi/gonvim/editor
# github.com/akiyosi/gonvim/editor../../editor/editor.go:474:10: undefined: core.NewQChar9
../../editor/font.go:27:18: fontMetrics.Width undefined (type *gui.QFontMetricsF has no field or method Width)
../../editor/markdown.go:89:26: not enough arguments in call to m.webpage.SetWebChannel2
        have (*webchannel.QWebChannel)
        want (webchannel.QWebChannel_ITF, uint)
../../editor/markdown.go:136:11: m.webpage.RunJavaScript4 undefined (type *webengine.QWebEnginePage has no field or method RunJavaScript4)
../../editor/markdown.go:140:11: m.webpage.RunJavaScript4 undefined (type *webengine.QWebEnginePage has no field or method RunJavaScript4)
../../editor/palette.go:198:46: p.ws.font.defaultFontMetrics.Width undefined (type *gui.QFontMetricsF has no field or method Width)
../../editor/screen.go:902:30: s.ws.font.fontMetrics.Width undefined (type *gui.QFontMetricsF has no field or method Width)
../../editor/signature.go:108:36: s.ws.font.defaultFontMetrics.Width undefined (type *gui.QFontMetricsF has no field or method Width)
  • macOS 10.13.6
~/.../cmd/gonvim ❯❯❯ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/xlc/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/xlc"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10.3/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/n_/mc6_zbfx2y7bdt_9gfjmj9qw0000gn/T/go-build973158806=/tmp/go-build -gno-record-gcc-switches -fno-common"

Any clue?

Required plugins

Could you please mention which plugins are required?
Because out-of-the box experience (only neovim installed) is pretty ugly:
img

The application "gonvim.app" cannot be opened.

I finally was able to build gonvim on my machine. However, when I try to launch it I get the following message:

screen shot 2018-12-18 at 7 16 44 pm

Running from the terminal I can see the error which I don't have any Idea about its solution :(

>> open -a gonvim
LSOpenURLsWithRole() failed for the application /Users/juju/Development/go/src/github.com/akiyosi/gonvim/cmd/gonvim/deploy/darwin/gonvim.app with error -10810.

Neomake linters are not showing up in gonvim

I have nvim configured to use neomake (https://github.com/benekastah/neomake) which runs linters like flake8 for python and gometalinter for go. When I save a file, the linters are automatically executed and any errors are shown in a gutter.

However, when running gonvim, these errors never show up. Does gonvim support such things yet, and have I misconfigured it, or is it not supported?

Does not respond anything with :Denite

Hi 😄
Thank you for present this great app!

I have a basic problem,
that gonvim perfectly hanged up after :Denite foo.

There is a minimum procedure for reproducing 👇

$ cat local.vim
set rtp+=~/.vim/bundle/repos/github.com/Shougo/denite.nvim

$ gonvim -u local.vim  # and do `:Denite buffer`, `:Denite file`, or other denite.nvim command
Unhandle event option_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
Unhandle event default_colors_set
Unhandle event option_set
Unhandle event mode_info_set
^C

Do you have some knowledge for this? 🤔
Please help me 🐕

Cannot switch between GonVim Workspaces

Hello,

I'm using Gonvim with Neovim v0.4.0-1133-g0afb5fa70.

I find Gonvim's workspace really useful, but it seems like I cannot switch between them anymore.

I can create new gonvim workspaces, but the GonvimWorkspaceNext (and others) don't seem to work. I tried executing :qall to go back to a previous workspace, but it crashed Gonvim.

Contribution Guidelines and Other Questions

I'm interested in the gonvim project, and I'm glad to see someone has continued maintaining and adding to it. I do have a few questions for you:

  • How does this project relate to the upstream?
  • Do you ever plan to push your changes up?
  • Should I make contributions to your project or to the upstream?
  • Do you accept contributions?
  • Are there any areas of the code base that need unit or integration tests?

Odd font render

default

As the picture shown, font render in gonvim is odd.

ArchLinux, nvim v0.3.4, gonvim 0.3.3.
setting.toml is same as the one in wiki.
Empty nvim configure give same result.

Any solutions?
Thanks.

Bug: Hangs on some map execution

When running a some of my maps, the whole editor freezes without leaving any usuful information.

How to reproduce:

gonvim 
:map <space>d :make<cr>

then press <space>d, the whole editor freezes.

Ctrl+N does not allow looping through all autocomplete suggestions

In neovim (in the terminal) I am able to use Ctrl+N to scroll through all suggested autocompletes. In Gonvim, when pressing Ctrl+N, the first suggested item is selected which then clears all other autocomplete suggestions from the list. When I use the "down" arrow to select autocomplete suggestions, I am able to scroll through all suggestions without them dissappearing.

Gonvim crashes after a certain time

Gonvim crashes after a certain time.

environment

  • MacOS 10.13.6

workaround
The following settings may avoid it.

[Editor]
GinitVim = '''
  augroup GonvimAuMd
    autocmd!
  augroup end
'''

stacktrace


> path/filepath.Base() /Users/akiyoshi/.goenv/versions/1.11.4/src/path/filepath/path.go:437 (PC: 0x41d5f65)
Command failed: bad access
(dlv) bt
 0  0x00000000041d5f65 in path/filepath.Base
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/path/filepath/path.go:437
 1  0x00000000054f5678 in github.com/akiyosi/gonvim/editor.(*Markdown).updatePos
    at /Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/markdown.go:134
 2  0x00000000055105c7 in github.com/akiyosi/gonvim/editor.(*Screen).paint
    at /Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/screen.go:330
 3  0x00000000055678f9 in github.com/akiyosi/gonvim/editor.(*Screen).paint-fm
    at /Users/akiyoshi/go/src/github.com/akiyosi/gonvim/editor/screen.go:76
 4  0x0000000004e184d4 in github.com/therecipe/qt/widgets.callbackQWidget_PaintEvent
    at /Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets.go:105495
 5  0x0000000004b7e0c5 in github.com/therecipe/qt/widgets._cgoexpwrap_55938262866f_callbackQWidget_PaintEvent
    at _cgo_gotypes.go:131165
 6  0x0000000004068b8b in runtime.call32
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:522
 7  0x000000000400b6eb in runtime.cgocallbackg1
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgocall.go:313
 8  0x000000000400b4b9 in runtime.cgocallbackg
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgocall.go:191
 9  0x000000000406a15b in runtime.cgocallback_gofunc
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:775
10  0x000000000406a0ae in runtime.cgocallback
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:686
11  0x0000000004b7e081 in _cgoexp_55938262866f_callbackQWidget_PaintEvent
    at _cgo_gotypes.go:131161
12  0x00000000041e52e7 in crosscall2
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgo/asm_amd64.s:59
13  0x000000000577145d in C.callbackQWidget_PaintEvent
    at /tmp/go-build/_cgo_export.c:29694
14  0x000000000b916888 in ???
    at ?:-1
15  0x0000000005886daa in C.QWidget_EventDefault
    at /Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets.cpp:0
16  0x00000000057c4101 in C._cgo_55938262866f_Cfunc_QWidget_EventDefault
    at /tmp/go-build/cgo-gcc-prolog:117812
17  0x000000000406a020 in runtime.asmcgocall
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:637
18  0x00000000057c40e0 in C._cgo_55938262866f_Cfunc_QWidget_EventDefault
    at /tmp/go-build/cgo-gcc-prolog:117802
19  0x0000000004b1ff7a in github.com/therecipe/qt/widgets._Cfunc_QWidget_EventDefault
    at _cgo_gotypes.go:102963
20  0x0000000004f6b78e in github.com/therecipe/qt/widgets.(*QWidget).EventDefault.func1
    at /Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets.go:104211
21  0x0000000004e0eab2 in github.com/therecipe/qt/widgets.(*QWidget).EventDefault
    at /Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets.go:104211
22  0x0000000004e0e620 in github.com/therecipe/qt/widgets.callbackQWidget_Event
    at /Users/akiyoshi/go/src/github.com/therecipe/qt/widgets/widgets.go:104177
23  0x0000000004b7ce1a in github.com/therecipe/qt/widgets._cgoexpwrap_55938262866f_callbackQWidget_Event
    at _cgo_gotypes.go:130814
24  0x0000000004068b8b in runtime.call32
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:522
25  0x000000000400b6eb in runtime.cgocallbackg1
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgocall.go:313
26  0x000000000400b4b9 in runtime.cgocallbackg
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgocall.go:191
27  0x000000000406a15b in runtime.cgocallback_gofunc
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:775
28  0x000000000406a0ae in runtime.cgocallback
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/asm_amd64.s:686
29  0x0000000004b7cdd1 in _cgoexp_55938262866f_callbackQWidget_Event
    at _cgo_gotypes.go:130810
30  0x00000000041e52e7 in crosscall2
    at /Users/akiyoshi/.goenv/versions/1.11.4/src/runtime/cgo/asm_amd64.s:59
31  0x0000000005770bad in C.callbackQWidget_Event
    at /tmp/go-build/_cgo_export.c:29227

Bug: Weird Visual artifacts

Sometimes after searching then ':nohlsearch', some leftover artifacts appear, which disappear after moving over them.

Sun_17-03-19-19:46:00

Reproducing isn't consistent.

White text in Gonvim UI with 3.1

Hello,

I just updated to version 3.1 that was released today. I noticed that all UI texts are white now. This is especially difficult with the commands palette, where I can't see the text I'm typing.

Is there maybe a new setting that was and added and that I should change to tweak the text colour?

screenshot 2018-12-05 at 15 15 14

Request: Set `g:gonvim_running` earlier in load

Would it be possible to set g:gonvim_running earlier in the load sequence? I have several plugins (airline, etc.) I would like to disable if Gonvim is running instead of terminal Neovim, but this currently doesn't work because the g:gonvim_running variable isn't set until after init.vim is sourced.

Alternately, is there another recommended way to conditionally disable plugins if in Gonvim instead of TUI Neovim?

Integrate PR for bold fonts?

Hello,

I was testing out gonvim, it looks really great and fast! 👍 One thing I was missing was the support for bold fonts.

It seems like this pull request on dzhou121/gonvim is aimed to fix that.

Do you think it would be possible to somehow integrate this into your branch?

EDIT: the original title was bold and italic fonts, sorry for the false alert, of course italic fonts are supported by Gonvim!

Add `--server` option to connect to specific nvim session?

nvim-qt has an option to attach to existing nvim sessions: https://github.com/equalsraf/neovim-qt/wiki/Remote-attachment

This enables us to use nvim-qt to attach to nvim running on remote servers via ssh, which is really useful. In this way, we are no longer being restricted to work on text-based terminals when connecting to remote servers.

I've inspected several other GUI alternatives for neovim, but it seems that nvim-qt is the only one that supports this currently.

I am wondering if gonvim would supports this? This would be really helpful since I am required to work on remote machines most of the time.

Thanks!

Gonvim-fuzzy ag not working with remote attachment

Hi Akiyosi,

I recently started using the remote attachment feature of gonvim to connect to my local linux vm, from host mac os and it is amazing. Thanks for this wonderful feature.

I had one little problem though. When trying to grep files using GonvimFuzzyAg, no results has been displayed.

This is only one pending feature which prevents me from using this GUI. All other fuzzy finders like GonvimFuzzyFiles and GonvimFuzzyBuffers are all working.

I am not able to raise an issue in gonvim-fuzzy. Hence raising an issue here.
Can you please take a look ?

New release?

A lot has happened since v0.2.3, and I'd be curios to try it out!

cwd of gonvim

On macOS High Sierra,when I start gonvim from dock icon,it's pwd is '/'.
Default cwd is ~ is better.

Dein.vim GUI not working with neovim 0.3.2

The cause is that gonvim can't get the messages after installing/updating plugin in dein.vim, resulting in an infinite loop. Therefore, it is in an infinite loop in waiting to get the message.

Minimum width

I would like to set the Width in setting.toml to smaller than 800px
image
I assume from >= a minimum is hardcoded, can that be changed?

Control scroll granularity/sensitivity

Is there a way to control scroll granularity/sensitivity? I'm also thinking scroll shouldn't take effect for small scrolling distances on a trackpad.

Gonvim statusline path style options

Hello,

I was wondering what do the [workspace] options do?

[workspace]
# name: directoryname
# full: /path/to/directoryname
# minimum: /p/t/directoryname
pathStyle = "minimum"

If possible I would love to have the minimum format for the Gonvim statusline:

gonvim-status

One more thing:

In the configuration wiki, the [ScrollBar] option is presented twice and it may cause some problems loading the init file.

Proposed Logo

I love Gonvim, but I want it to have a logo, so I made this logo in Inkscape
Gonvim Logo

The blue is from the Gopher mascot of GoLang. Let me know what you think

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.