spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
Mario C. 2020-04-07T18:22:38.147100Z

Perhaps someone can clarify my (mis)understanding of navigation. I have relative line numbers enabled via SPC t r . I am on line 459 and the point at which I want to jump to is on line 553. When I am on line 459 I can see that the relative line number is 94 but when I execute 9 4 j it goes to another line, line 682

Mario C. 2020-04-07T18:23:28.147700Z

This happens when the file has functions which are collapsed

Mario C. 2020-04-07T18:24:21.148400Z

How do you guys normally navigate within a file? I tend to use spc j w a lot.

practicalli-john 2020-04-07T20:50:21.150Z

@mario.cordova.862 Use visual rather than relative line numbers if working with collapsed code. From the documention in .spacemacs: "If set to `visual', line numbers are also relative, but lines are only visual lines are counted. For example, folded lines will not be counted and wrapped lines are counted as multiple lines". I use the following configuration in .spacemacs

dotspacemacs-line-numbers '(:visual t
                               :disabled-for-modes dired-mode
                                                   doc-view-mode
                                                   pdf-view-mode
                               :size-limit-kb 1000)

OrdoFlammae 2020-04-07T22:13:39.150600Z

How do I get projectile to refresh its list of projects? The directories for projects are already defined.

zane 2020-04-07T22:17:35.150700Z

I use projectile-add-known-project for this.

OrdoFlammae 2020-04-07T22:18:58.151Z

I already have the project roots defined, but I added a project to one of the roots, and I want Spacemacs to find it.

OrdoFlammae 2020-04-07T22:19:07.151200Z

Without restarting Spacemacs.

Mario C. 2020-04-07T22:54:51.151900Z

@jr0cket Thank you! That worked like a charm

practicalli-john 2020-04-07T23:12:52.153700Z

I do like a good code fold, especially when I discovered the z a keybingings for toggling of the code fold in Evil normal state.