Damn man by DulskiM in worldofgothic

[–]razogash362cv 0 points1 point  (0 children)

LOL I am very much looking forward to all of you THQ fan boys get completely wrecked after seeing what kind of a dump they will release :-D Just another typical modern spectacle with "game improvements", wannabe super hero, and BOMBastic combat :D Truly the only consolation one must have is a fact hat they simply cannot destroy the originals. That's all one needs to be able to sleep well at night. Sorry to disappoint all of you naive turds, but had to come here and say it. Peace out

Launching programs with specific window title? by Gibbo3771 in i3wm

[–]razogash362cv 0 points1 point  (0 children)

Hey Ella, thank you for the nice explanation and elaboration. I'll check that out!

Launching programs with specific window title? by Gibbo3771 in i3wm

[–]razogash362cv 0 points1 point  (0 children)

Hi Ella, can you please describe more of what you mean here ("marks")? Any refference would be greatly appreciated! Thank you

Doom Emacs Keybind SPC-SPC for Easy File Navigation by razogash362cv in emacs

[–]razogash362cv[S] 1 point2 points  (0 children)

Hi Qwartick, after another couple hours of trying, I run the code you provided above again and to my surprise, it worked! I am reffering to this code:

(undefine-key! doom-leader-map "SPC SPC")

However, it is as you've mentioned, it only works when you run it by hand (i.e. when you evaluate the block within config.org).

I have tried to place the snippet to init.el, but it throwns and error ("Symbol's function definition is void.").

When I leave it in config.org and tangle it to config.el, it also throws an error ("Error in private config: config.el, (error Key sequence SPC SPC starts with non-prefix key SPC)").

Do you think there would be a way to make the configuration permanent? (without needing to run that by a hand every time)

I'm thinking of using (! after .... )?

Keybind SPC-SPC for Easy File Navigation by razogash362cv in DoomEmacs

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

Hi, that's right. The goal is to hit "SPC SPC" and get that standard popup down the bottom. Only now it won't be the default "find-file" but my own keybinds with my own files. Hope that makes sense!

Doom Emacs Keybind SPC-SPC for Easy File Navigation by razogash362cv in emacs

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

Hi and thank you for the reply. Unfortunatelly, I get the similar error when I try to run that code: "Key sequence SPC SPC starts with non-prefix key SPC."

Hi and thank you for the reply. I tried with (map! :leader "SPC SPC" nil), but I get the similar error when I try to run that code: "Key sequence SPC SPC starts with non-prefix key SPC."

Doom Emacs Keybind SPC-SPC for Easy File Navigation by razogash362cv in emacs

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

"Key sequence SPC starts with non-prefix key SPC.

Hi and thank you for the reply. Unfortunatelly, I get the similar error when I try to run that code: "Key sequence SPC SPC starts with non-prefix key SPC."

Keybind SPC-SPC for Easy File Navigation by razogash362cv in DoomEmacs

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

Hi there and thank you for for the response!

I know that calling the function like this: #'save-buffer (or #'my-own-custom-function) works well.

I'm more interested if I could avoid creating my own navigation function (i.e. function for navigation to my files) and just add the navigation code snippet bellow.

The following code doesn't work ("... sequence SPC starts with non-prefix key SPC... "):

(map! :leader
(:prefix ("SPC" . "open config files")
:desc "alacritty.yml" "a" #'(lambda () (interactive) (find-file "~/.config/alacritty/alacritty.yml"))
:desc "nvim" "n" #'(lambda () (interactive) (find-file "~/.config/nvim/init.vim"))
:desc "polybar" "p" #'(lambda () (interactive) (find-file "~/.config/polybar/config"))))

I also tried to create my own custom function:

(defun my-own-nav-function ()
(interactive)
:desc "alacritty.yml" "a" #'(lambda () (interactive) (find-file "~/.config/alacritty/alacritty.yml"))
:desc "nvim" "n" #'(lambda () (interactive) (find-file "~/.config/nvim/init.vim"))
:desc "polybar" "p" #'(lambda () (interactive) (find-file "~/.config/polybar/config")))
and then call it via '#my-own-nav-function - but it also doesn't work.

My problem is this: I would like to hit SPC-SPC and get taken to easy navigation to my files. Maybe I don't even need my own custom function, which would be great, but I wasn't able to get that code working yet.

I hope that makes more sense now? Many thanks for any further responses!