Fork me on GitHub
#emacs
<
2017-03-29
>
qqq03:03:09

when in evil normla mode, C-x C-e wants to eval the expr that ends BEFORE my cursor I want it to end on the expr that ends ON my cursor this matters when ) is the last char in a line, and the cursor is on the )

qqq06:03:48

does emacs have anything builtin, similar to C=h f, that lets me search through oracle's java docs ?

andrea.crotti07:03:49

@verma helm projectile is really good also for searching in repos

bja13:03:15

@andrea.crotti I've been mostly happy with loading all clojure files via a pattern with helm and then using helm-imenu

bja13:03:14

in spacemacs I do something like SPC p f, select a project, put in a regex to match the files that I'm on (I know I could automate this), M-a, and then use SPC j i to jump intra-buffer and SPC j I to jump across the project using a nice autocompleting helm buffer

bja13:03:16

helm-projectile-find-file and helm-imenu-in-all-buffers

andrea.crotti14:03:46

well luckily in Emacs world there are many ways to do the same thing 😄

andrea.crotti14:03:53

you can pick and choose the one you like more

verma15:03:52

@andrea.crotti thanks for the suggestion, I do use helm-projectile .. after playing around with it a bit it seems helm-projectile-grep fits the bill 🙂 .. might try the -ag variant as well because the grep one is being a little laggy 😕

cmack15:03:51

I really like helm-ag but I’ve modified it even further to use rg (ripgrep), but more for curiosity rather than actually needing more speed

pesterhazy15:03:14

helm-ag can use rg without problems (in spacemacs it does so automatically)

pesterhazy15:03:28

it's my most-used tool, by far

verma15:03:25

nice, going to give it a try :thumbsup:

pesterhazy15:03:22

I do have (helm-ag-base-command "rg --vimgrep --no-heading --smart-case") in custom-set-variables, not sure if it's necessary

pesterhazy15:03:52

also

(evil-leader/set-key "/" 'spacemacs/helm-project-do-ag)
  (evil-leader/set-key "*" 'spacemacs/helm-project-do-ag-region-or-symbol)

pesterhazy15:03:21

to force-bind SPC /