Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Vim (or NeoVim) #7

Open
1 of 2 tasks
webknjaz opened this issue Jun 10, 2019 · 11 comments
Open
1 of 2 tasks

Install Vim (or NeoVim) #7

webknjaz opened this issue Jun 10, 2019 · 11 comments
Assignees

Comments

@webknjaz
Copy link
Member

webknjaz commented Jun 10, 2019

  • Install NeoVim
  • Go through vimtutor

Motivation:

  1. It's useful to know different editor interfaces available in the wild
  2. It's usually the only sane editor available on the remote hosts without any GUI
  3. It's often a default for interacting with Git (writing commits, doing interactive rebases and so on)
@pythonmag
Copy link
Contributor

$ sudo add-apt-repository ppa:neovim-ppa/stable
$ sudo apt-get update
$ sudo apt-get install neovim
$ nvim

@pythonmag
Copy link
Contributor

@webknjaz
Copy link
Member Author

vimtutor command should pick up the current language env var.
Maybe try running LC_ALL=uk_UA.UTF-8 LANG=uk_UA.UTF-8 vimtutor.

Also, I strongly recommend getting used to Engish texts. When you'll need to google some errors, it'll have mostly misleading results for translated strings.

@pythonmag
Copy link
Contributor

$ vimtutor

Error detected while processing command line:
E484: Can't open file /usr/share/nvim/runtime/tutor/tutor.vim

I will try to deal with the error

@pythonmag
Copy link
Contributor

pythonmag commented Jun 10, 2019

I found a tutor on the following path

/usr/share/nvim/runtime/tutor/en/vim-01-beginner.tutor

maybe something went wrong during installation

@webknjaz
Copy link
Member Author

Oh, maybe your current locale points to some untranslated version...

Try LANG=en_US.UTF-8 vimtutor maybe

@webknjaz
Copy link
Member Author

You probably installed a package without any translations.

@webknjaz
Copy link
Member Author

Alright, it seems to be this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924389.
You probably need to also install Vim, just in case.

@webknjaz
Copy link
Member Author

webknjaz commented Jun 12, 2019

Oh, you can run nvim, then type :Tutor and hit <Enter> (Or just nvim +:Tutor)

@webknjaz
Copy link
Member Author

Or just copy that tutorial file to some temporary location and open it with nvim.

@webknjaz
Copy link
Member Author

Look what I've found: https://www.openvim.com/
you can go through that too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants