Commit graph

213 commits

Author SHA1 Message Date
Howard Abrams
0f87c4ddb5 Text object for functions
I've been wanting the ability to have a text object select a function.
Sure, I've had the ability to grab an s-expression, but a function, in
other inferior languages, isn't bound by such syntax.
2023-04-19 08:47:47 -07:00
Howard Abrams
b7a35fe1dc Fix some movement, including a better start to visual
Why not have `v` (when programming), select the entire symbol?
2023-04-06 22:00:12 -07:00
Howard Abrams
98fa91dc66 Add a transpose window orientation 2023-04-01 16:32:16 -07:00
Howard Abrams
d1839ef90b Open EWW link to specific window
Following a link is nice, but if I want to read without loosing my
frame of reference, I need to open it in another window.
2023-04-01 16:32:16 -07:00
Howard Abrams
4be00bd345 Add elisp-demos back into system 2023-04-01 16:32:16 -07:00
Howard Abrams
ce756d681c Changes for working on Linux 2023-03-23 22:28:06 -07:00
Howard Abrams
6dfb07b3bf Swap clever parens for lispyville
The lispy+lispyville is more feature-rich than the
smart-parens+clever. Both are fantastic, but I'm switching my lisp
work for lispyville.
2023-03-17 19:19:55 -07:00
Howard Abrams
a80bd6d068 Local leader bound to comma
I thought that I would use Evil's , as a backward's search, and got
rid of Spacemacs approach to having the , as a local leader.

Well, a year later, I can't remember ever using the comma for that
reason. So I'm converting back.
2023-03-15 09:28:26 -07:00
Howard Abrams
01a0958e6f Update the copyright year
This really was a lark to see if I could change ALL the files using
woccur and a regular expression. Quite please with how simple that was.
2023-02-23 09:35:36 -08:00
Howard Abrams
0570a5f1fa MacOS's Spotlight is more general than Org
And my org-find-file should be in the org configuration file.
2023-01-16 09:48:10 -08:00
Howard Abrams
31fdabd1e3 Easy to find org-mode files in the current project
The work for this is from a essay on my blog at
  https://howardism.org/Technical/Emacs/org-find-file.html
2023-01-15 21:42:15 -08:00
Howard Abrams
1dbccee411 Changes to the Autocomplete system
While I reorganized my layout, the big changes is getting corfu to
work instead of company, integrating with hippie expand. This may be
completely sufficient for the moment.
2023-01-09 20:03:42 -08:00
Howard Abrams
7a423ccf78 While interesting, I don't use Evil Easy Motion
I use avy with simple keybinding I remember. Time to jettison.
2023-01-09 20:02:50 -08:00
Howard Abrams
6678d835cc Fix a Makefile mode bug
Since I remove tabs by default ... except in Makefiles, I need to
covert all modes.
2023-01-09 20:02:50 -08:00
Howard Abrams
8e8f6c19a1 Reference to goto-address 2022-12-21 11:28:17 -08:00
Howard Abrams
f34d2d9d24 Add Wilfred Hughes helpful package 2022-12-05 08:23:29 -08:00
Howard Abrams
f114dcc357 Quick access locations for Dirvish 2022-11-27 10:41:05 -08:00
Howard Abrams
4df8279e20 Replace neotree with dirvish
I used neotree when giving code reviews to show people watching where
files were located in the project. It was never very useful. But
dirvish allows me to do that, plus have a more useful dired experience.
2022-11-24 23:05:39 -08:00
Howard Abrams
3778d7933f Bug fix for loading projects
Also we can load a project, and just display the most recent files
in that project.
2022-11-24 22:59:50 -08:00
Howard Abrams
2ca3519565 Reworking of w, f and b leader menus
Attempted to make the file and buffer leaders work better with the
window system allowing me consistent showing/loading buffer/files in
particular windows.
2022-11-24 22:59:45 -08:00
Howard Abrams
5b8aba2cfe Make the Git changes more noticeable
Place the git changes marked in the right side of the fringe doesn't
confuse with the issues that I put on the left.
2022-11-24 22:49:54 -08:00
Howard Abrams
fa30322b23 Consistent window commands
I like both my leader and ace-window for different reasons, and I need
them to be consistent.

Also, I want to split a window and immediately see a file or buffer.
2022-11-15 19:58:31 -08:00
Howard Abrams
b0d528d5d9 Let's hear it for Mastodon! 2022-11-15 11:07:18 -08:00
Howard Abrams
be9077f857 Recompile is sufficient to work with my compile program 2022-11-07 20:45:20 -08:00
Howard Abrams
1b78e898b4 Should be easier to recompile than compile
Since that is what I call repeatedly.
2022-11-03 22:18:08 -07:00
Howard Abrams
c19c54ef18 Better Dashboard
Using the cheatsheet to display hints and keystrokes that I want to learn.
2022-11-02 20:59:00 -07:00
Howard Abrams
72bcfbadde Duplicate keybindings 2022-10-29 21:23:50 -07:00
Howard Abrams
61cd127fe3 Minor tweaks ... starting on repeating commands 2022-10-25 22:07:12 -07:00
Howard Abrams
72cd815902 LSP consistency
LSP is mostly code jumping with the xref, and I wanted to have some
keybinding consistency.

This also loads the LSP map only when eglot is turned on, making the
menu more consistent as well.
2022-10-25 21:47:37 -07:00
Howard Abrams
68bd5c64bf Swapping corfu in for company
I just find that company isn't helpful and is distracting.
The advantage to corfu, is that I spent the time to understand and
configure it to act the way that I find helpful.
2022-10-21 22:08:02 -07:00
Howard Abrams
1883bb9f53 Expanding the Auto Completion with Hippie
Might have to look at corfu instead of company. Dunno.
2022-10-21 22:06:04 -07:00
Howard Abrams
58a1ef8df8 Minor formatting and indenting changes 2022-10-20 22:17:12 -07:00
Howard Abrams
b04ab0bd95 Better TRAMP support for remote systems 2022-10-20 22:17:12 -07:00
Howard Abrams
1233658a2a Made window leader and ace-window more consistent 2022-10-18 11:32:18 -07:00
Howard Abrams
4683e1f5b0 Suppress the persp warning
I already have a way to get to the perspectives.

But let's grab a few more options ... even though I don't think I'll
use them.
2022-10-18 11:08:20 -07:00
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