Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
puzl
@puzl
emacs regex
Evan Widloski
@Evidlo
Is there an easy way to switch to vim/perl regex?
puzl
@puzl
nope, but the differences are minor
Evan Widloski
@Evidlo
thanks
NJBS
@NJBS
@Evidlo Look under SPC R for perl regex.
puzl
@puzl
TIL
NJBS
@NJBS
@Evidlo @puzl I was going to link to the docs for it but it doesn't even look like we have any :smile: . Here are the package docs instead.
puzl
@puzl
that's a very nice package, thanks @NJBS
Mandar Vaze
@mandarvaze
Is there an easy way to rename a variable across the project ?
I am currently using helm-ag-project-root but the problem is after I am done renaming in a single file, the "search results" (from the mini buffer) are lost. I have to search again using helm-ag-project-root.
If the variable occurs across multiple files, this becomes cumbersome.
NJBS
@NJBS
@mandarvaze Try SPC p R
You can resume your last helm-ag session with SPC r s by the way.
puzl
@puzl
I bind helm-resume to f12, and use it a lot
it works for all helm based work flows really well
Mandar Vaze
@mandarvaze
@NJBS Awesome !!! I didn't know it was that easy. (Used SPC p R)
puzl
@puzl
have you tried projectile-replace-regexp ?
Fabien Dubosson
@StreakyCobra
SPC s l works too :joy:
(instead of SPC r s) <- i.e. I didn't knew this function was bound to 2 keybindings, I always used search last, not resume search :P
Mandar Vaze
@mandarvaze
@puzl @NJBS suggested projectile-replace (SPC p R) which works for me. But good to know about projectile-replace-regexp, might come in handy
@NJBS SPC r s isn't mapped for me :worried:
NJBS
@NJBS
SPC r is a develop thing :smile: . Maybe try SPC h l on master for helm-resume.
(at least I think that's the binding on master :smile: )
@StreakyCobra Too many bindings to keep track of :joy:
puzl
@puzl
and you can't even disable all the crap you don't use /s
Fabien Dubosson
@StreakyCobra
@mandarvaze For completeness, you can also do this: SPC / to search the expression you want, then C-c C-e in the helm result buffer, this will open a new buffer with all the results that you can edit directly, and C-c C-c will propagate all changes to the files. You can use iedit there to edit quickly all occurences.
But this is the nuclear weapon of multi-editing :point_up: :bomb:
@NJBS I also remember SPC h l as previous binding. I don't know what's on master now though.
Amos Bird
@amosbird
Hi. Can I make helm-map override all other helm related keymaps like helm-projectile-find-file-map, helm-buffer-map etc...
puzl
@puzl
just updated spacemacs(develop) and packages. now getting Error (use-package): flycheck :init: Symbol's function definition is void: cl-struct-define
going to delete elpa cache and relaunch
FrozenInc
@FrozenInc
does somebody know how to change the selected color in the buffer-helm mini from green to something else? using seti and i dislike that color but couldnt find how to change it
Untitled23.png
talking about this one^
Mandar Vaze
@mandarvaze
Is there a way to "bookmark" specific chat on gitter ? I want to be able to bookmark (and share perma-link) the details @StreakyCobra shared related to "nuclear weapon of multi-editing" :smile:
(For now, I merely copy/pasted it locally so that I won't forget)
Fabien Dubosson
@StreakyCobra
Alt + click on the post time
There are more than 1200 SPC … bindings in Spacemacs:
$ egrep -oh --exclude=CHANGELOG.org '~SPC [^~]+~' layers/**/*.org doc/DOCUMENTATION.org | sort | uniq | wc -l
1233
puzl
@puzl
so no spacemacs cheat sheet then?
Mandar Vaze
@mandarvaze
@StreakyCobra Cool.
and it is "publicly accessible" too.
i.e. someone who has not subscribed to this gitter room can also "see" it.
Fabien Dubosson
@StreakyCobra
And this method of computing is pretty conservative, just having the documented one in org files with no doubles.
Roy Chen
@roycyt
Hi, I tried global-set-key to bind M-. to helm-gtags-dwim, but it seems evil-repeat-pop-next always remaps it. Any suggestion?
Roy Chen
@roycyt
I found the solution: (define-key evil-normal-state-map (kbd "M-.") 'helm-gtags-dwim)
StreakyCobra @StreakyCobra Quote of the day: «Software and cathedrals are much the same — first we build them, then we pray.» (Sam Redwine) :joy:
jtbm37
@jtbm37
how do you guys open a url link at point ? I use gf <Enter> but it is not like gx in vim. Any suggestion ?
NJBS
@NJBS
@jtbm37 I use SPC x o
dubnde
@dubnde
I am getting and error *ERROR*: Invalid face: linum when I try to open using emacsclient for running daemon. What am I missing? This only happens after I quit using SPC q z. I can use emacsclient as long as do no close the GUI
jtbm37
@jtbm37
@NJBS that's the same as SPC j u but it does not really open straight away the link at point
Igor Almeida
@igoralmeida
Guys, I'm calling evil-define-key inside dotspacemacs/user-config and giving it my own function (which is defun'd just before that call)
how should I do the action inside my function? i tried (call-interactively evil-window-top) for example but that doesn't seem to work