Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:25
    eskildsvennungsen starred syl20bnr/spacemacs
  • 13:35
    github-actions[bot] labeled #15304
  • 13:35
    github-actions[bot] commented #15304
  • 11:09
    oldnordic starred syl20bnr/spacemacs
  • 07:14
    Yatogaii starred syl20bnr/spacemacs
  • Feb 02 22:18
    s-v-o starred syl20bnr/spacemacs
  • Feb 02 21:15
    gsspdev starred syl20bnr/spacemacs
  • Feb 02 19:09
    DrWaleedAYousef commented #15800
  • Feb 02 19:09
    DrWaleedAYousef commented #15797
  • Feb 02 07:05
    tsdye commented #15907
  • Feb 02 02:38
    ZhiRongDev starred syl20bnr/spacemacs
  • Feb 02 00:22
    github-actions[bot] labeled #15302
  • Feb 02 00:22
    github-actions[bot] commented #15302
  • Feb 01 11:53
    mascarene starred syl20bnr/spacemacs
  • Feb 01 11:14
    yantar92 commented #15907
  • Feb 01 10:58
    lebensterben commented #15907
  • Feb 01 10:24
    yantar92 commented #15907
  • Feb 01 10:23
    yantar92 commented #15907
  • Feb 01 10:19
    lebensterben commented #15907
  • Feb 01 08:58
    yantar92 commented #15907
Daniel Nicolai
@dalanicolai
My last line looks like this: (helm-find-files-1 input (concat "^" (file-name-nondirectory buffer-file-name)))))

(depending on what you want to use it for. There are better 'specialized' editors, but there is no better 'general' editor, and for sure not as elegant and fun...)

For example, try to do what you are asking now in any other editor... I think, genrally, it will by far not be this easy

But then I really recommend you to read some chapters of https://www.gnu.org/software/emacs/manual/eintr.html

Yes, i will read it! Thanks! I am stuck at a basic emacs level because i dont know elisp. Its been on my todo list for too long now

Just a few chapters will get you a long way (like 1 or two hours read, until you get the feeling that you understand the basics)

Maybe it takes less time (or more)... I don't remember
Momo10101
@Momo10101

My last line looks like this: (helm-find-files-1 input (concat "^" (file-name-nondirectory buffer-file-name)))))

Nice, its working now. Thanks a lot! That should be the standard behavior imho : )

Daniel Nicolai
@dalanicolai
Well... in Spacemacs everybody can have his own opinion
:thumbsup:
Momo10101
@Momo10101

Maybe it takes less time (or more)... I don't remember

Ok cool, i already have programming experience so hopefully it will be an easy read

Daniel Nicolai
@dalanicolai
Lisp is only a little strange, but not much more difficult than e.g. python
Momo10101
@Momo10101
One last thing that annoys me about spacemacs, the undo is not like vanilla emacs. In emacs there are infinite undos. Is there a way to get that in spacemacs?
Daniel Nicolai
@dalanicolai
Well in Spacemacs undo's are also infinite
But you can choose amongst different undo systems
However, I have never read about it
You can probably find explanations easily on the web
(But probably mostly about vim/evil style editing)
Momo10101
@Momo10101
Really? It doesnt behave the same as in emacs. In spacemacs sometimes i cant get back to a certain point by undoing. For example if i write something, undo, write something, then undo can go back to the initial state
Ok, i will have a look online for the different undo behaviors
Daniel Nicolai
@dalanicolai
Well it is Emacs so it can behave like Emacs... but I don't know how it is configured in Spacemacs
Momo10101
@Momo10101
ok
Daniel Nicolai
@dalanicolai
Yeah... good luck. Enjoy!
Momo10101
@Momo10101
I meant to say vanilla emacs
Daniel Nicolai
@dalanicolai
Yes me too
:)
Momo10101
@Momo10101

Yeah... good luck. Enjoy!

Thanks for all the help! I appreciate it

Santiago Sanchez
@Guisanpea
When I search I want to quit highlighting with just escape. I know I can do SPC s c but I find it quite annoying to do all the time. Is it possible to just do it with ESC?
Daniel Nicolai
@dalanicolai
@Guisanpea You can advice the function bound to ESC
(advice-add 'evil-force-normal-state :after 'spacemacs/evil-search-clear-highlight)
I think it does no harm to run spacemacs/evil-search-clear-highlight every time
Otherwise you could create a conditional using evil-ex-active-highlights-alist
You can read about advising function here
Chris Meadows
@meadoch1
I started having issues where text in a buffer will begin shifting to the right for every key press that occurs while that buffer is active. I updated to the latest origin/develop this morning and rebuilt all ELPA libs then this behavior began. It doesn't seem to actually be writing spaces to the buffer, merely shifting the visual presentation one space to the right. Does anyone know what might be going on and how to fix it?
Chris Meadows
@meadoch1
I found the cause and a solution. In case someone else has this issue, commit 151ca61 switched the default version-control lib to git-gutter. There's an issue listed for it that causes this problem (emacsorphanage/git-gutter#160). The suggested solution of setting the diff tool to 'diff-hl' worked for me. Add the following snippet to your dotspacemacs-configuration-layers section.
     (version-control :variables
                      version-control-diff-tool 'diff-hl)
Daniel Nicolai
@dalanicolai
@meadoch1 :thumbsup:
Abhijeet
@abhijeetsrivastava
Hi All, can someone tell me how to press s-e ? I don't know which key is it bound to. There is a isearch-yank-kill which says It is bound to s-e.
3 replies
Robby O'Connor
@robby:oconnor.ninja
[m]
@abhijeetsrivastava: s = super, S = shift, M = right alt, and C = control
Abhijeet
@abhijeetsrivastava
thanks!
David Olafsson
@Rafgass
when i select text in emacs "ggVG" for example on linux(if that matters), is that selection automatically put in my systems clipboard?
2 replies
Erich L Foster
@erichlf

I have been having the hardest time setting my directory-abbrev-alist in a .dir-locals.el. I have gotten things to work and then for some reason things decide to stop working later. Currently I have

((nil .
     (
         (projectile-project-compilation-cmd . "dm build ./waf --run-cache-cleanup install")
         (projectile-project-configure-cmd . "dm build ./waf configure")
         (projectile-project-test-cmd . "dm platinum python -u ./util/platinum/PlatinumTestVsm.py --tests ")
         (directory-abbrev-alist . (("^/checkout/src" . "~/workspace/Seegrid/blue")))
         )))

The error says unbalanced parentheses this appears to be due to the directory-abbrev-alist line, cause if I remove that everything is fine.

Seems like it was the ~? I didn't get the same error... I am trying to see if things are working now.
Weird cause I never changed anything and it decides to not work.
synic
@synic
Hi, how do I get lsp mode for python to use my flake8 config? Things I've got set in ignore are still showing up as errors
1 reply
Luyang Liu
@luyangliuable
image.png
Does anyone know how to specify classpath inside lsp mode
4 replies
Ivan Yonchovski
@yyoncho
@luyangliuable using maven is the way to go
1 reply
the alternative is to use .project/.classpath files
(the eclipse format)
JDTLS has some standalone file support but I havent investigated what is missing on lsp-java side
Anatolij
@anatolij-p
any help on how to setup nano-modeline and nano-theme
https://github.com/rougier/nano-modeline
https://github.com/rougier/nano-theme
Ag Ibragimov
@agzam
are transient state broken for anyone else, or it's just me?