According to the docs you can install and run neovim as an appimage using:
$ ~/nvim.appimage
This works fine, but leaves the terminal with a confusing title:
I like the method of using an appimage, but can I create an alias which will allow me to type vim and get the neovim appimage and a terminal window title of "neovim"?
I have Oh My Zsh running on Ubuntu 18.04.
Related
After setting up zsh (with brew install zsh), I can't type anything in new terminals. I've tried ctrl C, ctrl d, ctrl x, restarting terminal, restarting my computer
When I first installed it, it worked in the terminal window I had open, but after that all new terminal windows were stuck.
This is what I have in settings - I've tried switching between default login shell and command (complete path) for "Shells open with"
this is what I see when I open terminal:
Last login: Mon Aug 12 10:08:24 on ttys001
nodenv: node: command not found
The `node' command exists in these Node versions:
9.11.1
12.3.1
Could not get shim path from yvm
[Process completed]
I also installed yvm and Oh My Zsh at the same time with:
brew install tophat/bar/yvm
and
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
It's also possible that I forgot to run the command to configure yvm but I no longer have the history after restarting everything 😞
Unfortunately, I can't type anything in terminal to debug
I was able to get terminal working again by opening my .zshrc in VSCode and deleting everything related to nodenv and yvm
Similar to another answer here, but since this is a new profile I can't add a comment.
I went into .zshrc, commented out the lines the had to do with yvm. After, rebooted my terminal and ran brew update. Then, I re installed yvm, and uncommented out the yvm lines in the .zshrc, rebooted the terminal, and everything worked as normal again.
I'm working on a corporate network (windows pc) with little access to tools like tmux, cmder etc.. however after recent update to git bash, we have access to Vim v8.1 which has a terminal built in.
I can load up vim and the type :term to load up a terminal... it works for standard terminal operations such as ls or git push etc.. but when you run node it seems to crash. And it doesn't render the node repl prompt.
Anyone know how I can get this working? (As predicted it works on the mac)... this is really useful to test out an algorithm quickly without leaving vim.
I also tried just typing !node to execute outside of vim and this has the same effect.
Any clues would be much appreciated.
Many thanks
Kevin
I figured it out...
You just type node -i for interactive (This isn't needed on the vim 8.1 on the mac)
I'm trying to use tmux on a Windows Computer. I successfully installed tmux using
apt-cyg install tmux
I can confirm successful installation because I get the following:
$ tmux -V
tmux 2.3
However, when I try to type "tmux" in the console, I get the following error:
open terminal failed: not a terminal
Any thoughts?
It sounds like the terminal you're using doesn't support full tty emulation. Clients like mintty (comes with Cygwin---or should, anyway), putty, rxvt for Windows, &c. will handle that. CMD, ConEmu, and Cmder won't.
There's not much to be done here without a huge ordeal (See second comment: https://news.ycombinator.com/item?id=8577817). Unsatisfying though it may be, the best answer is to make sure you're running mintty. CYGWIN.bat should run it out of the box, so if that's not working, try running it directly from Explorer instead of from CMD. Otherwise, you might need to poke around in the batch file and make sure C:\Cygwin64\bin\mintty (or what have you) is being called.
I got this in my vimrc:
:so menu_format.vim
and in menu_format.vim, this:
"... other menu items that work
menu Format.nbsp_space <ESC>:%s# # #gec<CR> //(the 1st blank is 0xa0, the 2nd is 0x20)
"... other menu items that work
On Windows it works (been using it for a while), but on Linux Mint 17 vim gives:
E319: Sorry, the command is not available in this version.
I tried %s# # #gec on command line, it worked, too!
I knew how to fix this: %s#[\xa0]# #gec would do. I just wanted to know why there is such a difference, and it made me doubt the portability of my vim scripts.
BTW, I built vim (7.4.560) on both Linux and Windows with the same configuration, both use the same menu_format.vim.
It looks like you only have the minimal version of Vim named vim-tiny; it only provides a minimal vi-compatible implementation. The E319 implies that the :menu command is not available, the :substitute does look fine and should work.
To get the full Vim (and graphical GVIM), install the following package:
$ sudo apt-get install vim-gnome
Ubuntu server (as all linuxes) has the ability to multitask using ctrl-F1 up to ctrl-F7. Each of these key combos puts you in another terminal. While in the main terminal (ctrl-F1) I installed nvm (node version manager) and also node.js. These work fine in the ctrl-F1 terminal. But when I go to another terminal, ubuntu thinks they are not installed. ECHO $PATH gives the same result in all virtual terminals. Default programs like nano, vim, etc can be started in all the different terminals. How can I 'fix' this issue so that I can run learnyounode in one terminal, nano in another terminal, and node in another terminal?
If you have shells running on those terminals which were initiated before you ran the installer, they will not have received the updated configuration. Log out and then back in, or figure out which configuration file(s) to source anew. Probably
. ~/.bashrc
but there could be pertinent changes in .bash_profile and/or .profile as well (and system config files, if you did a system-wide install).