Commit graph

278 commits

Author SHA1 Message Date
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
097431544e Change approach for determining if Emacs is "for work". 2022-10-03 10:11:11 -07:00
Howard Abrams
a00bcbf88c Fix bug with e eshell function, as well as make aliases
I might actually type `vi` or `emacs`, and we can't have that mess
things up.
2022-10-02 23:11:03 -07:00
Howard Abrams
a6db663a1c Created the more and less function
These just call `view-file` and this is because I can't get the alias
working correctly. Besides, I would like them to work with more than
one file.
2022-10-02 22:28:45 -07:00
Howard Abrams
2294abe9d9 Call rx from eshell with rx to write the regexp
But `rx` outputs Emacs regular expressions. The pcre2el project can
convert that for us.
2022-10-01 23:40:42 -07:00
Howard Abrams
fbdcce4d96 Instructions for rebuilding Emacs the link error 2022-10-01 22:05:17 -07:00
Howard Abrams
62a9262f43 Created a "lsd" command to call lsd if installed
But format it like the built-in "eshell/ls" command.
2022-10-01 21:06:49 -07:00
Howard Abrams
b399c30bb6 Reformat with dash library to make code more readable
Using the anaphoric macros from the dash library allows the banner
code to be smaller and I feel more readable. Yes, I could have run the
`ls` command into another buffer and copied it, I have bigger plans
for displaying my directory listing.
2022-09-29 09:18:59 -07:00
Howard Abrams
d5e30ec98f Argh ...
My attempt at making a gnarly banner function more readable by
creating lexical functions with `cl-flet` to pass to `mapconcat` was
thwarted! Who would have thunk that `mapconcat' couldn't access a
symbol reference to a function created by `cl-flet*'!?
2022-09-28 22:36:30 -07:00
Howard Abrams
3724a7decb Display directory files on new eshell instance
Whenever I open a shell, even if I know where and why I'm there, I
always type `ls`, so in this case, I made the eshell banner display
a listing of all of the files.
2022-09-28 22:17:27 -07:00
Howard Abrams
8d0579952b Added a "buffer cat" to eshell to pipe a buffer to commands
Fixed a bunch of prose issues.
2022-09-28 19:40:08 -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
9b4d19c85d Expand the sh-mode features
Shell IDE? Sure... why not.
2022-09-28 13:19:09 -07:00
Howard Abrams
199468339f Migrate dictionary to online service 2022-09-26 17:22:20 -07:00
Howard Abrams
ecc9c1ee8f Now $$ is an array of command output history
Extended the `eshell-variable-aliases-list` to call a new function that
stores the output of the commands in an ring. This is a pretty cool feature.
2022-09-26 17:21: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
13b930e6ee Send email without invoking notmuch's backend
Discovered a bug with `use-package` where :config sections are not
called if there is a :bind section.
2022-09-23 22:03:52 -07:00
Howard Abrams
334c3f9cff Access past version's of eshell command output
Simple addition of some rings to store a bit of eshell command
history. I really can't believe how easy this stuff is to write.
2022-09-23 21:56:49 -07:00
Howard Abrams
e9cdcc5c5c Expanded eshell output variables to include a file
The output from the last eshell command is now also stored in a file
by the name, $OUTAF.

Hrm ... now I want this output, as part of a history....
2022-09-23 16:30:25 -07:00
Howard Abrams
2a6302c43d Add $OUTPUT and $LAST eshell variables
These contain the output from the last eshell command. Cool how easily
I implemented this.
2022-09-23 16:20:56 -07:00
Howard Abrams
bcb014a9ef Create a "map" function for eshell to replace the for loop
Better? It is cool that it is so easy to do.

May need to expand it so that subcommands work too. We'll see if this
fits my use case.
2022-09-21 22:57:20 -07:00
Howard Abrams
0ec5575248 Formatting and bug fixes 2022-09-20 23:11:29 -07:00
Howard Abrams
f9b4789199 Pulled eshell functions out of remoting
And placed it into its own "eshell" configuration file.
2022-09-20 23:09:42 -07:00
Howard Abrams
4927f5e5b2 Defining words from Noah Webster's 1913 dictionary 2022-09-16 15:38:59 -07:00
Howard Abrams
8c609f899e Minor formatting changes for Clojure setup 2022-09-12 22:09:26 -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
a8e5fec161 Expanded Clojure to really work
Lots of leader keys to tie into Cider.
2022-09-11 22:29:25 -07:00
Howard Abrams
16cf7659e6 Add Emacs Cat to the list of feeds 2022-09-11 22:29:01 -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
e6d1e06f07 I edit blocks all the time, so let's reuse the window 2022-09-11 22:26:07 -07:00
Howard Abrams
a19b0a984c Initial effort for a perfect-sentence feature.
Can't believe it works this well, and with very little effort.
2022-09-09 16:47:49 -07:00
Howard Abrams
f36edaff09 Can't swap cl-flet with flet ... gotta use cl-left instead
Oh, and I swapped in the use of a hook
2022-09-02 22:45:16 -07:00
Howard Abrams
f25a76f696 Initial configuration for Ruby programming 2022-09-02 16:14:10 -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
6fb9d25eda Fixed my source code loading scheme 2022-09-02 16:05:23 -07:00
Howard Abrams
624125dc06 Better MacOS integration with Emacs
I run two instances of Emacs on my MacOS laptop ... one for "work" and
another for IRC, et.al. This explains some of what I'm doing.
2022-09-02 16:03:43 -07:00
Howard Abrams
d24ce8b49c Add keybindings to dumb-jump
Including keybindings off of the `g` ... which is very evil.
2022-08-31 22:33:42 -07:00
Howard Abrams
9a77a7c770 Slightly better organization of programming section 2022-08-31 21:47:46 -07:00
Howard Abrams
8ba7f8161d Adding dumb-jump to navigate my code trees 2022-08-31 21:47:18 -07:00
Howard Abrams
71f47a5490 Better approach to running Emacs for work. 2022-08-31 21:45:21 -07:00
Howard Abrams
6725f2a354 Ixed the eshell-propject function 2022-08-31 08:56:10 -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