Giter Club home page Giter Club logo

neovim-gnome-terminal-wrapper's People

Contributors

berndf avatar fboudreau avatar fmoralesc avatar polazarus avatar synaptiko avatar thriveth avatar urandom avatar wbtuomela 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

neovim-gnome-terminal-wrapper's Issues

Open wrapper in current dir, not home dir

Thank you for creating this wrapper! It is really neat and has replaced gVim in my daily work.
One minor thing bugs me, though - when I have my terminal open in a project dir and want to open a file in that dir, I would usually just type vim filename.py and it would pop open. Now when I use nvim-wrapper, it always opens in my home dir, so in order to open a file in my current working dir, I have to nvim-wrapper ~/path/to/dir/filename.py, which is a quite a few extra keystrokes.

Is there a way to make the wrapper aware of current working dir when called from the command line?

problem with pyenv installed python3

this wrapper is with Python 3. This give me a problem when I use pyenv and I am with a virtualenv active with pyenv and this for virtualenv is a Python 3.6 dialect.

to solve this, I need to install python dependencies (python-dbus) inside the new virtualenv, or change the launch script to invoke/call directly /usr/bin/python3 not /usr/bin/env python3 that pyenv change.

Gtk-WARNING when resizing window

Gtk-WARNING **: Allocating size to GtkScrollbar 0x562ddb88d1f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

I get the above warning whenever I resize the nvim-wrapper window. GNOME terminal version: 3.20.2.

Setup for Ubuntu based distros?

I'm currently running Lubuntu and although I haven't tried setting this up for my system, I was wondering if it would be different than the manual way described in the README.md?

Removing scroll and use the edges when in full-screen mode

Hey guys,

Thanks for this cool / simple app!

I have two issues that are visible in following screenshot:

screenshot from 2017-09-27 10-20-25

  • Removing the vertical scroll
  • using the entire screen when in full-screen mode (you can see two background colors, one for Vim and one for zsh)

I'm happy to send a PR but I'm not sure how to fix it.

Should open in new terminal even when executing from terminal

I use this wrapper as my default app to open various text files from my File Manager. The problem is sometimes I use a terminal file manager (nnn) or directly the shell to open a file using xdg-open. I noticed that when using xdg-open (used also by nnn) the file is opened in nvim inside the current terminal. This is not a problem when using xdg-open directly, but it becomes a problem every times xdg-open is executed by another program like nnn because the terminal get stuck: the file is not opened and the other program becomes unresponsive. Is there a workaround for this problem? Thank you in advance.

Not compatible with Zsh

When starting up the nvim wrapper neovim is unable to find a few binaries I exported to $PATH in my zshrc. This mostly includes packages I manually installed in /opt. I can get around the issue by manually updating the $PATH environment variable in the nvim-wrapper python file. For obvious reasons, this is less than ideal as I would have to update this everytime I modify/add a new package manually. Is there some way to auto import the $PATH defined in .zshrc as I assume this works for bash users?

No icon in Alt-TAB

I hoped that I will have icon even in the Alt-TAB menu, but apparently i don’t:
Snímek obrazovky pořízený 2020-01-18 22-18-02

This is my .desktop file:

[Desktop Entry]
GenericName=Neovim (gnome-terminal)
Version=1.0
Type=Application
Name=Neovim (gnome-terminal)
Icon=/usr/share/icons/hicolor/scalable/neovim.svg
Exec=nvim-wrapper %F
NoDisplay=false
Categories=X-GNOME-Other;Utility;TextEditor;
StartupNotify=false
Terminal=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
X-GNOME-SingleWindow=false

Accidental press of Ctrl+Z leads to unrecoverable state

I've just ran into an issue that I'm not able to recover neovim's session when accidentally pressing Ctrl+Z. When I'm in terminal it's just ok but because wrapper is running directly nvim process it leads to this strange situation (starring at blank screen and trying to figure out what just happened).

Do you have any idea if it's solvable somehow?

It doesn't happen often but if it happens it's quite frustrating, especially if you have several unsaved buffers "locked" inside.

neovim airline fonts

Hi guys,

I was configuring my nvim init and when I open using gnome-terminal by "nvim" command everything looks good. But when I run wrapper airline fonts crash.

screenshot from 2016-03-16 15-03-07

Colorscheme not being set properly

I'm having a weird bug where the colorscheme isn't getting set correctly. It works when I launch neovim myself from a gnome-terminal and if I do :colorscheme solarized it fixes it but it looks like the default theme. Even the internal variable is set at solarized so I'm not sure what's happening. Can you think of anything? I looked through the script but I can't see anything apparent that'll cause it. Is it happening on your end too?

Occasional Garbled text

Sometimes when I save a file, or resize a window I see some garbled text on the screen. Usually a screen resize will clear it.

Not sure if it's an upstream issue or not, or even if there's anything you can do, but I've only seen it using the gnome-terminal wrapper, and not in a terminal on it's own, so I figured I'd open an issue.

garbled

thanks,

Missing way how to pass own env. variables or configuration

Hi Felipe,

I appreciate your work on this wrapper. I find out that following could be useful improvements:

  • default configuration file
  • config parameter when running nvim-wrapper (so you could have custom .desktop file with some parameters overriden)

Particulary I would like to configure:

  • gnome-terminal params (e.g. --maximized, --full-screen)
  • environment variables, either disable default ones (NVIM_*) or enable new ones (FZF_DEFAULT_COMMAND)
  • or maybe better way, if ~/.bashrc should be sourced before gnome-terminal/nvim is run

What do you think?

I'll try to prepare pull-request if I find some free time. Currently I've just updated nvim-wrapper directly according to my needs and installed it as different package through makepkg/pacman.

delete this - duplicate

OS: Ubuntu 16.04
Neovim 2.0dev
Gnome Terminal 3.18.3

I was finding that I would occasionally press Ctrl + Z and get stuck in a blank screen. With regular neovim, this would normally exit and return to the parent terminal. With the neovim-gnome-terminal-wrapper, the user gets stuck in an unresponsive terminal-like window (esc, ctrl + c, exit, :q and :q! all do nothing).

I put noremap <c-z> <esc> in my $MYVIMRC to avoid problems from accidentally pressing CTRL + Z, it seems to be a good solution. I think it should be incorporated, but interested in hearing thoughts.

wrong $PATH

Hi,

my custom $PATH from .bashrc is not recognised by the wrapper. How can I do that?

Thanx

Issue Loading Environment Variables

I'm using NPM packages for some of my plugins (tern, coffeescript, coffeeline, etc). Normally the their path is loaded by my .bashrc but when I start Neovim I'm noticing that none of these are available. Is there a straight-forward way to get it to read in my exports?

gnome-terminal-server not found in Ubuntu

Apparently the files have a different location on Ubuntu. Following the installation instructions gives the following error:

nvim-wrapper crashed with FileNotFoundError in _execute_child():
[Errno 2] No such file or directory: '/usr/lib/gnome-terminal/gnome-terminal-server'

Colorscheme broken in gnome-terminal 3.20

After upgrading to GNOME Terminal 3.20.2, when I start neovim, I fallback on a dirty 256 colors
screenshot from 2016-08-29 14-53-38

Here is the same colorscheme with gvim:
screenshot from 2016-08-29 14-54-58

As stated previously, colors were working before last upgrade. Any idea?

Thanks

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.