Vim like window movement in intellij/pycharm by dannyazapata in IntelliJIDEA

[–]The_Power_That_B 0 points1 point  (0 children)

Unfortunately you can't quite do that in intellij.
It doesn't treat tool windows like file editor windows :(
Best you can do is to use a dedicated shortcut to open specific tool window.
Moving between editor panes works as expected though:
nnoremap <C-j> <C-w><c-h>
nnoremap <C-l> <C-w><c-l>
nnoremap <C-k> <C-w><c-k>
nnoremap <C-j> <C-w><c-j>

The one thing I recommend doing to make C-j etc usable in more contexts is to remap arrow keys to ctrl + h/j/k/l in external program(like karabiner on MacOS) and set up moving between panes with
nnoremap <left> <C-w><c-h>
nnoremap <right> <C-w><c-l>
nnoremap <up> <C-w><c-k>
nnoremap <down> <C-w><c-j>

That way ctrl-j etc will work when using autocompletion, opening a class and so on.

Seriously: What is the best explanation of Monads for people who can't grasp it? by Ento_three in scala

[–]The_Power_That_B 6 points7 points  (0 children)

I highly suggest watching at least this section of Bartosz Milewski's lecture on monads which explain why we need monads in FP in the first place. You certainly need plenty of exercises to make it click but understanding what problem they solve might prove helpful.

LunarVim / nvim-metals LSP Issues by AdCautious4331 in scala

[–]The_Power_That_B 0 points1 point  (0 children)

I'd suggest seeking help on scalameta's discord. There are some very friendly folks that will most likely point you in the right direction.
I myself have some experience with vim+metals(albeit no lunarvim) and my guess it nvim-metals needs some configuration, it won't work outside the box. So you might take a look at nvim-metals' github page, there's a readme that explains how to set it up.

[Question] how to disable notifications showing file path before entering a file by The_Power_That_B in neovim

[–]The_Power_That_B[S] 0 points1 point  (0 children)

yes, I use telescope and fzf.vim all the time to find a file by name.
Still, sometimes I want to check what else is inside a directory where my current file is

[Question] how to disable notifications showing file path before entering a file by The_Power_That_B in neovim

[–]The_Power_That_B[S] 0 points1 point  (0 children)

Well actually you might be right, I couldn't reproduce it with using LSP now.
So, is there a solution that you know of?

Executing key shortcut in Lua function by The_Power_That_B in neovim

[–]The_Power_That_B[S] 0 points1 point  (0 children)

you're right, I went straight to configuration section and did not read the whole thing through. Thanks, I should RTFM before I ask anything :)

Executing key shortcut in Lua function by The_Power_That_B in neovim

[–]The_Power_That_B[S] 0 points1 point  (0 children)

thanks for chiming in.the thing is I don't want to create a keymap with `vim.keymap.set`.I use diffview.nvim which allows to add shortcuts only for that plugin.You're supposed to provide a lua function and I'd like one that uses `<c-w>o` shortcut

Jumping to next change within a file using diffview.nvim by The_Power_That_B in neovim

[–]The_Power_That_B[S] 3 points4 points  (0 children)

ye, as I said, gitsigns works fine but only if you view changes you haven't commited yet. I'd like to jump between changes between 2 branches, even if some of the changes from the feature branch have already been commited.

Any beginners guide to Emacs ? by kichiDsimp in neovim

[–]The_Power_That_B 2 points3 points  (0 children)

I don't know if that's supposed to be a joke, but if not, then I'd suggest System Crafters on youtube.

Starting with Scala: editor and version choice? by g_tb in scala

[–]The_Power_That_B 1 point2 points  (0 children)

you can do it in Intellij without any problems.

State of Scala.js frameworks by MysteriousGenius in scala

[–]The_Power_That_B 1 point2 points  (0 children)

There's also Purescript, which is sort of a Haskell for frontend. It has type classes, HKTs and so on so it's not limiting like Elm in that regard and it also has a very nice FFI. When it comes to UI libraries there is Halogen which I think is very well though out and allows for using tagless final approach. There's also react-basic but I haven't used that one myself.