summary refs log tree commit diff
path: root/emacs.d (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-01[emacs]: a few changes to the UIFranck Cuny1-1/+8
- disable the menu bar - use the theme "leuven" - configure the size of the fonts for linux
2020-09-23fonts: let's use DejaVu where possibleFranck Cuny2-3/+3
Also use 180 for the DPI.
2020-09-23xsession: use Berkeley's lat/longFranck Cuny1-1/+1
Use the latitude and longitude for Berkeley for redshift.
2020-09-12linux: add i3 configFranck Cuny2-0/+170
2020-09-12linux: a few more configsFranck Cuny2-1/+33
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.
2020-09-12linux: new resource files for linuxFranck Cuny3-1/+10
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.
2020-08-31emacs: set the font for macosFranck Cuny1-1/+1
We only want to use 'Source Code Pro' with a size of 15 on macos.
2020-07-17emacs: add git-link / support for sourcegraphFranck Cuny1-0/+31
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.
2020-06-23zsh: simplify configurationFranck Cuny2-39/+0
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.
2020-06-18emacs: update prog moduleFranck Cuny1-14/+8
clean up and drop what I don't need
2020-06-18emacs: clean up orgFranck Cuny1-141/+43
too much configuration, too complex, which means I stop using it. Get back to the minimum.
2020-06-18emacs: once again, larger fontFranck Cuny1-1/+1
2020-06-18emacs: stop using hydraFranck Cuny1-11/+0
2020-06-18emacs: move ivy configuration to navigationFranck Cuny3-42/+44
There's no need to have this in a separate configuration file.
2020-06-18emacs: move puppet config to progFranck Cuny3-14/+5
clean up init.el from files I'm not loading.
2020-06-18emacs: delete elfeedFranck Cuny1-44/+0
I don't use it.
2020-06-04emacs: drop hydra for prog modeFranck Cuny1-41/+1
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.
2020-05-29emacs: remove dired-git-infoFranck Cuny1-5/+0
I don't use it.
2020-05-29emacs: remove ace-windowFranck Cuny1-35/+0
I still find this annoying.
2020-05-29tmux: remove duplicated settingsFranck Cuny1-6/+0
2020-05-10emacs: stuff for puppetFranck Cuny1-1/+7
2020-05-10emacs: stuff for goFranck Cuny1-9/+11
2020-05-10emacs: flycheck stuffFranck Cuny1-7/+9
2020-05-10emacs: drop ediffFranck Cuny1-25/+4
2020-05-08[emacs] looks like I forgot this oneFranck Cuny1-1/+4
2020-05-08[emacs] show git info in dired-modeFranck Cuny1-0/+5
When a directory, pressing ')' reveals git information.
2020-05-08[emacs] treat PROJECT files as YAMLFranck Cuny1-0/+3
These files are used at Twitter to define how to manage a project (for code reviews, etc). They are regular YAML file.
2020-04-12emacs/ui: use the default themeFranck Cuny2-8/+12
2020-03-21magit: improve performance for magit in large repoFranck Cuny1-0/+14
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.
2020-03-21elfeed: one more blogFranck Cuny1-0/+1
2020-03-19emacs: remove unused bindingsFranck Cuny1-3/+0
2020-03-19magit: clean up config by removing unused stuffFranck Cuny1-9/+4
or stuff that I don't know what they do.
2020-03-19emacs: add a few more modes for git supportFranck Cuny1-2/+7
2020-03-19doc: switch to org-mode instead of markdownFranck Cuny2-4/+6
2020-03-19emacs: merge configuration related to prog-modeFranck Cuny7-84/+86
For the various prog-mode, merge the configuration into a single file so that it's easier to maintain (I guess ?)
2020-03-19emacs: move/delete some functionsFranck Cuny1-36/+0
Some are moved to the libraries, some are deleted.
2020-03-19emacs: add custom librariesFranck Cuny2-0/+33
These libraries are not specific to package configuration, they can be functions or others than I use in various places.
2020-03-19elfeed: add support for hydraFranck Cuny1-1/+30
2020-03-19emacs: use the theme modus-operandiFranck Cuny3-62/+79
It's a light theme with high contrast. It was suggested in this article https://www.manueluberti.eu/emacs/2020/03/16/modus-themes/.
2020-03-15emacs: new module for hydraFranck Cuny2-3/+11
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.
2020-03-15emacs: consolidate configuration for conf-modeFranck Cuny4-19/+12
2020-03-15emacs: consolidate basic configurationFranck Cuny2-16/+16
The configuration for the module `midnight`, `emacs-server` and `exec-path-from-shall` is moved to the package containing a bunch of misc. settings.
2020-03-15emacs: ensure a few more things are utf8Franck Cuny1-0/+2
2020-03-15emacs: move configuration for the fringeFranck Cuny1-5/+2
2020-03-15emacs: new path to load elisp codeFranck Cuny1-0/+1
Add a new path to load custom elisp code.
2020-03-15elfeed: add a few more blogsFranck Cuny1-2/+22
2020-03-12[emacs] add key bindings to change font sizeFranck Cuny1-1/+3
2020-03-12[emacs] hl-line mode configurationFranck Cuny1-3/+3
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).
2020-03-12[emacs] size of the fontFranck Cuny1-1/+1
2020-02-16org: delete the custom commands for the agendaFranck Cuny1-112/+0
I don't use them. Let's start fresh and simple with the default settings, and we can build from there.
2020-02-16org: change the number of days in the calendarFranck Cuny1-0/+2
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.
2020-02-16org: don't set custom facesFranck Cuny1-8/+0
The default is just fine, it's more things to manage otherwise.
2020-02-16magit: minor configuration updateFranck Cuny1-0/+2
2020-02-11org: path to the file to store the IDs.Franck Cuny1-0/+2
2020-02-11emacs: easy navigation between windowsFranck Cuny1-0/+6
Add a few bindings to move up / down / left / right.
2020-02-11org: don't narrow when capturing a journal entry.Franck Cuny1-2/+2
2020-02-11org: change the default prioritiesFranck Cuny1-2/+2
Increase the number of available priorities, and set the default to C when creating a new task.
2020-02-11org: don't change the default ellipsisFranck Cuny1-1/+0
2020-02-11org: change some of the hooks.Franck Cuny1-5/+3
Let's not force the length of the lines, but instead rely on visual line mode to wrap them.
2020-02-11emacs: don't use smart linesFranck Cuny1-7/+0
The default one is good enough.
2020-02-11emacs: ensure the package diminish is installed.Franck Cuny1-0/+3
2020-02-09lsp: add peek definition to hydra.Franck Cuny1-0/+1
2020-01-23elfeed: updateFranck Cuny1-0/+1
2020-01-23aspell: a few more wordsFranck Cuny1-10/+14
2020-01-13emacs/prog: more cleanup for lsp/go.Franck Cuny2-21/+28
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.
2020-01-13emacs/text: flyspell configuration.Franck Cuny1-10/+11
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.
2020-01-13emacs/go: add binding to run tests.Franck Cuny1-1/+5
2020-01-13emacs/nav: diminish ivy/counsel.Franck Cuny1-0/+2
2020-01-13emacs/prog: switch to lsp-modeFranck Cuny4-70/+36
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.
2020-01-13emacs/ui: font sizeFranck Cuny1-1/+1
Set the size of the font to 15pt, 16 was a little bit too large on the laptop.
2019-12-27emacs: show . and .. with ivy.Franck Cuny1-0/+1
Not having them displayed make it more difficult to me to navigate files and directories.
2019-12-27emacs: magit buffer in full frameFranck Cuny1-2/+4
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`.
2019-12-27emacs: bigger font.Franck Cuny1-1/+1
I need to use bigger font, I wasted a lot of time yesterday on an issue that was caused by a typo.
2019-12-27emacs: remove duplicated setting for ivyFranck Cuny1-1/+0
The setting `ivy-use-virtual-buffer` was set twice.
2019-12-23org: don't use orgit for now.Franck Cuny1-2/+3
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).
2019-12-23org: files and appearance.Franck Cuny1-11/+22
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.
2019-12-23org: remove unused functions.Franck Cuny1-20/+0
I don't have any need for these functions.
2019-12-23emacs: add gnu to melpa.Franck Cuny1-1/+2
2019-12-23emacs: use eglot for LSPFranck Cuny2-0/+11
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.
2019-12-23emacs: fontify markdown.Franck Cuny1-0/+2
2019-12-23emacs: Add time to the modeline and smaller font.Franck Cuny1-12/+18
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).
2019-12-23emacs: no double space between sentences.Franck Cuny1-0/+3
2019-12-23emacs: don't complete abbreviations.Franck Cuny1-1/+0
If I understand correctly, this was trying to complete 'words' based on the rest of the document, which I don't want.
2019-12-23aspell: Add more words.Franck Cuny1-2/+3
2019-12-09[git] add a couple of aliasesFranck Cuny1-1/+4
2019-12-09[org] put all configs related to org togetherFranck Cuny2-239/+44
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.
2019-12-09[org] add `orgit` to my configuration.Franck Cuny1-0/+3
`orgit` allows you to link to a magit buffer in org-mode.
2019-12-09[org] Add template for meeting / interviews.Franck Cuny2-1/+9
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.
2019-12-09[org] Add docstring to a function.Franck Cuny1-0/+2
Add a docstring to the function to refile a subtree to the work journal.
2019-12-09[org] Clean up function to move to datetree.Franck Cuny1-1/+0
I don't use the property *TIMESTAMP_IA* so I can drop this from the code.
2019-12-09[org] The week starts on MondayFranck Cuny1-1/+2
Configure the calendar to start the week on Monday instead of Sunday.
2019-12-09[org] Add functions to refile to datetreeFranck Cuny1-14/+32
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.
2019-11-23[emacs] don't hide directories info.Franck Cuny2-84/+83
I prefer to see the details, it's easier to understand what I'm looking at.
2019-11-23[emacs] Add a new theme: spacemacs.Franck Cuny1-8/+12
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.
2019-11-23[zsh] cleanup after migrating to OSX CatalinaFranck Cuny2-4/+2
This used to work on the previous version of OSX, but not anymore. Cleaning up the configuration too, by dropping commented line.
2019-10-06[elfeed] adding one more site.Franck Cuny1-0/+2
2019-10-06[org] a lot of changes.Franck Cuny1-87/+187
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.
2019-10-06[emacs] dropped the :columns informationFranck Cuny1-1/+1
I'm using 3 columns, this seems to do nothing, and not annoyed enough to go read the doc.
2019-10-06[emacs] smaller fontFranck Cuny1-1/+1
2019-10-06[emacs] fixed configuration for elfeed.Franck Cuny1-0/+2
2019-10-06[emasc] use `ls-lisp` for dired.Franck Cuny1-4/+9
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)
2019-10-06[emacs] clean up go's configuration.Franck Cuny1-27/+8
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.
2019-09-27[emacs] add new alias for eshell (git status)Franck Cuny1-0/+1
open a magit-status buffer when running `gs`.
2019-09-27[emacs] new package: ivy-richFranck Cuny1-0/+10
especially nice for switching buffer with the minibuffer view, it shows a little bit more information.
2019-09-27[emacs] use smart-modeline (again)Franck Cuny1-0/+10
this modeline is nice and easy to spot which modes are enabled.
2019-09-27[emacs] new package: jq-formatFranck Cuny1-0/+3
this is useful to format a json buffer using jq.
2019-09-19[emacs] aurora files -> python modeFranck Cuny1-1/+2
2019-09-19[emacs] drop dabbrev from company's backendFranck Cuny1-1/+2
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.
2019-09-16[org] bigger font for title / headlinesFranck Cuny1-2/+11
2019-09-16[elfeed] not sure my previous list was workingFranck Cuny1-11/+9
2019-09-16[emacs] let's try a slightly larger fontFranck Cuny1-1/+1
2019-09-16[emacs] fix hydra menuFranck Cuny1-1/+2
2019-09-14[emacs] start using elfeed.Franck Cuny3-0/+29
2019-09-14[org] small improvements to hydra and templatesFranck Cuny1-4/+4
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.
2019-09-14[emacs] add a couple more functions.Franck Cuny1-0/+27
* `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
2019-09-13[emacs] update hydra menu for go-modeFranck Cuny1-9/+12
add a few more bindings to the menu, mostly for navigation and tests.
2019-09-13[emacs] once again, fontsFranck Cuny1-1/+1
2019-08-29[org] drop all my custom templates but one.Franck Cuny1-25/+1
one template is enough to capture what ever is going on. too much choices makes it less likely i'll use it.
2019-08-29[emacs] giving a try to eshellFranck Cuny2-0/+40
2019-08-29[emacs] fix configuration for jsonFranck Cuny1-2/+2
there's no `json-mode`, only `js-mode`.
2019-08-29[emacs] change fontFranck Cuny1-1/+1
2019-08-29[org] major rewrite of the configFranck Cuny2-72/+335
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).
2019-08-26[org] fix template to create tasksFranck Cuny1-1/+1
2019-08-24[org] set default file for inboxFranck Cuny1-8/+5
small change to the capture template
2019-08-24[emacs] don't stretch cursor on tabsFranck Cuny1-3/+0
this is pretty ugly and not really helpful.
2019-08-02[emacs] add list of tools needed for goFranck Cuny1-0/+16
2019-08-02[emacs] company updateFranck Cuny1-1/+7
add a few more variables for that module
2019-08-02[emacs] update grouping in ibufferFranck Cuny1-2/+12
review the grouping order (org first, for example, and group a few more file extensions together).
2019-07-30[emacs] drop guide key and update ibuffer configFranck Cuny1-8/+16
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.
2019-07-30[emacs] ediff + parenFranck Cuny1-3/+24
add configuration for ediff, and update the settings for the paren mode.
2019-07-30[emacs] configuration for whitespace-modeFranck Cuny2-11/+22
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.
2019-07-29[zsh] small improvement to the promptFranck Cuny1-1/+1
2019-07-29[zsh] use `mg` as default editor in the terminalFranck Cuny1-1/+1
2019-07-29[emacs] need to load module for company.Franck Cuny1-0/+1
2019-07-29[emacs] improve support for goFranck Cuny2-24/+40
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.
2019-07-26[emacs] improve support for go-modeFranck Cuny3-7/+36
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.
2019-07-25[git] some clean upFranck Cuny1-2/+4
drop some old alias for url
2019-07-25[emacs] use pandoc if available for markdownFranck Cuny1-1/+4
2019-06-25[emacs] rework the configuration for navigation.Franck Cuny1-24/+42
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).
2019-06-24[make] update path where to store screenshots.Franck Cuny2-6/+6
2019-06-21[emacs] fix arguments for calling lsFranck Cuny1-2/+2
I switched to macport, and I don't have GNU ls anymore.
2019-06-21[emacs] font size...Franck Cuny1-1/+1
2019-06-21[emacs] add elpa repo for org.Franck Cuny1-1/+2
2019-06-12[emacs] Trying to fix my go setupFranck Cuny2-0/+10
There's a bunch of binaries that are completely out dated, and this is causing a lot of stuff to fail with emacs.
2019-06-12[emacs] another try to load correctly GOPATHFranck Cuny1-3/+4
2019-06-12[emacs] don't use tips for flycheck errorsFranck Cuny1-6/+0
They are not easy to read, and it's easier to go to the message buffer when debugging something.
2019-06-12[zsh] replace bash with zshFranck Cuny3-21/+37
In the next version of OS X, zsh will become the default shell.
2019-06-10[emacs] move org to documents instead of dropboxFranck Cuny1-1/+1
2019-06-10[emacs] I really need a bigger fontFranck Cuny1-1/+1
2019-06-10[tmux] here we go againFranck Cuny2-2/+20
2019-05-23[emacs] merged a bunch of org-files together.Franck Cuny1-19/+18
I'll rather have fewer files and rely on tagging to find what I'm looking for.
2019-05-23[emacs] enable org-babel for shell modeFranck Cuny1-0/+8
2019-05-23[emacs] small update to some templates for org.Franck Cuny2-13/+14
2019-05-23[emacs] add a few bindings for go.Franck Cuny1-0/+6
2019-05-14[emacs] fix prompt for candidate name in template.Franck Cuny1-1/+1
2019-05-14[emacs] update templates to rely more on inbox.Franck Cuny1-19/