summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* emacs: add "git" section to ibufferFranck Cuny2021-10-081-0/+3
|
* org: simplify templates for org-captureFranck Cuny2021-10-081-69/+32
| | | | | | | | Let's not worry about synchronizing files between machines, since I want to dissociate work from personal stuff. Let's reduce the amount of files managed by org, and let's have fewer templates too.
* emacs: once again, backgroundFranck Cuny2021-10-071-0/+1
|
* git: remove old forge configurationFranck Cuny2021-10-071-1/+0
| | | | Let's use HTTPS instead of SSH for all my projects.
* git: configure forge properlyFranck Cuny2021-10-042-1/+9
| | | | | | | | | I'm going to deprecate the SSH endpoint for gitea, and use HTTPS instead for accessing the repositories. For this, I need to configure properly the credential part for the different forges (github/gitea for now), and update the URL in the forge configuration for emacs.
* emacs: add encrypted authinfo resource fileFranck Cuny2021-10-032-0/+1
| | | | Use it with the forge package.
* emacs: load the required moduleFranck Cuny2021-10-021-0/+2
|
* emacs: set variables if they existFranck Cuny2021-10-021-2/+4
|
* emacs: switch back to white for the backgroundFranck Cuny2021-10-021-1/+0
|
* aspell: new wordsFranck Cuny2021-09-291-1/+2
|
* emacs: adding modus-themes (again)Franck Cuny2021-09-291-0/+18
|
* emacs: set variable only if it existsFranck Cuny2021-09-291-1/+2
| | | | | | The emacs version on arch does not yet have support for native code compilation, so I need to check that the variable exists before using it.
* emacs: more tweaks for notmuchFranck Cuny2021-09-251-1/+5
|
* emacs: some eshell tweaksFranck Cuny2021-09-241-3/+7
|
* emacs: set the path where to store compiled filesFranck Cuny2021-09-241-0/+3
| | | | | 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.
* emacs: fix the configuration for notmuchFranck Cuny2021-09-241-0/+3
| | | | | We need a `provide` and we should only configure it if the binary is present.
* emacs: add package eshell-bookmarkFranck Cuny2021-09-241-0/+6
|
* emacs: initial configuration for notmuchFranck Cuny2021-09-212-0/+6
|
* emacs: use a light backgroundFranck Cuny2021-09-161-0/+1
| | | | Don't use plain white for the background, but a very light yellow color.
* emacs: use default branch for sourcegraphFranck Cuny2021-09-091-2/+9
| | | | | 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.
* Makefile: simplify the setupFranck Cuny2021-09-081-12/+40
|
* linux: remove configurations specific to linuxFranck Cuny2021-09-0818-477/+0
| | | | | They are all handled by the repository `linux-desktop`. It's easier to have a different repository for this bits of configs.
* emacs: get rid of mapping for sourcegraphFranck Cuny2021-08-241-5/+1
| | | | | | 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.
* emacs: move function for go-mode-compileFranck Cuny2021-08-241-5/+6
| | | | | The function needs to be defined before we use it in the `use-package` for go-mode.
* emacs: fix hook syntax for lsp-modeFranck Cuny2021-08-241-1/+1
|
* emacs: add lsp-treemacsFranck Cuny2021-08-241-0/+5
| | | | It's useful to show errors across a project
* zsh: add settings for `gcloud`Franck Cuny2021-08-241-0/+6
|
* zsh: add `fly` to the pathFranck Cuny2021-08-241-0/+5
|
* emacs: fix mapping for git-link and simplify codeFranck Cuny2021-08-241-14/+5
| | | | | | | | 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.
* emacs: git links to sourcegraph for work repoFranck Cuny2021-08-231-18/+26
| | | | | | | | | | | | | | 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/
* emacs: use the package `forge'Franck Cuny2021-08-231-0/+8
| | | | | This packages help interacting with various forges. We add a new entry to the default list for our own gitea instance.
* git: for new repo, use 'main' for default branchFranck Cuny2021-08-231-3/+4
| | | | Sort branches by date.
* backup: use the wireguard interfaceFranck Cuny2021-08-181-1/+1
| | | | | The restic REST server is running on the nas' wireguard interface, so we need to change the URL in our unit file.
* README: update list of installed packagesFranck Cuny2021-08-171-0/+15
|
* emacs: minor improvements for trampFranck Cuny2021-08-081-1/+4
|
* emacs: add function to clone a git repositoryFranck Cuny2021-08-081-0/+8
|
* emacs: rename eshell bufferFranck Cuny2021-08-051-1/+6
| | | | | When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory.
* emacs: eshell smart displayFranck Cuny2021-08-051-1/+9
| | | | From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
* emacs: track command's execution time in eshellFranck Cuny2021-08-051-29/+50
| | | | | | | | | 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
* emacs: don't use modus themeFranck Cuny2021-08-051-31/+0
| | | | It breaks every time I update the package.
* systemd: exclude directories for resticFranck Cuny2021-08-051-1/+1
|
* emacs: enable staticcheck with lspFranck Cuny2021-04-301-0/+8
|
* emacs: configure compile modeFranck Cuny2021-04-041-0/+11
|
* emacs: configure dap-mode and compile-modeFranck Cuny2021-04-044-1/+71
| | | | | | | | | | | | | | | | | | | | 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.
* systemd: rsync music to the NASFranck Cuny2021-03-271-0/+10
| | | | | | | | A systemd unit to backup my music to the NAS. This is invoked by running: ``` systemctl --user start sync-music ```
* emacs: more bindings for counselFranck Cuny2021-03-271-0/+4
|
* x11: set DPI to 128Franck Cuny2021-03-271-1/+1
|
* emacs: set completion theme to opiniatedFranck Cuny2021-03-261-1/+1
|
* emacs: fix configuration for hl-lineFranck Cuny2021-03-261-3/+3
| | | | | | | 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.
* alacritty: remove commented sectionsFranck Cuny2021-03-141-715/+3
| | | | | | 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.
* org: simplify a bit the lookFranck Cuny2021-03-141-4/+1
| | | | | Stop using a special character for the ellipsis, and use the standard org-bullets configuration.
* org: hide emphasis markupFranck Cuny2021-03-141-0/+3
|
* emacs: update configuration for modus-themesFranck Cuny2021-03-141-3/+12
| | | | | | | | | | | 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.
* emacs: use `magit-repos'Franck Cuny2021-03-141-0/+6
| | | | | | | | | 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).
* emacs: show parenFranck Cuny2021-02-201-0/+1
|
* emacs: enable read-mode when in RO bufferFranck Cuny2021-02-201-0/+4
|
* emacs: eshell aliasFranck Cuny2021-02-161-1/+1
|
* emacs: UI things related to org-modeFranck Cuny2021-02-161-1/+8
|
* emacs: UI things related to org-modeFranck Cuny2021-02-161-7/+2
|
* Merge branch 'master' of ssh://git.fcuny.net:222/fcuny/dotfilesFranck Cuny2021-02-125-18/+74
|\
| * emacs: some updates to org's uiFranck Cuny2021-02-122-0/+8
| |
| * elisp: clean up indentationFranck Cuny2021-02-121-6/+4
| |
| * org: more updates for capturesFranck Cuny2021-02-121-12/+28
| |
| * org: fix some of the capture templatesFranck Cuny2021-02-121-1/+7
| |
| * emacs: new defined search for rgFranck Cuny2021-02-121-0/+23
| |
| * emacs: slight changes to theme settingsFranck Cuny2021-02-121-7/+2
| |
| * emacs: initial configuration for trampFranck Cuny2021-02-122-0/+6
| |
* | emacs: set proper font size for linuxFranck Cuny2021-02-121-1/+1
|/
* org: rewrite the capture templatesFranck Cuny2021-02-121-37/+77
| | | | | Start using `doct` to manage the configuration for capturing content. Try to simplify a bit.
* org: custom functionsFranck Cuny2021-02-121-0/+33
| | | | Add a few custom functions for org-mode.
* emacs: no snippetsFranck Cuny2021-01-131-1/+1
|
* xdg: ignore templatesFranck Cuny2021-01-131-0/+1
|
* mpd: fix the path to the music libraryFranck Cuny2021-01-131-1/+1
|
* README: add extra configuration for LinuxFranck Cuny2021-01-131-1/+17
|
* zsh: display completion menuFranck Cuny2021-01-131-0/+4
|
* make: fix symlink for git identity on darwinFranck Cuny2021-01-061-2/+2
|
* emacs: performance improvement for magitFranck Cuny2021-01-061-1/+42
| | | | | | 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.
* README: get a list of installed packages on linuxFranck Cuny2021-01-041-0/+82
|
* emacs: log when the GC kicks inFranck Cuny2021-01-041-0/+1
|
* emacs: rename the directoryFranck Cuny2021-01-0422-2/+2
|
* git: store configuration under XDG_CONFIG_HOMEFranck Cuny2021-01-048-8/+7
| | | | | Since `git` understand `$XDG_CONFIG_HOME`, let's gather all the configuration files there.
* make: split between Darwin and LinuxFranck Cuny2021-01-047-111/+44
| | | | | | | | | | 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.
* redshift: fix longitude for BerkeleyFranck Cuny2021-01-031-1/+1
| | | | | I should have read the documentation more carefully, the longitude, when in the western emisphere, should be negative.
* zsh: some cleanupFranck Cuny2020-12-272-19/+6
|
* mpd: music is on the laptop, not from a smb shareFranck Cuny2020-12-271-8/+2
|
* ctags: delete configuration fileFranck Cuny2020-12-272-26/+0
|
* redshift: update settingsFranck Cuny2020-12-271-2/+11
|
* term: replace urxvt with alacrittyFranck Cuny2020-12-274-21/+761
| | | | There's a better support for unicode.
* emacs: handle correctly some unicode charactersFranck Cuny2020-12-211-1/+6
|
* emacs: fix issue with org-modeFranck Cuny2020-12-091-1/+0
|
* emacs: use modus-themes (light version)Franck Cuny2020-12-091-2/+25
| | | | The contrast is pretty good and the customization are also pretty.
* emacs: add binding for lsp's imenuFranck Cuny2020-12-091-0/+2
|
* emacs: add binding for counsel-imenuFranck Cuny2020-12-091-0/+1
|
* Merge branch 'master' of ssh://git.fcuny.net:222/fcuny/dotfilesFranck Cuny2020-12-071-3/+6
|\
| * emacs: fix for hl-lineFranck Cuny2020-12-021-2/+5
| |
| * emacs: smaller font on macosFranck Cuny2020-12-021-1/+1
| |
* | emacs: update configuration for LSPFranck Cuny2020-12-071-5/+13
| | | | | | | | | | | | | | | | | | | | 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).
* | emacs: ensure diminish is installedFranck Cuny2020-12-072-0/+4
|/ | | | We want to diminish `which-key` mode.
* x11: set background color for urxvtFranck Cuny2020-12-011-0/+3
| | | | Use the same background color as emacs/acme (it's nicer than white).
* i3: key bindingsFranck Cuny2020-12-011-3/+7
| | | | | | - 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
* x11: align variablesFranck Cuny2020-12-011-16/+18
|
* git: set proper emailFranck Cuny2020-12-011-1/+1
| | | | need to find a way to manage various identify (work vs home)
* emacs: use acme themeFranck Cuny2020-12-011-0/+4
|
* readme: add info for touchpadFranck Cuny2020-12-011-0/+13
| | | | Xorg configuration for the touchpad (just in case).
* emacs: add package for systemdFranck Cuny2020-11-081-0/+3
|
* term: slightly bigger font and proper DPIFranck Cuny2020-10-281-4/+3
|
* mpd: install mpd on linuxFranck Cuny2020-10-282-0/+22
| | | | | default configuration is to rely on the nas to manage the library, and to use samba to access the files.
* backup: specify the domainFranck Cuny2020-10-281-1/+1
|
* emacs: use default theme / smaller fontFranck Cuny2020-10-281-2/+1
|
* linux: create service for backing upFranck Cuny2020-10-062-2/+23
| | | | I want to backup my $HOME to the nas using restic.
* desktop: drop screenshot directoryFranck Cuny2020-10-061-4/+0
|
* desktop: adjust colors for redshiftFranck Cuny2020-10-061-3/+3
|
* linux: manage xmodmapFranck Cuny2020-10-062-0/+9
| | | | I want to map caps-lock to control.
* Update makefileFranck Cuny2020-10-012-16/+64
| | | | | Start to re-organize the Makefile to install the configuration for both linux and darwin. This is work in progress.
* [desktop] more configuration files for linuxFranck Cuny2020-10-013-0/+20
| | | | Add configuration for the ssh-agent, pam and XDG.
* [desktop] adjust configuration for i3Franck Cuny2020-10-011-2/+2
|
* [zsh] a few more bits of configurationsFranck Cuny2020-10-012-0/+18
|
* [desktop] update size of the fontsFranck Cuny2020-10-011-6/+2
|
* [zsh] add go pathFranck Cuny2020-10-011-1/+1
|
* [redshift] create configuration fileFranck Cuny2020-10-012-5/+10
| | | | | | | 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.
* [emacs]: a few changes to the UIFranck Cuny2020-10-011-1/+8
| | | | | | - disable the menu bar - use the theme "leuven" - configure the size of the fonts for linux
* fonts: let's use DejaVu where possibleFranck Cuny2020-09-232-3/+3
| | | | Also use 180 for the DPI.
* xsession: use Berkeley's lat/longFranck Cuny2020-09-231-1/+1
| | | | Use the latitude and longitude for Berkeley for redshift.
* linux: add i3 configFranck Cuny2020-09-122-0/+170
|
* linux: a few more configsFranck Cuny2020-09-122-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.
* linux: new resource files for linuxFranck Cuny2020-09-123-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.
* emacs: set the font for macosFranck Cuny2020-08-311-1/+1
| | | | We only want to use 'Source Code Pro' with a size of 15 on macos.
* emacs: add git-link / support for sourcegraphFranck Cuny2020-07-171-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.
* zsh: simplify configurationFranck Cuny2020-06-232-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.
* emacs: update prog moduleFranck Cuny2020-06-181-14/+8
| | | | clean up and drop what I don't need
* emacs: clean up orgFranck Cuny2020-06-181-141/+43
| | | | | too much configuration, too complex, which means I stop using it. Get back to the minimum.
* emacs: once again, larger fontFranck Cuny2020-06-181-1/+1
|
* emacs: stop using hydraFranck Cuny2020-06-181-11/+0
|
* emacs: move ivy configuration to navigationFranck Cuny2020-06-183-42/+44
| | | | There's no need to have this in a separate configuration file.
* emacs: move puppet config to progFranck Cuny2020-06-183-14/+5
| | | | clean up init.el from files I'm not loading.
* emacs: delete elfeedFranck Cuny2020-06-181-44/+0
| | | | I don't use it.
* emacs: drop hydra for prog modeFranck Cuny2020-06-041-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.
* emacs: remove dired-git-infoFranck Cuny2020-05-291-5/+0
| | | | I don't use it.
* emacs: remove ace-windowFranck Cuny2020-05-291-35/+0
| | | | I still find this annoying.
* tmux: remove duplicated settingsFranck Cuny2020-05-291-6/+0
|
* emacs: stuff for puppetFranck Cuny2020-05-101-1/+7
|
* emacs: stuff for goFranck Cuny2020-05-101-9/+11
|
* emacs: flycheck stuffFranck Cuny2020-05-101-7/+9
|
* emacs: drop ediffFranck Cuny2020-05-101-25/+4
|
* [emacs] looks like I forgot this oneFranck Cuny2020-05-081-1/+4
|
* [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.
* elfeed: one more blogFranck Cuny2020-03-211-0/+1
|
* 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
|
* doc: switch to org-mode instead of markdownFranck Cuny2020-03-192-4/+6
|
* emacs: merge configuration related to prog-modeFranck Cuny2020-03-197-84/+86
| | | | | 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.
* emacs: add custom librariesFranck Cuny2020-03-192-0/+33
| | | | | These libraries are not specific to package configuration, they can be functions or others than I use in various places.
* 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: new path to load elisp codeFranck Cuny2020-03-151-0/+1
| | | | Add a new path to load custom elisp code.
* elfeed: add a few more blogsFranck Cuny2020-03-151-2/+22
|
* [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
|
* elfeed: updateFranck Cuny2020-01-231-0/+1
|
* aspell: a few more wordsFranck Cuny2020-01-231-10/+14
|
* 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-134-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.
* 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: add gnu to melpa.Franck Cuny2019-12-231-1/+2
|
* emacs: use eglot for LSPFranck Cuny2019-12-232-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.
* 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.
* aspell: Add more words.Franck Cuny2019-12-231-2/+3
|
* [git] add a couple of aliasesFranck Cuny2019-12-091-1/+4
|
* [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-092-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.
* [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.
* [zsh] cleanup after migrating to OSX CatalinaFranck Cuny2019-11-232-4/+2
| | | | | | This used to work on the previous version of OSX, but not anymore. Cleaning up the configuration too, by dropping commented line.
* [elfeed] adding one more site.Franck Cuny2019-10-061-0/+2
|
* [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
|
* [elfeed] not sure my previous list was workingFranck Cuny2019-09-161-11/+9
|
* [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-143-0/+29
|
* [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-292-0/+40
|
* [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.