| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Emacs 28 has support for native compilation which speeds up a number of
packages. This change set the path where we want to store the files.
|
|
|
|
|
| |
We need a `provide` and we should only configure it if the binary is
present.
|
| |
|
| |
|
|
|
|
| |
Don't use plain white for the background, but a very light yellow color.
|
|
|
|
|
| |
Don't use the current branch when building a link to sourcegraph, as we
might be on a feature branch that is not available on the remote.
|
| |
|
|
|
|
|
| |
They are all handled by the repository `linux-desktop`. It's easier to
have a different repository for this bits of configs.
|
|
|
|
|
|
| |
Since the hostname from the git remote is appended to
'sourcegraph.twitter.biz', we can get rid of the mapping and just build
the URL using `format`. This simplifies even more the solution.
|
|
|
|
|
| |
The function needs to be defined before we use it in the `use-package`
for go-mode.
|
| |
|
|
|
|
| |
It's useful to show errors across a project
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The mapping for git.twitter.biz was incorrect.
The package `git-link' has functions to take to format the URL for
sourcegraph, we don't need to maintain them on our end, which simplifies
a bit the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This article [1] shows how to use sourcegraph with the package
`git-link'. However, it requires to modify the configuration of the
repository to add a new remote named 'git-link'. This is inconvenient,
and this can be automated.
This change adds a function to automatically generate the remote URL
when the remote origin of a repo is set to twitter.biz.
We also add the configuration for our own gitea instance.
[1] https://sideshowcoder.com/2020/07/02/opening-sourcegraph-from-emacs/
|
|
|
|
|
| |
This packages help interacting with various forges. We add a new entry
to the default list for our own gitea instance.
|
|
|
|
| |
Sort branches by date.
|
|
|
|
|
| |
The restic REST server is running on the nas' wireguard interface, so we
need to change the URL in our unit file.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When creating a new buffer for eshell with `fcuny/eshell-here` rename
the buffer using parts of the directory.
|
|
|
|
| |
From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
|
|
|
|
|
|
|
|
|
| |
With zsh I report how long a command takes to execute when it takes more
than a few seconds, and it's pretty useful.
This article [1] shows how to do the same with eshell.
[1] https://www.birkey.co/2021-06-20-why-eshell-part-1.html
|
|
|
|
| |
It breaks every time I update the package.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Debug Adapter Protocol (DAP) is wire protocol to communicate between a
client and debug server. This is similar to LSP, but for debuggers.
This initial configuration focuses on enabling the mode and setting the
layout for the various buffers (in this case I want the different
buffers on the right screen and keep the main part focused on the code).
I also disable some widget to use the debugger with hydra.
There's still a number of things that are incomplete when it comes to
integrate DAP and delve (the go debugger): there's no way to call
functions, to have access to the variables, etc. But this is a good
start though, to debug simple problems without relying on print
statement.
This also update the configuration for =go= so that =M-x compile=, when
editing a go file, by default will use =go build=. This is not what I
always need / want but this is a good default.
|
|
|
|
|
|
|
|
| |
A systemd unit to backup my music to the NAS. This is invoked by
running:
```
systemctl --user start sync-music
```
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I need the highlighted line to be intense, with high contrast (other I'm
unable to find it the buffers). I accidently selected
'underline-only-accented' instead of 'intense-background'. This change
restore the proper value.
|
|
|
|
|
|
| |
Only keep what I need, it's pretty hard to read or understand the
configuration otherwise. If I need something specific I can always refer
to the documentation.
|
|
|
|
|
| |
Stop using a special character for the ellipsis, and use the standard
org-bullets configuration.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
I want the title for org sections to have different size and also to
have different colors. This is done by setting the
`modus-themes-scale-headings` variable to true, and configuring the
various `modus-themes-scale-*` variables. The coloring is controlled
with `modus-themes-headings`.
Make the highlight line a bit more intense so that it's easier to spot
on the screen.
|
|
|
|
|
|
|
|
|
| |
The module `magit-repos' can list the status of git repositories under a
given path.
Since all my repositories are under `~/workspace`, it's easy to use `M-x
magit-list-repositories` to get a buffer with all my repositories, and
their status (are they dirty, etc).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
Start using `doct` to manage the configuration for capturing content.
Try to simplify a bit.
|
|
|
|
| |
Add a few custom functions for org-mode.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
When working with 'source', magit is extremely slow (source is a huge
repository, so it's not surprising). We can improve significantly
performances by disabling a number of hooks when running git status.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Since `git` understand `$XDG_CONFIG_HOME`, let's gather all the
configuration files there.
|
|
|
|
|
|
|
|
|
|
| |
There's a few things that are relevant to both OS, but there's also a
bunch of stuff specific to Linux. Split the file to make it easier to
maintain / read.
Also add a new gitconfig file to be included depending on the OS: since
Darwin is for work, let's use work email there, and personal email for
Linux.
|
|
|
|
|
| |
I should have read the documentation more carefully, the longitude, when
in the western emisphere, should be negative.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
There's a better support for unicode.
|
| |
|
| |
|
|
|
|
| |
The contrast is pretty good and the customization are also pretty.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I want to remap the prefix for `lsp-mode` from `<s-l>` to `<C-c l>`,
since I'm already using super for i3.
Diminish the mode, there's no need to have this in the modeline.
Update some of the variables (some were deprecated / replaced with
different names).
|
|/
|
|
| |
We want to diminish `which-key` mode.
|
|
|
|
| |
Use the same background color as emacs/acme (it's nicer than white).
|
|
|
|
|
|
| |
- change the binding for locking the screen
- drop the one to change the focus (so we can re-use it for locking)
- assign some applications to specific workspaces
|
| |
|
|
|
|
| |
need to find a way to manage various identify (work vs home)
|
| |
|
|
|
|
| |
Xorg configuration for the touchpad (just in case).
|
| |
|
| |
|
|
|
|
|
| |
default configuration is to rely on the nas to manage the library, and
to use samba to access the files.
|
| |
|
| |
|
|
|
|
| |
I want to backup my $HOME to the nas using restic.
|
| |
|
| |
|
|
|
|
| |
I want to map caps-lock to control.
|
|
|
|
|
| |
Start to re-organize the Makefile to install the configuration for both
linux and darwin. This is work in progress.
|
|
|
|
| |
Add configuration for the ssh-agent, pam and XDG.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Instead of passing the options as arugments to the CLI, create a
configuration file with everything we need in it.
We also manage the service with systemd.
|
|
|
|
|
|
| |
- disable the menu bar
- use the theme "leuven"
- configure the size of the fonts for linux
|
|
|
|
| |
Also use 180 for the DPI.
|
|
|
|
| |
Use the latitude and longitude for Berkeley for redshift.
|
| |
|
|
|
|
|
|
|
|
| |
Update Xresources with a few more things related to urxvt and font
rendering.
Update the xsession script to add redshift and load explicitly the
content of Xresources.
|
|
|
|
|
|
|
|
| |
We start with the Xresources and xsession files for now. We want to set
the window manager to be i3, and we need to configure some things for
the fonts.
Update the email address in the makefile too.
|
|
|
|
| |
We only want to use 'Source Code Pro' with a size of 15 on macos.
|
|
|
|
|
|
|
|
|
| |
We're moving from go/cs (twitter's own code search) to sourcegraph. I'm
adding git-link and the configuration to go from emacs to our
sourcegraph instance.
Doing `git-link` in a file will take me to the file in sg, and doing
`git-link-commit` on a commit in magit will take me to the commit in sg.
|
|
|
|
|
| |
there's a lot of stuff I've no idea what they are for and if I need
them, so let's drop and see what breaks.
|
|
|
|
| |
clean up and drop what I don't need
|
|
|
|
|
| |
too much configuration, too complex, which means I stop using it. Get
back to the minimum.
|
| |
|
| |
|
|
|
|
| |
There's no need to have this in a separate configuration file.
|
|
|
|
| |
clean up init.el from files I'm not loading.
|
|
|
|
| |
I don't use it.
|
|
|
|
|
|
| |
I can't bother learning / remembering to use it. I'm removing it again
from this configuration, and will drop it completely. There's no need to
pull / maintain another dependency which will break if I don't use it.
|
|
|
|
| |
I don't use it.
|
|
|
|
| |
I still find this annoying.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
When a directory, pressing ')' reveals git information.
|
|
|
|
|
| |
These files are used at Twitter to define how to manage a project (for
code reviews, etc). They are regular YAML file.
|
| |
|
|
|
|
|
|
|
|
|
| |
Opening a file in source is extremely slow, and I'm guessing it's
related to git/magit, since I don't see this elsewhere. As suggested in
https://magit.vc/manual/magit/Performance.html and
https://magit.vc/manual/magit/Per_002dRepository-Configuration.html, I'm
disabling git from VC's backend, and disable refreshing the magit buffer
for source.
|
| |
|
| |
|
|
|
|
| |
or stuff that I don't know what they do.
|
| |
|
| |
|
|
|
|
|
| |
For the various prog-mode, merge the configuration into a single file so
that it's easier to maintain (I guess ?)
|
|
|
|
| |
Some are moved to the libraries, some are deleted.
|
|
|
|
|
| |
These libraries are not specific to package configuration, they can be
functions or others than I use in various places.
|
| |
|
|
|
|
|
| |
It's a light theme with high contrast. It was suggested in this article
https://www.manueluberti.eu/emacs/2020/03/16/modus-themes/.
|
|
|
|
|
|
| |
There might be a bunch of stuff related to hydra that I will add, so
move the configuration to its own package to make it easier in the
future.
|
| |
|
|
|
|
|
|
| |
The configuration for the module `midnight`, `emacs-server` and
`exec-path-from-shall` is moved to the package containing a bunch of
misc. settings.
|
| |
|
| |
|
|
|
|
| |
Add a new path to load custom elisp code.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Do not enable it for everything (for example I don't want it in the
various shells).
I also want to make sure the stickiness is not enabled (I don't want to
see two lines highlighted if I've two frames open).
|
| |
|
|
|
|
|
| |
I don't use them. Let's start fresh and simple with the default
settings, and we can build from there.
|
|
|
|
|
|
| |
Using the current week view is not really efficient for me. Instead,
let's show the last 7 days and the next 10 days, this gives me a better
idea of what I need to work on.
|
|
|
|
| |
The default is just fine, it's more things to manage otherwise.
|
| |
|
| |
|
|
|
|
| |
Add a few bindings to move up / down / left / right.
|
| |
|
|
|
|
|
| |
Increase the number of available priorities, and set the default to C
when creating a new task.
|
| |
|
|
|
|
|
| |
Let's not force the length of the lines, but instead rely on visual line
mode to wrap them.
|
|
|
|
| |
The default one is good enough.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
A few changes to the configuration related to go, mostly to drop some
code that is not needed anymore.
Add a few more bindings for LSP.
Add `company-posframe`, which is a nicer UI for company.
|
|
|
|
|
|
|
|
|
|
| |
Only use the `flyspell` package if we can find the binary for `aspell`
on the host.
Move a couple of settings from `:config` to `:custom`.
Use `flyspell-correct-ivy`, which is a better UX (for me) than a buffer
at the top of the frame.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously I was using the package `eglot` to provide LSP functionality.
However, the package uses flymake for it, while my setup in general uses
flycheck. Since lsp-mode supports both, I'm switching to ls-mode.
I'm moving the code for company to the 'prog' module, so that all things
related to general programming is in one location.
Since I'm switching to lsp-mode mode primarily for go, I can also delete
a bunch of extra functionality that is now provided by lsp-mode.
|
|
|
|
|
| |
Set the size of the font to 15pt, 16 was a little bit too large on the
laptop.
|
|
|
|
|
| |
Not having them displayed make it more difficult to me to navigate files
and directories.
|
|
|
|
|
|
|
|
| |
With a bigger font, on a 13" laptop, I want magit to be full frame, I
don't want anything splitted.
Move a couple of other settings to the `:custom` section of
`use-package`.
|
|
|
|
|
| |
I need to use bigger font, I wasted a lot of time yesterday on an issue
that was caused by a typo.
|
|
|
|
| |
The setting `ivy-use-virtual-buffer` was set twice.
|
|
|
|
|
|
| |
The module bumped the dependency on a newer version of org-mode that
does not work on my machine (I might have an older version of emacs,
and I'd need to update).
|
|
|
|
|
|
|
|
| |
Having the files defined as `defvar` did not work: a bunch of stuff
were failing to load correctly.
Customize the look of completed tasks, to make it more obvious that I
don't need to pay attention to them.
|
|
|
|
| |
I don't have any need for these functions.
|
| |
|
|
|
|
|
|
|
|
| |
I'm giving LSP a try with go, and I've decided to go with eglot for
now, instead of lsp-mode.
I gave a try to lsp-mode and the configuration was not obvious, it was
slow, it kept asking questions, and the UI was pretty awful.
|
| |
|
|
|
|
|
|
|
|
| |
Add the current time (in 24 hours format) to the modeline.
Configure Emacs to start in fullscreen.
Set a slightly smaller font too (but keep the same font).
|
| |
|
|
|
|
|
| |
If I understand correctly, this was trying to complete 'words' based
on the rest of the document, which I don't want.
|
| |
|
| |
|
|
|
|
|
|
| |
Instead of having functions related to org in another file, move
everything in a single file, this makes it easier to find dead code
and update some functions.
|
|
|
|
| |
`orgit` allows you to link to a magit buffer in org-mode.
|
|
|
|
|
|
| |
The template for the interview was already existing, so add it back,
and add a new template for meetings. By default they all go to inbox,
and I will use the function to refile them to the work journal.
|
|
|
|
|
| |
Add a docstring to the function to refile a subtree to the work
journal.
|
|
|
|
|
| |
I don't use the property *TIMESTAMP_IA* so I can drop this from the
code.
|
|
|
|
| |
Configure the calendar to start the week on Monday instead of Sunday.
|
|
|
|
|
|
| |
I want to be able to refile some notes to a datetree. These new
functions do just that, and one of them is specific to the work
journal.
|
|
|
|
|
| |
I prefer to see the details, it's easier to understand what I'm
looking at.
|
|
|
|
|
|
|
|
| |
The light version of the theme is pretty readable, similar to
solarized but with more contrast.
I'm also adding the support for the spaceline using the spacemacs
theme, since it's pretty clean and improve the readability.
|
|
|
|
|
|
| |
This used to work on the previous version of OSX, but not
anymore. Cleaning up the configuration too, by dropping commented
line.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding a menu for hydra, to jump quickly to some files.
I'm also adding a few custom commands for the agenda. After that many
experiment, I think this is what I'm missing to be more
efficient. This allows me to ignore completely how the file *looks*
and focus on getting through the tasks.
I'm also adding a few keywords for managing tasks:
- PROJECT is for large tasks (e.g. an epic). This can be transitioned
to PROJECTDONE
- MEETING and NOTES are tasks that are completed, and I use them to
keep track of various things in a project.
|
|
|
|
|
| |
I'm using 3 columns, this seems to do nothing, and not annoyed enough
to go read the doc.
|
| |
|
| |
|
|
|
|
|
| |
Use emacs implementation of `ls`, which allows us to group files by
type (only GNU's `ls` does that, not the one shipped by MacOS)
|
|
|
|
|
|
|
| |
The list of tools to install is move to an org file where I can
execute the block to install everything.
Remove extra new lines that make the file harder to read.
|
|
|
|
| |
open a magit-status buffer when running `gs`.
|
|
|
|
|
| |
especially nice for switching buffer with the minibuffer view, it
shows a little bit more information.
|
|
|
|
| |
this modeline is nice and easy to spot which modes are enabled.
|
|
|
|
| |
this is useful to format a json buffer using jq.
|
| |
|
|
|
|
|
| |
this is super annoying, it tries to complete strings in comments,
which is not what i need, i only care about completion for the code.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
set the correct title of the file for org journal, and don't add the
current file when creating a new entry with org-capture.
|
|
|
|
|
|
|
|
| |
* `fcuny/gocs` is to use twitter's internal code search engine.
* `fcuny/uniqify-region-lines` is to remove duplicated lines (useful
when lines are sorted)
* `fcuny/org-journal-date-format-func` is to set the correct title of
the journal file
|
|
|
|
| |
add a few more bindings to the menu, mostly for navigation and tests.
|
| |
|
|
|
|
|
| |
one template is enough to capture what ever is going on. too much
choices makes it less likely i'll use it.
|
| |
|
|
|
|
| |
there's no `json-mode`, only `js-mode`.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
i've used the workflow documented at
http://www.howardism.org/Technical/Emacs/getting-more-boxes-done.html
for the last few days and it's definitely better than anything i've
tried so far.
the rewrite is mostly to replicate the configuration (with some minor
adjustments).
|
| |
|
|
|
|
| |
small change to the capture template
|
|
|
|
| |
this is pretty ugly and not really helpful.
|
| |
|
|
|
|
| |
add a few more variables for that module
|
|
|
|
|
| |
review the grouping order (org first, for example, and group a few
more file extensions together).
|
|
|
|
|
|
|
| |
guide key was not that helpful, hydra is a better way to deal with
that problem.
update ibuffer config to group files by major mode.
|
|
|
|
|
| |
add configuration for ediff, and update the settings for the paren
mode.
|
|
|
|
|
|
|
| |
with trailing white space highlight on by default, they are
highlighted in places i don't care (e.g. mini buffer) and this is
distracting. instead, only enable them for the modes i really care
about.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
move the requirement for `company-go` to the module for go.
rework the configuration for hydra, to make it a little bit easier.
force length of comments to 80 characters per line.
|
|
|
|
|
|
|
|
|
|
| |
improve the support to write go code. adding hydra to don't have to
remember all the commands i want to use with `go-guru`, and add
`gotest` to run tests directly from emacs.
add `company-go` for code completion.
will likely add more commands to hydra as i go.
|
|
|
|
| |
drop some old alias for url
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
mostly inspired by reading https://github.com/patrickt/emacs. i've
made the configuration of counsel and ivy more explicit, by splitting
the customization.
i've fixed the binding for searching with a buffer to rely on rgrep
instead of ag (since i've switched to rg).
i'm going to try the module 'guide-key' to see if i can be better at
remembering some bindings (i always forget a bunch of them).
|
| |
|
|
|
|
| |
I switched to macport, and I don't have GNU ls anymore.
|
| |
|
| |
|
|
|
|
|
| |
There's a bunch of binaries that are completely out dated, and this is
causing a lot of stuff to fail with emacs.
|