Running copilot-mode with ein on doom emacs - emacs

I am trying to run Github Copilot (copilot-mode) (link) on ein with doom emacs, but it doesn't work for me. I don't get an error and the copilot-mode is looking to be active, but doesn't give any suggestions/completions.
On other buffers, copilot-mode works for me. I am unable to understand why this is happening. Any suggestions on how I should approach this?

Related

I am trying to use :g in Vim doesn't work "Command :g[lobal] is not yet implemented" i get in the status line

I wanted to try vim for a bit, and get used to it... i got stuck with trying to replicate Ctrl+D functionality of VScode... so I've tried couple Google solutions.
This is What I've tried when I got that error:
:g/oldword/norm newword
I see lots of people do search patterns like this, but it's annoying I get this message, without being able to find solution on google :D
I know I can solve this issue with /word then cgn newword and then just repeat with . operator, BUT, I want to be able to use the global command for searching patterns and stuff, for other purposes too, and it stresses me out that I can't make it work!
Here is the error I am getting.
Any help is extremely appreciated / welcome! Thanks.
Edit: Forgot to mention: We are talking about Vim for VScode, not the gvim installation stuff. Will try to install that too, and update the question.
Edit2: Okay so apparently, after instalilng gvim (from official site) and ran it through vim command in cmd prompt, the official vim can run the :g commands.
Like (for example) if you want to search for <a> and replace it with <router-link> you can do so by: :g/<a>/norm ciw<router-link>
Which means:
:g/<a>/norm run a global (file) search for pattern <a>
ciw - change in word
<router-link> the replacement pattern for <a>
Note: The same should be done for </a> after that :D
The problem still exists tho.
While the native vim exe (outside of vscode) works and can run these stuffs, I still need to fix the vscode one (the extension that is). It is defo nice to have syntax highlighting and correction.
What you are using is not Vim. It is a Vim emulator which, like all Vim emulators, can't be expected to be either complete or accurate. Its only relationship with Vim is that it tries and fails to imitate it.
Some of the Vim stuff you will find on the internet will work in that VSCode extension exactly as it does in Vim, some of it will work but partially or differently, and most of it, like :g, will simply not work.
There is nothing you can do about that except, maybe, contributing to the project.
If you want support for the global command in VSCode, install Neovim and the VSCode extension for it:
for those who expected this to work but it doesn't, it's possibly because you need to have installed neovim (firstly) and then vscode-neovim extension (secondly) https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim
Source: https://github.com/VSCodeVim/Vim/issues/2346
The easiest way to get this working is to enable neovim in the VS Code Vim extension you're using.
Once you have installed Neovim on your operating system, you can enable it within VSCode inside the Preferences: User Settings window:
Enable the Vim: Enable Neovim option (vim.enableNeovim)
Set the path to Neovim inside the Vim: Neovim Path setting (vim.neovimPath)
Restart VSCode
Source: https://www.barbarianmeetscoding.com/boost-your-coding-fu-with-vscode-and-vim/integrating-vscode-with-neovim/#enabling-neovim-inside-vscode

My plantuml-mode in emacs is not working correctly

I have tried to install and use plantuml-mode in emacs, with no success.
My emacs version: 25.2.2
Operating system: Ubuntu 18.04 x86_64
I have followed the official instructions on
https://github.com/skuro/plantuml-mode
When I load a file it says
"Contacting host: www.plantuml.com:443".
After a few seconds I get the error message
"plantuml-init: Wrong type argument: stringp, nil"
I've looked at
Can't turn on plantuml-mode in Emacs
It didn't help. In a previous attempt I found some other similar help pages, on github and stackoverflow, but I can't find them right now. One was to fix a broken url, and the other was to provide the correct path to the jar file. I fixed both, but none of them fixed my problem.
The above mentioned problem reports are related to the mode's attempts to contact a web server, or to run plantuml. I am not interested in any of them, I prefer to run plantuml myself from the command line. All I want from the mode is syntax highlighing and indentation. It is possible to turn off the other features, to get rid of the errors? Or is there another, simpler mode out there, that doesn't try to contact the web or run executables?
Best regards
The plantuml-mode sends your data to be evaluated at www.plantuml.com by default.
To run it locally, you need to set both the plantuml jar path and the execution mode as described in https://github.com/skuro/plantuml-mode#quick-guide:
(setq plantuml-jar-path "/path/to/your/copy/of/plantuml.jar")
(setq plantuml-default-exec-mode 'jar)

Install Flycheck on emacs

this is my first post here I need your help to use flycheck
I use last version of fedora
I didnt find this file
$HOME/.emacs.d/init.el.
so I modified this
/usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el
then I enter to Emacs and press
ESC
:
M-x (alt-x as I believe)
(the problem comes heres)
doesnt show package-install or list-packages commands
as is shown here
http://www.flycheck.org/en/latest/user/installation.html
I dont know if its right or not what Im doing. Im almost 2 hours trying to install this checker, hope you help me

Emacs-like kill ring in visual studio code

I'm struggling to have in vs code the same behaviour of emacs. There are several extensions available notably emacs-keymap-improved, but I can't make ctrl-y work (the yank, i.e.: paste from the kill ring).
How can I debug what is going on? there are other packages that provide emacs-like keybindings and I failed with all of them as far as ctrl-y is concerned.
I also deleted my ~/.vscode directory as a way to disable all extensions and try just that one.
You might want to take another look at emacs-keymap-improved. Ctrl+y works as expected for me with VS Code 1.23.1 for Mac. If you're still having problems, note that the author recently enabled the issue tracker on the Github repo.

Best Scheme implementation for Emacs and The Little Schemer?

I've tried Geiser and I keep getting this error message:
Unable to start REPL:
Searching for program: permission denied, guile.exe
I'm on Windows 7 by the way. Also, here's my Geiser path in my .emacs:
(load-file "~/.emacs.d/elpa/geiser-20140326.951/geiser.el")
I'm not sure how to fix this since Google isn't returning anything useful and I'm not overly familiar with Emacs or Geiser. I'd really appreciate some help with this or a better/easier Scheme implementation so I can finally start TLS.
Geiser does not provide Scheme. You need to install them for it to use. It requires Racket 5.3.4 or better, or guille 2.0.9 or better, as seen on this page:
http://www.nongnu.org/geiser/geiser_2.html#Installation
This is a link for Racket:
http://racket-lang.org/download/
Sorry can't help you any more, but I don't have windows. I use geiser with guile under linux.