summary refs log tree commit diff
path: root/emacs.d/custom (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] show git info in dired-modeFranck Cuny2020-05-081-0/+5
| | | | When a directory, pressing ')' reveals git information.
* [emacs] treat PROJECT files as YAMLFranck Cuny2020-05-081-0/+3
| | | | | These files are used at Twitter to define how to manage a project (for code reviews, etc). They are regular YAML file.
* emacs/ui: use the default themeFranck Cuny2020-04-122-8/+12
|
* magit: improve performance for magit in large repoFranck Cuny2020-03-211-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.
* emacs: remove unused bindingsFranck Cuny2020-03-191-3/+0
|
* magit: clean up config by removing unused stuffFranck Cuny2020-03-191-9/+4
| | | | or stuff that I don't know what they do.
* emacs: add a few more modes for git supportFranck Cuny2020-03-191-2/+7
|
* emacs: merge configuration related to prog-modeFranck Cuny2020-03-196-67/+84
| | | | | For the various prog-mode, merge the configuration into a single file so that it's easier to maintain (I guess ?)
* emacs: move/delete some functionsFranck Cuny2020-03-191-36/+0
| | | | Some are moved to the libraries, some are deleted.
* elfeed: add support for hydraFranck Cuny2020-03-191-1/+30
|
* emacs: use the theme modus-operandiFranck Cuny2020-03-193-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/.
* emacs: new module for hydraFranck Cuny2020-03-152-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.
* emacs: consolidate configuration for conf-modeFranck Cuny2020-03-154-19/+12
|
* emacs: consolidate basic configurationFranck Cuny2020-03-152-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.
* emacs: ensure a few more things are utf8Franck Cuny2020-03-151-0/+2
|
* emacs: move configuration for the fringeFranck Cuny2020-03-151-5/+2
|
* [emacs] add key bindings to change font sizeFranck Cuny2020-03-121-1/+3
|
* [emacs] hl-line mode configurationFranck Cuny2020-03-121-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).
* [emacs] size of the fontFranck Cuny2020-03-121-1/+1
|
* org: delete the custom commands for the agendaFranck Cuny2020-02-161-112/+0
| | | | | I don't use them. Let's start fresh and simple with the default settings, and we can build from there.
* org: change the number of days in the calendarFranck Cuny2020-02-161-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.
* org: don't set custom facesFranck Cuny2020-02-161-8/+0
| | | | The default is just fine, it's more things to manage otherwise.
* magit: minor configuration updateFranck Cuny2020-02-161-0/+2
|
* org: path to the file to store the IDs.Franck Cuny2020-02-111-0/+2
|
* emacs: easy navigation between windowsFranck Cuny2020-02-111-0/+6
| | | | Add a few bindings to move up / down / left / right.
* org: don't narrow when capturing a journal entry.Franck Cuny2020-02-111-2/+2
|
* org: change the default prioritiesFranck Cuny2020-02-111-2/+2
| | | | | Increase the number of available priorities, and set the default to C when creating a new task.
* org: don't change the default ellipsisFranck Cuny2020-02-111-1/+0
|
* org: change some of the hooks.Franck Cuny2020-02-111-5/+3
| | | | | Let's not force the length of the lines, but instead rely on visual line mode to wrap them.
* emacs: don't use smart linesFranck Cuny2020-02-111-7/+0
| | | | The default one is good enough.
* emacs: ensure the package diminish is installed.Franck Cuny2020-02-111-0/+3
|
* lsp: add peek definition to hydra.Franck Cuny2020-02-091-0/+1
|
* emacs/prog: more cleanup for lsp/go.Franck Cuny2020-01-132-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.
* emacs/text: flyspell configuration.Franck Cuny2020-01-131-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.
* emacs/go: add binding to run tests.Franck Cuny2020-01-131-1/+5
|
* emacs/nav: diminish ivy/counsel.Franck Cuny2020-01-131-0/+2
|
* emacs/prog: switch to lsp-modeFranck Cuny2020-01-133-69/+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.
* emacs/ui: font sizeFranck Cuny2020-01-131-1/+1
| | | | | Set the size of the font to 15pt, 16 was a little bit too large on the laptop.
* emacs: show . and .. with ivy.Franck Cuny2019-12-271-0/+1
| | | | | Not having them displayed make it more difficult to me to navigate files and directories.
* emacs: magit buffer in full frameFranck Cuny2019-12-271-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`.
* emacs: bigger font.Franck Cuny2019-12-271-1/+1
| | | | | I need to use bigger font, I wasted a lot of time yesterday on an issue that was caused by a typo.
* emacs: remove duplicated setting for ivyFranck Cuny2019-12-271-1/+0
| | | | The setting `ivy-use-virtual-buffer` was set twice.
* org: don't use orgit for now.Franck Cuny2019-12-231-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).
* org: files and appearance.Franck Cuny2019-12-231-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.
* org: remove unused functions.Franck Cuny2019-12-231-20/+0
| | | | I don't have any need for these functions.
* emacs: use eglot for LSPFranck Cuny2019-12-231-0/+9
| | | | | | | | 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.
* emacs: fontify markdown.Franck Cuny2019-12-231-0/+2
|
* emacs: Add time to the modeline and smaller font.Franck Cuny2019-12-231-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).
* emacs: no double space between sentences.Franck Cuny2019-12-231-0/+3
|
* emacs: don't complete abbreviations.Franck Cuny2019-12-231-1/+0
| | | | | If I understand correctly, this was trying to complete 'words' based on the rest of the document, which I don't want.
* [org] put all configs related to org togetherFranck Cuny2019-12-092-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.
* [org] add `orgit` to my configuration.Franck Cuny2019-12-091-0/+3
| | | | `orgit` allows you to link to a magit buffer in org-mode.
* [org] Add template for meeting / interviews.Franck Cuny2019-12-091-0/+8
| | | | | | 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.
* [org] Add docstring to a function.Franck Cuny2019-12-091-0/+2
| | | | | Add a docstring to the function to refile a subtree to the work journal.
* [org] Clean up function to move to datetree.Franck Cuny2019-12-091-1/+0
| | | | | I don't use the property *TIMESTAMP_IA* so I can drop this from the code.
* [org] The week starts on MondayFranck Cuny2019-12-091-1/+2
| | | | Configure the calendar to start the week on Monday instead of Sunday.
* [org] Add functions to refile to datetreeFranck Cuny2019-12-091-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.
* [emacs] don't hide directories info.Franck Cuny2019-11-232-84/+83
| | | | | I prefer to see the details, it's easier to understand what I'm looking at.
* [emacs] Add a new theme: spacemacs.Franck Cuny2019-11-231-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.
* [org] a lot of changes.Franck Cuny2019-10-061-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.
* [emacs] dropped the :columns informationFranck Cuny2019-10-061-1/+1
| | | | | I'm using 3 columns, this seems to do nothing, and not annoyed enough to go read the doc.
* [emacs] smaller fontFranck Cuny2019-10-061-1/+1
|
* [emacs] fixed configuration for elfeed.Franck Cuny2019-10-061-0/+2
|
* [emasc] use `ls-lisp` for dired.Franck Cuny2019-10-061-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)
* [emacs] clean up go's configuration.Franck Cuny2019-10-061-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.
* [emacs] add new alias for eshell (git status)Franck Cuny2019-09-271-0/+1
| | | | open a magit-status buffer when running `gs`.
* [emacs] new package: ivy-richFranck Cuny2019-09-271-0/+10
| | | | | especially nice for switching buffer with the minibuffer view, it shows a little bit more information.
* [emacs] use smart-modeline (again)Franck Cuny2019-09-271-0/+10
| | | | this modeline is nice and easy to spot which modes are enabled.
* [emacs] new package: jq-formatFranck Cuny2019-09-271-0/+3
| | | | this is useful to format a json buffer using jq.
* [emacs] aurora files -> python modeFranck Cuny2019-09-191-1/+2
|
* [emacs] drop dabbrev from company's backendFranck Cuny2019-09-191-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.
* [org] bigger font for title / headlinesFranck Cuny2019-09-161-2/+11
|
* [emacs] let's try a slightly larger fontFranck Cuny2019-09-161-1/+1
|
* [emacs] fix hydra menuFranck Cuny2019-09-161-1/+2
|
* [emacs] start using elfeed.Franck Cuny2019-09-141-0/+13
|
* [org] small improvements to hydra and templatesFranck Cuny2019-09-141-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.
* [emacs] add a couple more functions.Franck Cuny2019-09-141-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
* [emacs] update hydra menu for go-modeFranck Cuny2019-09-131-9/+12
| | | | add a few more bindings to the menu, mostly for navigation and tests.
* [emacs] once again, fontsFranck Cuny2019-09-131-1/+1
|
* [org] drop all my custom templates but one.Franck Cuny2019-08-291-25/+1
| | | | | one template is enough to capture what ever is going on. too much choices makes it less likely i'll use it.
* [emacs] giving a try to eshellFranck Cuny2019-08-291-0/+38
|
* [emacs] fix configuration for jsonFranck Cuny2019-08-291-2/+2
| | | | there's no `json-mode`, only `js-mode`.
* [emacs] change fontFranck Cuny2019-08-291-1/+1
|
* [org] major rewrite of the configFranck Cuny2019-08-292-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).
* [org] fix template to create tasksFranck Cuny2019-08-261-1/+1
|
* [org] set default file for inboxFranck Cuny2019-08-241-8/+5
| | | | small change to the capture template
* [emacs] don't stretch cursor on tabsFranck Cuny2019-08-241-3/+0
| | | | this is pretty ugly and not really helpful.
* [emacs] add list of tools needed for goFranck Cuny2019-08-021-0/+16
|
* [emacs] company updateFranck Cuny2019-08-021-1/+7
| | | | add a few more variables for that module
* [emacs] update grouping in ibufferFranck Cuny2019-08-021-2/+12
| | | | | review the grouping order (org first, for example, and group a few more file extensions together).
* [emacs] drop guide key and update ibuffer configFranck Cuny2019-07-301-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.
* [emacs] ediff + parenFranck Cuny2019-07-301-3/+24
| | | | | add configuration for ediff, and update the settings for the paren mode.
* [emacs] configuration for whitespace-modeFranck Cuny2019-07-301-3/+10
| | | | | | | 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.
* [emacs] improve support for goFranck Cuny2019-07-292-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.
* [emacs] improve support for go-modeFranck Cuny2019-07-263-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.
* [emacs] use pandoc if available for markdownFranck Cuny2019-07-251-1/+4
|
* [emacs] rework the configuration for navigation.Franck Cuny2019-06-251-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).
* [make] update path where to store screenshots.Franck Cuny2019-06-241-5/+5
|
* [emacs] fix arguments for calling lsFranck Cuny2019-06-211-2/+2
| | | | I switched to macport, and I don't have GNU ls anymore.
* [emacs] font size...Franck Cuny2019-06-211-1/+1
|
* [emacs] Trying to fix my go setupFranck Cuny2019-06-121-0/+2
| | | | | There's a bunch of binaries that are completely out dated, and this is causing a lot of stuff to fail with emacs.
* [emacs] another try to load correctly GOPATHFranck Cuny2019-06-121-3/+4
|
* [emacs] don't use tips for flycheck errorsFranck Cuny2019-06-121-6/+0
| | | | | They are not easy to read, and it's easier to go to the message buffer when debugging something.
* [emacs] move org to documents instead of dropboxFranck Cuny2019-06-101-1/+1
|
* [emacs] I really need a bigger fontFranck Cuny2019-06-101-1/+1
|
* [emacs] merged a bunch of org-files together.Franck Cuny2019-05-231-19/+18
| | | | | I'll rather have fewer files and rely on tagging to find what I'm looking for.
* [emacs] enable org-babel for shell modeFranck Cuny2019-05-231-0/+8
|
* [emacs] add a few bindings for go.Franck Cuny2019-05-231-0/+6
|
* [emacs] update templates to rely more on inbox.Franck Cuny2019-05-141-19/+14
| | | | | I spend too much time thinking where something should go. Put it in the inbox and deal with it later.
* [emacs] fontify code with org-babelFranck Cuny2019-05-131-0/+1
|
* [emacs] more re-work of the templates.Franck Cuny2019-05-131-19/+16
| | | | I've added a new template to create projects.
* [emacs] add adaptive cursor.Franck Cuny2019-05-131-0/+3
|
* [emacs] fix a couple templates for org.Franck Cuny2019-05-121-2/+4
|
* [emacs] don't export TOC and section number for org.Franck Cuny2019-05-122-1/+4
|
* [emacs] Fix some org-mode templatesFranck Cuny2019-05-121-4/+17
|
* [emacs] fix refile for org-mode with swiperFranck Cuny2019-05-121-0/+7
| | | | | | There was an issue where swiper would only offer the name of the file to refile to, not all the headings. Fix the configuration to make this work as expected.
* [emacs] Move org-mode notes to dropboxFranck Cuny2019-05-121-1/+1
|
* [emacs] Add functions to fetch title of a page/Franck Cuny2019-05-121-0/+25
| | | | | Given an URL, fetch the title of the page, and create an org-mode link from it.
* [emacs] org mode templatesFranck Cuny2019-05-031-17/+12
|
* [emacs] enable pretty entities in orgFranck Cuny2019-05-031-0/+2
|
* [emacs] once again, font sizeFranck Cuny2019-05-031-1/+1
|
* [emacs] Add a template for weekly review.Franck Cuny2019-04-302-0/+11
| | | | | In addition to the template, we introduce a new directory (etc) where this template will be. There's a new custom variable for the new path.
* [emacs] Ignore macos files when browsing.Franck Cuny2019-04-301-1/+2
|
* [emacs] Update binding for templates in org mode.Franck Cuny2019-04-301-2/+2
| | | | It's a journal, not a diary, so start with j|J.
* [emacs] Add htmlize to export to HTML.Franck Cuny2019-04-301-0/+3
| | | | Looks like I need this now to start exporting buffers to HTML ?
* [emacs] Fix the todo keywords sequence.Franck Cuny2019-04-301-10/+2
| | | | | | First, I made a typo in the name of the variable, which is why the sequencing did not work. Secondly, let's start with something simple instead of multiple sequences.
* [emacs] Be explicit for new lines in org-mode.Franck Cuny2019-04-301-7/+5
| | | | | | I don't want newline when I create to do items, but when I write new entries in various docs, I want that newline. It's better to be explicit in the configuration.
* [emacs] switch back to Source Code Pro for the fontFranck Cuny2019-04-301-1/+1
|
* [emacs] more work on org-mode.Franck Cuny2019-04-191-25/+101
| | | | | | | | | I'm adding a custom view for the agenda, in order to see tasks in order of priorities (what's urgent, important, etc). This should help me to focus and prioritize work correctly. I've also added some comments, and used the `org-directory` variable to build all the paths.
* [emacs] add a few more packages to work with go.Franck Cuny2019-04-191-0/+22
|
* [emacs] white-mode is for prog-mode only.Franck Cuny2019-04-191-1/+1
|
* [emacs] add a few more templates to org-mode.Franck Cuny2019-04-181-7/+28
|
* [emacs] set my identity.Franck Cuny2019-04-181-0/+3
|
* [emacs] Ignore some files with dired.Franck Cuny2019-04-181-0/+11
|
* [emacs] Back to using org-mode.Franck Cuny2019-04-081-0/+24
| | | | | | | I've really made a mistake when I stopped using org-mode. At the time I probably went overboard by trying to do to much with it. Now I need to rethink a workflow and how to use it efficiently for work and personal stuff.
* [emacs] Update configuration related to git.Franck Cuny2019-04-081-1/+5
|
* [emacs] When to load pants.Franck Cuny2019-04-081-0/+1
|
* [emacs] Fix the font.Franck Cuny2019-04-081-1/+1
|
* [emacs] Add a function for python's checker.Franck Cuny2019-04-081-4/+14
|
* [Emacs] Twitter related configurations are groupedFranck Cuny2019-02-171-0/+12
| | | | | Things that are related to working at Twitter are in a single file now.
* [Emacs] BUILD files are not Python.Franck Cuny2019-02-171-2/+1
| | | | BUILD files are managed by the `pants` module.
* [Emacs] Rename `common.el` to `defuns.el`.Franck Cuny2019-02-175-7/+10
| | | | | | | The name `defuns` make more sense since it's a collection of functions. All the custom variables are using the prefix 'fcuny/' consistently.
* [Emacs] Ensure we load flycheck and flyspell.Franck Cuny2019-02-166-2/+6
|
* [Emacs] Remove extra empty line.Franck Cuny2019-02-161-1/+0
|
* [emacs] Simplify flycheck configurationFranck Cuny2019-02-161-49/+13
| | | | | I do not need custom style for reporting errors. Also move settings to `:custom`.
* [emacs] Split configuration in multiple files.Franck Cuny2019-02-1620-0/+417
This is actually an easier thing to maintain.