Commit graph

228 commits

Author SHA1 Message Date
Howard Abrams
4ad496b98b Converted my piper to a data-oriented functions
I liked my piper idea, but I just used it so seldom. Instead, I feel
like the ideas could be integrated into a data-focused function
collection. The interface is actually more dynamic and I can use it
without the "Piper" interface.
2022-10-17 20:49:00 -07:00
Howard Abrams
a981b40836 Better keybinding commands 2022-10-17 10:28:28 -07:00
Howard Abrams
30b82ca13a Fix bug and address warning
Such an obvious bug, committed quite some time ago, shows how often I
restart Emacs.
2022-10-17 09:41:38 -07:00
Howard Abrams
a2a61b296b Simple eshell prompt with PWD on modeline
Seems like a nicer way to get more screen estate.
2022-10-12 22:35:24 -07:00
Howard Abrams
238642cb3b More evilness, including ESC for escape-quit 2022-10-10 21:58:23 -07:00
Howard Abrams
5a26d457a7 Add ace-window to s-w
And get the commands more in line with my hydra. Less to think about.
2022-10-10 21:57:50 -07:00
Howard Abrams
8ebb5a1561 Switching to a different yasnippet collection 2022-10-10 14:41:23 -07:00
Howard Abrams
f9003e172f Do I really want to call execute-command-on-buffer?
This is a really nifty function, but should I call it all the time?
Adding the name of the buffer automatically is sweet... until I don't
want that feature.
2022-10-04 20:41:01 -07:00
Howard Abrams
4db75eb591 Replace dwim-shell-command with eshell-command
Gives the same feature, but has offers more.
2022-09-28 13:41:45 -07:00
Howard Abrams
4bf3d05e07 use-package on v28 is going to kill me
The :config doesn't always run!?
2022-09-28 13:38:56 -07:00
Howard Abrams
530a7b6b5a Browse some URLs, like YouTube in Firefox
But everything else is EWW first.
2022-09-28 13:19:42 -07:00
Howard Abrams
324ccce619 Distinguish between describe-symbol and the Info for symbol 2022-09-23 22:04:39 -07:00
Howard Abrams
0ec5575248 Formatting and bug fixes 2022-09-20 23:11:29 -07:00
Howard Abrams
5ff184c0ec Turning on difftastic 2022-09-12 21:46:53 -07:00
Howard Abrams
aaa8633d4a Integration with evil-args 2022-09-12 15:25:57 -07:00
Howard Abrams
886dea7c9f Better text object integration
Fixed the transpose by added text objects for both lines and indents.
2022-09-12 11:14:37 -07:00
Howard Abrams
50f74914ff More clear font allocation
With no more DRY errors.

Also, let's just jump into full screen again.
2022-09-11 22:28:09 -07:00
Howard Abrams
682d7e1bc8 Text alignment with evil lion
A wrapper integrating evil text objects with Emacs' align function.
2022-09-11 22:27:07 -07:00
Howard Abrams
ec3d445a65 Let's expand how I can call visual replace function
By adding it to a simple leader key. Perhaps SPC r should really be a menu?
2022-09-11 22:26:07 -07:00
Howard Abrams
06239b0963 The w key now skips over snake_case words 2022-09-02 16:13:26 -07:00
Howard Abrams
3cad9fdaf6 Bug fixes!
Addresses some compilation warnings and some linting errors.
2022-09-02 16:12:04 -07:00
Howard Abrams
8ba7f8161d Adding dumb-jump to navigate my code trees 2022-08-31 21:47:18 -07:00
Howard Abrams
c4023f3416 Replace vc-revert with magit-file-revert
A quick way to abandon code changes that might have been committed.
2022-08-29 09:40:55 -07:00
Howard Abrams
62c2e13dab Add an evil text object for all grouping characters
Found a great idead from Chen Bin for not making a distinction between
parens, brackets and braces when doing text object manipulation. This
saves having to press the shift and reach for the another key when ~g~
is riiight there.
2022-08-29 09:37:06 -07:00
Howard Abrams
71135b37f0 Fixed an odd error that shouldn't need specifying 2022-08-25 10:42:01 -07:00
Howard Abrams
3b8cfa1f73 Bind SPC g d to difftastic
As I don't see a new binding in the Magit arena that makes sense.
2022-08-09 21:27:29 -07:00
Howard Abrams
b3256bdcac Digging on dwim-shell-command
Nice and interesting idea. Not crazy about the <<f>> format, but it
seems to be a nice replacement.
2022-08-09 09:59:47 -07:00
Howard Abrams
45c1686fa1 Deleting tabs is fine, except...
For bloody Makefiles!
2022-08-09 09:58:22 -07:00
Howard Abrams
30d151bd1f Consistent straight access to github/gitlab projects
This is just a clean up.
2022-08-09 09:57:20 -07:00
Howard Abrams
3398edc33b Reformat file-related configuration under a heading 2022-08-02 14:41:20 -07:00
Howard Abrams
6d7b9facd1 Get rid of tabs!
After a few Gerrit changesets showed tabs, I realized that I should
have Emacs remove tabs along with trailing whitespace.
2022-08-02 11:13:48 -07:00
Howard Abrams
537aa04aff Sqlite in a tailspin
Since I don't use the Forge feature much, I'm turning this entire code
section off.
2022-07-26 21:10:25 -07:00
Howard Abrams
e82c767d51 Add easy-motion
I hate attempting to learn new things, but jumping down a few lines or
words is fine if you can see how many there are, this approach allows
me to have a leader key show me various destinations.
2022-07-07 13:46:26 -07:00
Howard Abrams
a6e5ef33fd Swapped precedence from snipe to surround
Since I often use avy to do my jumping, snipe isn't as important, so I
limit it to just normal and visual modes, and let 's' be the surround
key, as I seem to want to use that a lot.

Also, I finally learned that `o` is the symbol in inner/outer text
objects, so that takes care of that use case.
2022-07-07 13:44:41 -07:00
Howard Abrams
4cd99fff31 Add the magit-delta project for better diffs 2022-07-07 09:25:53 -07:00
Howard Abrams
403fd4a972 Cleaned the org capturing code
Using the org-mac-link and some custom functions, I can quickly get
information from external programs into my org files.
2022-06-30 11:58:31 -07:00
Howard Abrams
ffbd253e65 Convert to lower-case #+BEGIN_SRC blocks
While I was at it, I address some prose-specific comments like passive
sentences and weasel words.
2022-06-17 17:25:47 -07:00
Howard Abrams
531f73365e Add Keepass interface to Emacs 2022-06-15 16:13:40 -07:00
Howard Abrams
60671a0932 Getting better filtering with fussy and hotfuzz
At least no one can complain about boring package names now, right?

I'm not going back to Selectrum+Prescient as the fussy allows me to
try new fuzzy-matching algorithms, and it appears that hotfuzz is
quite good.
2022-06-15 09:54:34 -07:00
Howard Abrams
e29cf5d07f Fix the consult loading
Oh, and I guess we migrated the name of the snippets project.
2022-05-31 11:49:21 -07:00
Howard Abrams
0fa579e946 Bring hippie-expand back
I can't believe that during all my migrations I forgot to bring over
the hippie. While I'm at it, let's have it work with TAB!
2022-05-17 10:40:27 -07:00
Howard Abrams
a7685c7d81 Fix bug and clean up Evil Insert and Emacs keybindings 2022-05-17 10:29:30 -07:00
Howard Abrams
c12ffd9028 Convert evil-define-key to :general extension
This seems to look easier on the eyes.
2022-05-16 13:34:05 -07:00
Howard Abrams
0d47e845ee Reformat the Evil section for better imenu movement 2022-05-14 09:23:41 -07:00
Howard Abrams
38b5490bbe Fix to the projectile's ability to find projects 2022-05-13 14:47:01 -07:00
Howard Abrams
9178f08903 Add evil-exchange, commentary and owl
As these seem like they can be useful.
2022-05-13 11:20:15 -07:00
Howard Abrams
ffd8925320 Converting evil-define-key to :general calls
i think it is easier to read. Slightly.
2022-05-11 10:52:12 -07:00
Howard Abrams
d3907c810a Using PDF Tools instead of Docview
Since the docview sometimes borks up, and PDF Tools is much better.
2022-05-10 12:03:40 -07:00
Howard Abrams
3a77274878 Convert link-hint to use :general
Need to convert all my keybindings to use that.
2022-05-10 11:28:48 -07:00
Howard Abrams
0761dc4954 Integrate Embark with Whichkey for a more condensed experience 2022-05-02 16:29:57 -07:00
Howard Abrams
dce7a28d1e Introduced startup bugs based on odd dependencies 2022-05-02 09:50:17 -07:00
Howard Abrams
758782a0b6 Connecting Embark and Consult 2022-05-02 09:48:58 -07:00
Howard Abrams
82ff876a18 Fixed startup bugs 2022-04-29 22:27:06 -07:00
Howard Abrams
a39df823b5 Better keybinding for embark 2022-04-29 21:57:22 -07:00
Howard Abrams
7900ed9564 Replacing ace-link with link-hint
As it seems to do the same thing, but has slightly more link refs.
2022-04-29 10:28:11 -07:00
Howard Abrams
e025c0d31a Incorporate Consult for specific use-cases.
The preview feature of consult can be helpful at times. Let's see how
many functions I want to replace.
2022-04-28 08:56:57 -07:00
Howard Abrams
205067137b Switch the sync and project save keybindings
oh, and let's confirm before I quit Emacs. That's a bad fat finger.
2022-04-27 22:14:17 -07:00
Howard Abrams
608ab39e07 Reworking some evil keys that conflict by default.
Oh, and adding the evil-text-object designed for Python code.
2022-04-27 22:11:12 -07:00
Howard Abrams
216f6a0b73 Expanded on the "round quotes" in org files
Now have expanded rules as to when to insert (and delete) the single
or double quotes, and they act the same with the addition of a new
helper function.
2022-04-11 15:34:56 -07:00
Howard Abrams
093a6d7ee1 Take advantage of Emacs 28 features
Including the ability to jump directly to an Info manual.
2022-04-09 09:10:55 -07:00
Howard Abrams
cf7b81c576 Fixed my "image display" bug
Turns out the global-svg-tab-mode was turning off the ability to view
all PNG files, so now I just hooked the mode to certain major modes,
and we are back in business. Also cleaned up a few visual bugs.
2022-04-01 11:29:45 -07:00
Howard Abrams
4a7771b48a Closing my single, full-screen frame ain't helpful
But closing a window is.
2022-03-25 15:19:46 -07:00
Howard Abrams
ccebc03e7f Trying out Protesilaos' distraction-free focus package
This brought back Olivetti as well as creating a DWIM function for
narrowing a buffer the way I would expect.
2022-03-25 11:02:02 -07:00
Howard Abrams
2aa2886535 Forcing the use of undo-fu 2022-03-25 11:01:04 -07:00
Howard Abrams
d03bfed2cb Actually integrate the doom-snippets to the directory list
Also, finally got my stash back from being overshadowed in Magit.
2022-03-24 13:47:00 -07:00
Howard Abrams
e06ccd08b9 More consistent keybindings with EWW and Info 2022-03-24 10:44:11 -07:00
Howard Abrams
0396c09af4 Convert to org-present from the org-tree-slide
Simpler and I now have hooks to make it look like what I want.
2022-03-21 16:58:00 -07:00
Howard Abrams
0599164dec Finally fixed my fonts so that variable-pitch works in org
At least, it works in Org with the ability to change the font sizes,
which is important when giving presentations with larger fonts.

The real culprit was the mixed-pitch project that didn't allow for
changing font sizes (which was easy enough to configure).
2022-03-18 14:17:20 -07:00
Howard Abrams
a8b5dc578a Excise the consult package that I am not using. 2022-03-15 09:21:26 -07:00
Howard Abrams
9fa4e824da Turn on the recentf feature 2022-03-11 21:56:58 -08:00
Howard Abrams
31a706d5f9 Using imenu to jump to Org headers
And a couple other tweaks.
2022-03-11 10:55:39 -08:00
Howard Abrams
b5a82133ca Clarify the creative commons on tangled files
Do I really need the copyright symbol? I love how the proselint
insists that I use the unicode character (which unicoding all the
files sounds great to me).

What could go wrong there? :-D
2022-03-09 10:48:26 -08:00
Howard Abrams
219d0ecea7 Fixed a binding bug to my worksapces 2022-03-08 20:43:25 -08:00
Howard Abrams
f04b1f36fc WHo knew that backup-directory-alist didn't accept ~ characters? 2022-03-03 15:20:27 -08:00
Howard Abrams
a05a473093 Add more apps to my "a" key 2022-03-03 15:08:09 -08:00
Howard Abrams
2472e40358 Better keybinding to address a long-standing bug 2022-03-03 15:07:00 -08:00
Howard Abrams
bebc16c29b Better keybindings of Neotree 2022-02-25 17:14:50 -08:00
Howard Abrams
2c806791b3 Turning on the flycheck for checking without LSP 2022-02-25 17:12:18 -08:00
Howard Abrams
0d4b1e97c0 Fixed a bug with reloading my config file.
And a bit of clean up.
2022-02-25 14:57:43 -08:00
Howard Abrams
620a1bf670 Add the annotate mode package
For dropping simple word notes in your files ... visual bookmarks.
2022-02-10 23:17:46 -08:00
Howard Abrams
c37d1d0759 Checking out the Pocket Reader project
This seems like a great way to link my phone and emacs and reading
essays not on the elfeed reader.
2022-02-10 23:16:50 -08:00
Howard Abrams
83e8f635d5 Add a leader key for EWW 2022-02-10 23:16:24 -08:00
Howard Abrams
fb01aa4728 Save all buffers when Emacs looses focus. 2022-02-10 11:25:03 -08:00
Howard Abrams
e561e148e1 Fixed my project loading feature 2022-02-04 14:38:56 -08:00
Howard Abrams
9dda0a8abd Turning of the Forge stuff until I use it again. 2022-02-04 14:37:23 -08:00
Howard Abrams
78db166f4c Put the EWW keybindings in Evil mode 2022-02-02 11:53:16 -08:00
Howard Abrams
6a88d5e138 Figured out the gpg bug
I needed to have a loopback setting to have it prompt for a password
inside Emacs, as opposed to running a GUI GPG, or worse, spitting out
an error.
2022-02-02 11:53:16 -08:00
Howard Abrams
87e2d4e292 Move stuff around
Needed to move the Terminal stuff over to remoting, as I don't include
the aux-apps in my Work-specific Emacs system. While I was at it, I
noticed some key conflicts with org, so fixed that too.
2022-01-06 15:36:39 -08:00
Howard Abrams
6791c7bdc8 Fix bugs ...
Including splitting out the project list (so that it can be added to
later in the initialization), a bug found in the `beep` code.
2022-01-04 16:14:38 -08:00
Howard Abrams
bc6e6eea50 Shuffling sections around
Expanding the Applications sections and removing it from the Config.
2021-12-29 18:51:25 -08:00
Howard Abrams
8d4389f398 Load file in a particular window
Now _this_ is obsessive! I like it!
2021-12-29 11:08:27 -08:00
Howard Abrams
2dcac6e761 Jump to newly created windows
Since my fingers were good with splitting the window and jumping to
the new window, I figured a little advice would make Emacs behave as I
would have expected.
2021-12-29 09:35:39 -08:00
Howard Abrams
9f28c9a51a Integration with ripgrep and wgrep
And a code change just to verify it!
2021-12-29 09:34:48 -08:00
Howard Abrams
6fdd2bb756 Easier to debug when debug-on-error is the default
Especially easier when loading up dot files.
2021-12-27 10:35:48 -08:00
Howard Abrams
414b56eb5f Making sure that github/gitlab works with forge
To use this correctly, create entries in ~/.authinfo.gpg that contains
the API passwords from Github and Gitlab:

    machine api.github.com login howardabrams^forge password redacted
    machine gitlab.com/api/v4 login howardabrams^forge password redacted

Also, this change prompts us for comfirmation before pushing to the
main upstream branch (since you should want to use a pull request).
2021-12-27 10:15:07 -08:00
Howard Abrams
7b732934d5 Surround and snipe now work correctly together 2021-12-27 09:48:02 -08:00
Howard Abrams
3a927e756a Fix my code inclusion, like beep and demo-it
Using the :local-repo to test local repositories of my .. this doesn't
seem right.
2021-12-27 09:46:10 -08:00
Howard Abrams
9ba17b5c20 Fix bug in :straight calls
Don't use :files in calls to :straight, and I like
2021-12-27 09:32:33 -08:00
Howard Abrams
4a5f426428 Meta-Space for Global Leader, and Shift-Space for Local
Let's see if this really works for insert mode.
2021-12-14 11:42:26 -08:00
Howard Abrams
a79a8651b0 Consistency for local leader actions
Both M-SPC as well as the F17 function key for accessing the
mode-specific stuff. Granted, I need to flesh those out more.
2021-12-14 11:26:11 -08:00
Howard Abrams
21a767e4cf Make the search results buffer go away. 2021-12-13 10:46:51 -08:00
Howard Abrams
7a3d95d70b Clearer when running on a Mac system.
Which fixes a bug when running on Linux, that doesn't need the Shell
PATH set (at least, not for me).
2021-12-13 10:45:32 -08:00
Howard Abrams
334517380c Add motion to SPC prefix general leader
And fixed a bug to make them consistent.
2021-12-08 13:57:42 -08:00
Howard Abrams
d756049f90 Extract email addresses
The configuration files expect email addresses (I store passwords and
other encrypted information elsewhere).  These email addresses are
hardly private, but I figured I would annoy any screenscraping
spam-inducing crawlers out there, while still allowing others to
follow my lead on configuring Emacs and Email.
2021-12-01 11:04:02 -08:00
Howard Abrams
2f816c8f91 Full Emacs functionality in Insert mode 2021-11-23 16:41:17 -08:00
Howard Abrams
ad7125ad64 Create local leaders for various modes
This way, SPC-m will always be special for each major mode
... something like that.
2021-11-23 16:34:48 -08:00
Howard Abrams
e0e16e57d6 Excising useless user information 2021-11-18 12:12:19 -08:00
Howard Abrams
08fb7aef82 Keybinding to persp-switch-quick 2021-11-18 09:46:10 -08:00
Howard Abrams
065e673b7f Add Neotree and make it prettier to display with all the icons 2021-11-13 22:16:25 -08:00
Howard Abrams
9f6eca95a1 Including the Lissner's Snippet collection
This includes the starting auto-insert code for bash scripts, fish
scripts and Emacs lisp. Off to a great start here.
2021-11-12 13:05:31 -08:00
Howard Abrams
ee2eab464d Increase/Decrease the "font size" of the frame
While the `text-scale-increase` works fine for a single window, if I
want the font for the entire window, I needed something else. Added it
to the "Window" Hydra, so it could be a pink toggle.

While I was at it, I changed more `ha/` to `ha-` ... consistency!
2021-11-11 21:05:41 -08:00
Howard Abrams
ddbdc55eaf Flesh the "toggles" leader menu
Wanted to toggle the whitespace, so I might as well put a few more.
2021-11-11 21:02:58 -08:00
Howard Abrams
465fb840c1 Add journal system as well as auto inserting
One big feature of the org-journal is the ability to auto generate
empty files, and I realized that I needed to kick it up a notch with
the auto-insert. Actually brought my old code from years ago, as it
still works.
2021-11-10 14:31:15 -08:00
Howard Abrams
38fb532b09 General org enhancements 2021-11-09 17:28:58 -08:00
Howard Abrams
705b2f92d7 Install ace-link for quick link jumps 2021-11-09 17:27:54 -08:00
Howard Abrams
a3a7b8d464 Move unfill-paragraph to general config
As it really isn't org-specific.
2021-11-09 17:26:42 -08:00
Howard Abrams
b5282059f2 Attempt to resolve the snipe/surround fiasco
Loading them serially seems to fix it.
2021-11-09 17:25:32 -08:00
Howard Abrams
7e2ae8beac Add feed reader system with elfeed
Forgot to add this file, so things were failing, but I have my elfeed
configuration combined with my feed collection, because, why not.
2021-11-09 17:24:59 -08:00
Howard Abrams
c2fed6f149 Moved Fish script work to programming 2021-11-09 17:20:36 -08:00
Howard Abrams
4e5a4e9800 Create ha-hamacs-load function to re-read files
This function shows my Hamacs files, and allows me to update a reload
it.

Also, fixed a few bugs.
2021-11-09 17:18:52 -08:00
Howard Abrams
c243a417e9 Enhancement with the Search menu
I seem to use ripgrep a lot, and am getting tired of jumping into the
search results buffer, so a couple of keybindings to functions may
help this.
2021-11-09 08:22:43 -08:00
Howard Abrams
47f1162d28 Fixed bugs with the initialization
Getting a number of warnings and startup errors, so I moved a couple
of features earlier in the boot process and directly into the
`init.el` file (see the initialization).

Also, I'm not using the `beep` feature just yet.
2021-11-09 08:21:08 -08:00
Howard Abrams
5974c576de Evil Undo, Expand Region and Evil Surround works
Whew.
2021-11-08 17:27:09 -08:00
Howard Abrams
f337048da3 Fixed bugs and made things more consistent, ha-
Making the Git menu more consistent as well.
2021-11-08 16:02:39 -08:00
Howard Abrams
3774244434 Added the programming languages
Just a start actually.
2021-11-08 16:02:13 -08:00
Howard Abrams
8994fe4e8e Fixed bugs. Working real swell now. 2021-11-08 12:06:04 -08:00
Howard Abrams
6d33305992 Fixed some Org bugs, including local prefix. 2021-11-05 17:07:33 -07:00
Howard Abrams
513f2f06de Let's go ... first commit after a major refactor
Why yes, this will look like it sprung, like Athena, fully grown and
in armor from my head, but this is really just the mid-point of a new
endeavor.
2021-11-02 12:09:41 -07:00