diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-10-10 19:21:40 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:25 +0100 |
| commit | 1e2adb195238155fed5270604edbb0d8f0324618 (patch) | |
| tree | e34b1da66e15a23093f244d8f75f092956364978 | |
| parent | 11eef7d89c39249b029dec1fc721b8b5c47a2e14 (diff) | |
Show deadline items in agenda
| -rw-r--r-- | config/emacs/gtd.el | 4 | ||||
| -rw-r--r-- | config/nvim/lua/ft/rust.lua | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/config/emacs/gtd.el b/config/emacs/gtd.el index 72e6037..abfbcf4 100644 --- a/config/emacs/gtd.el +++ b/config/emacs/gtd.el @@ -27,9 +27,7 @@ (search . " %i %-12:c")) org-agenda-custom-commands '( ("g" "Get Things Done (GTD)" - ((agenda "" - ((org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline)) - (org-deadline-warning-days 0))) + ((agenda "" ((org-deadline-warning-days 0))) (todo "NEXT" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline)) (org-agenda-prefix-format " %i %-12:c [%e] ") diff --git a/config/nvim/lua/ft/rust.lua b/config/nvim/lua/ft/rust.lua index 46e6306..3796269 100644 --- a/config/nvim/lua/ft/rust.lua +++ b/config/nvim/lua/ft/rust.lua @@ -7,7 +7,7 @@ keys.register({ b = {"<cmd>!cargo build<cr>", "Build"}, c = {"<cmd>!cargo clippy<cr>", "Check"}, C = {"<cmd>!cargo clippy --workspace --all-features --all-targets<cr>", "Check Workspace"}, - F = {"<cmd>!cargo +nightly fmt --version 2>/dev/null && cargo +nightly fmt --all || cargo fmt --all<cr>", "Format Workspace"}, + F = {"<cmd>!cargo +nightly fmt --version >/dev/null && cargo +nightly fmt --all || cargo fmt --all<cr>", "Format Workspace"}, r = {"<cmd>!cargo run<cr>", "Run"}, t = {"<cmd>!cargo test<cr>", "Test"}, T = {"<cmd>!cargo test --workspace --all-features<cr>", "Test Workspace"}, |
