Commit Graph

319 Commits

Author SHA1 Message Date
AChavali
255c7597e9 ~lsp-mode -> lsp-ui
lsp-mode already has a hook for lsp-ui. So I'll just add a hook to
lsp-ui for lsp-ui-doc.
2020-02-09 20:45:11 +00:00
AChavali
ccce91eccc ~order of dashboard functions, -open books
Time for load will be presented before menu.

Removed open books because it's useless when I can just use the keybind.
2020-02-09 19:53:14 +00:00
AChavali
a1c80b3199 +haskell configuration code
For dante, setup the repl-command-line
2020-02-09 18:52:02 +00:00
AChavali
08cc5bd148 ~removed goto functions and using lambdas now
Goto functions just open dired instances for a specific folder, which a
lambda can do better. Instead of having to load the new file just to use
the function, just make the bindings directly via dired.
2020-02-09 18:52:00 +00:00
AChavali
eb203c229c ~using dante for haskell now
Omg haskell is so fidgety on Emacs. Or maybe doom is badly configured?
Anyway, using dante I can setup a comfy way to edit stuff in org mode
and directly in an hs file.
2020-02-09 18:27:39 +00:00
AChavali
2728101a75 ~gentemplate
Moved around a few sections for a more flowing summary.

Changed generate-template to only download a template if it hasn't
already been copied
2020-02-09 18:27:10 +00:00
AChavali
3d61d02ea0 -oreomode
Oreomode is literally useless and cringy. Honestly if I need to setup a
debug system (which I don't, most of the time) then I'll do it myself.
2020-02-09 12:51:17 +00:00
AChavali
7e887d8af9 ~repositioning of documentation around code blocks
Similar to my previous refactoring, I am just repositioning some
documentation around the code blocks to be at the start rather than the
end. This is for the literate system particularly
2020-02-09 12:37:06 +00:00
AChavali
cf651fe375 ~formatting, docstrings for functions in literate
Just better formatting and some nice docstrings for easier use in my
literate module.
2020-02-09 12:36:36 +00:00
AChavali
d7aee574f4 ~Variables -> Variables and Bootstrapping other modules
More descriptive heading
2020-02-09 12:35:32 +00:00
AChavali
55dfa4f0d9 ~flyspell is in a map! call
Instead of using "use-package!" which will handle loading stuff,
flyspell is already in the hook for org mode. Therefore, inherently,
org-mode and flyspell will be loaded automatically in tandem. So I just
made a map! call that will run after flyspell and org have been loaded,
then just set-up the key binds itself.
2020-02-09 12:32:01 +00:00
AChavali
f9e9f48c75 ~refactor theme module to have it's own namespace
oreodave/theme is the dedicated function/state namespace for theme
management. It's just cleaner and nicer.
2020-02-09 12:31:22 +00:00
AChavali
5c72c72a09 ~ivy-posframe now applies to set of functions
Ivy-posframe now only applies to a set of functions through the
ivy-display-functions-alist. Some functions just aren't meant to be
posframed and are incredibly slow when using posframes, so I don't put
those in the list. Those functions in the list are functions that have a
negligible change in performance while providing a much better
experience via posframe.
2020-02-09 12:30:53 +00:00
AChavali
c49083a593 ~setup variables outside of (after! org)
org-directory and org-agenda-files are annoying to setup and are vital
to using emacs for me. I don't load org-mode files necessarily before
using these variables. Thus, set them outside of the (after! org) call,
then do the mapping inside (after! org) because this is a very important system.
2020-02-08 13:23:32 +00:00
AChavali
b0d231425b -org-mode defer in flyspell package decl 2020-02-08 13:23:03 +00:00
AChavali
051f59670f ~spelling, etc 2020-02-08 13:21:53 +00:00
AChavali
1cdffadfef ~copy-file -> copy-directory
When doing an offline template download, it's more the directory than a
file that you're copying and moving.
2020-02-08 13:21:16 +00:00
AChavali
c66f8cc69a +lsp config
LSP config that triggers lsp-ui-doc-mode when lsp is loaded. Also sets
lsp-ui-doc-position to top because it's really annoying to see it pop up
on cursor.
2020-02-08 13:20:59 +00:00
AChavali
4ea8e2b7f2 -c# style
No need for it, when I already have one installed with C# mode.
2020-02-08 13:20:59 +00:00
AChavali
5caacfa222 ~allman -> custom c-style
This c-style doesn't fully conform to allman, using parts of Linux,
thus let's just call it custom.
2020-02-08 13:20:59 +00:00
AChavali
ea129457a0 +ivy posframe general config
For all ivy functions, display at the bottom center. Will be specialised soon.
2020-02-08 13:15:41 +00:00
AChavali
c347c9cc27 -vterm config
No need to use Emacs as my shell. Just use Konsole and be happy. As a
result, no need to load vterm early.
2020-02-08 13:15:11 +00:00
AChavali
951b9b5a67 ~decomposed C# config into several subheadings
Same reason as big keymap. Easier to work with.
2020-02-08 13:14:44 +00:00
AChavali
c4acb20f2d ~keymap is now decomposed into several subheadings
Keymap needs to be split because oh god trying to edit it as one huge
block was a bad idea. Instead split it into module components and write
there. Easier to navigate, edit and consider than one massive block.
2020-02-08 13:12:51 +00:00
AChavali
5b3a06d9cd ~moved all descriptors above code blocks
Easier to read and understand what this code block does if I describe it
straight away rather than scrolling to the bottom to see what it does.
2020-02-08 13:12:02 +00:00
AChavali
5353f9538b +bookmark-default-file
Bookmarks getting deleted everytime I update doom is so annoying.
Instead, store it in the private dir from the get go
2020-02-08 13:10:40 +00:00
AChavali
ee610c65c4 ~string= for test in cl-pushnew lookup-provider
:test string= makes it so cl-pushnew will test if there are any "Libgen"
records already in the alist before pushing. Basically, unique records.
2020-02-08 13:09:49 +00:00
AChavali
116cfec811 -wakatime
No need to send my shit elsewhere, I'll handle timing myself if
necessary. I really don't use this service anymore, and honestly it's
more of a hassle than needed.
2020-02-08 13:08:56 +00:00
AChavali
9166757080 ~wakatime-cli-path ~/.local/bin/wakatime
~/.local/bin/wakatime is the location a pip --user install puts wakatime
to. Use that from now on.
2020-02-08 13:06:47 +00:00
AChavali
0be45db983 ~changes to modules in doom
+childframe for ivy as it is useful, can configure it to go anywhere
-lsp for haskell because it doesn't work
+pomodoro for the pomodoro technique
+rust with lsp because I want to start learning rust
2020-02-08 13:05:44 +00:00
AChavali
8d77f06ae5 +gentemplate module clones templates from github
gentemplate from sh but in Emacs!

Uses magit-clone to get the repositories, and can actually detect if
you're offline just to use a different version that copies it locally
from your machine.
2020-01-17 02:33:05 +00:00
AChavali
ec4d0c22cd ~prefix / -> prefix s
I've finally moved on with doom to SPC s instead of SPC /. SPC s is
faster than /. Most of the functions are on their excluding searching
via etags, so I just need that.
2020-01-17 02:32:24 +00:00
AChavali
afdd948e27 +omnisharp--unit-test-emit-results
I have to see the test output from my tests!
2020-01-17 02:32:01 +00:00
AChavali
a124a76ffe ~load! -> load
if loading the destination file, it will not be local but rather the
expanded version of it
2020-01-17 02:31:28 +00:00
AChavali
febf1879fa ~clean up writers module
:after-call specifically for org mode now
setqs are preserved for one use only
2020-01-17 02:30:57 +00:00
AChavali
d7d642bdd9 ~packages.el -> packages.org
Using an org file for packages now! Explaining my choices and stuff.
packages.el loads bin/packages.el now
2020-01-17 02:30:09 +00:00
AChavali
e561e37e09 -something inserted by customize in init.el 2020-01-17 02:29:52 +00:00
AChavali
e18c34954c ~big things changing in doom 2020-01-17 02:29:26 +00:00
AChavali
23ce5e97d2 ~load bin/config.el locally
No need to do all the hard work when "load!" does it for me
2020-01-17 02:26:29 +00:00
AChavali
9465707042 +new component for web-mode
Doing react, may as well use this snippet from vscode
2020-01-17 02:26:09 +00:00
AChavali
71d28c3930 +org-gcal +defer to calendar-open-function called
org-gcal is only used for calendar events, thus only when the calendar
is opened should it be used
2020-01-05 22:53:19 +00:00
AChavali
d1a057ab86 ~no need for darkroom because zenmode exists 2020-01-05 22:53:19 +00:00
AChavali
8e736e97c2 ~org-mode -> org
The official package name is org, not org-mode. Thus the packages don't
defer properly.
2020-01-05 22:51:47 +00:00
AChavali
80cf04fc02 +vterm package config to load it at first command
I use Emacs as my terminal emu now, which means vterm needs to be loaded
from the get go.
2020-01-05 22:51:09 +00:00
AChavali
acad41f28a ~switch to the space images that val0r provides
This black hole image is much better than the other space image, though
I may interchange between them
2020-01-05 22:50:37 +00:00
AChavali
264de06b96 ~Internal -> Package config, defer wakatime to pre-command-hook
~Package config is more fitting a name
~Wakatime should be deferred till after the first command is run
2020-01-05 22:49:54 +00:00
AChavali
fd0c0c4361 ~font size 20 -> 17 2020-01-05 22:49:29 +00:00
AChavali
079f2d6561 +overlay to eval
Quickly evaluating stuff should not pop up a minibuffer
2020-01-05 22:48:51 +00:00
AChavali
0b8f3e4f65 +vterm and zen
+vterm for much better terminals in Emacs, to the point where it is now
my official terminal emulator

+zen mode for quiet writing and reading experience
2020-01-05 22:48:03 +00:00
AChavali
510e145dca ~switched back to normal modeline
Fixes have made the modeline better
2020-01-05 22:47:36 +00:00