aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugene.triguba@paymentworks.com>2025-07-21 07:25:04 -0400
committerEugene Triguba <eugene.triguba@paymentworks.com>2025-07-21 07:25:04 -0400
commit667a1b3f42c4713096792b1a63b967b30f13d808 (patch)
treefa211ee6528d61315ca32ae847448c35bc35c92c
parentup conform timeout and remove merge conflict code (diff)
parentturn off show git in tmux config (diff)
downloaddotfiles-667a1b3f42c4713096792b1a63b967b30f13d808.zip
Merge branch 'main' of https://git.sr.ht/~eugenetriguba/dotfiles
-rw-r--r--.gitignore1
-rw-r--r--atuin/.config/atuin/config.toml272
-rwxr-xr-xexecutables/bin/get-password36
-rw-r--r--homebrew/Brewfile7
-rwxr-xr-xinstall.sh3
-rw-r--r--nvim/.config/nvim/lazy-lock.json4
-rw-r--r--nvim/.config/nvim/lua/plugins/autopairs.lua8
-rw-r--r--nvim/.config/nvim/lua/plugins/barbar.lua74
-rw-r--r--nvim/.config/nvim/lua/plugins/colorschemes.lua (renamed from nvim/.config/nvim/lua/plugins/tokyonight.lua)0
-rw-r--r--nvim/.config/nvim/lua/plugins/harpoon.lua36
-rw-r--r--nvim/.config/nvim/lua/plugins/todo-comments.lua33
-rw-r--r--nvim/.config/nvim/lua/plugins/vim-sleuth.lua4
-rw-r--r--zsh/.zsh/env.sh5
-rw-r--r--zsh/.zsh/history.sh2
-rw-r--r--zsh/.zsh/languages.sh1
15 files changed, 402 insertions, 84 deletions
diff --git a/.gitignore b/.gitignore
index 235823d..6effc06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
.DS_Store
/tags
/tmux/.config/tmux/plugins
+
diff --git a/atuin/.config/atuin/config.toml b/atuin/.config/atuin/config.toml
new file mode 100644
index 0000000..39c5f7a
--- /dev/null
+++ b/atuin/.config/atuin/config.toml
@@ -0,0 +1,272 @@
+## where to store your database, default is your system data directory
+## linux/mac: ~/.local/share/atuin/history.db
+## windows: %USERPROFILE%/.local/share/atuin/history.db
+# db_path = "~/.history.db"
+
+## where to store your encryption key, default is your system data directory
+## linux/mac: ~/.local/share/atuin/key
+## windows: %USERPROFILE%/.local/share/atuin/key
+# key_path = "~/.key"
+
+## where to store your auth session token, default is your system data directory
+## linux/mac: ~/.local/share/atuin/session
+## windows: %USERPROFILE%/.local/share/atuin/session
+# session_path = "~/.session"
+
+## date format used, either "us" or "uk"
+# dialect = "us"
+
+## default timezone to use when displaying time
+## either "l", "local" to use the system's current local timezone, or an offset
+## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]"
+## for example: "+9", "-05", "+03:30", "-01:23:45", etc.
+# timezone = "local"
+
+## enable or disable automatic sync
+# auto_sync = true
+
+## enable or disable automatic update checks
+# update_check = true
+
+## address of the sync server
+# sync_address = "https://api.atuin.sh"
+
+## how often to sync history. note that this is only triggered when a command
+## is ran, so sync intervals may well be longer
+## set it to 0 to sync after every command
+# sync_frequency = "10m"
+
+## which search mode to use
+## possible values: prefix, fulltext, fuzzy, skim
+# search_mode = "fuzzy"
+
+## which filter mode to use by default
+## possible values: "global", "host", "session", "directory", "workspace"
+## consider using search.filters to customize the enablement and order of filter modes
+filter_mode = "global"
+
+## With workspace filtering enabled, Atuin will filter for commands executed
+## in any directory within a git repository tree (default: false).
+##
+## To use workspace mode by default when available, set this to true and
+## set filter_mode to "workspace" or leave it unspecified and
+## set search.filters to include "workspace" before other filter modes.
+# workspaces = false
+
+## which filter mode to use when atuin is invoked from a shell up-key binding
+## the accepted values are identical to those of "filter_mode"
+## leave unspecified to use same mode set in "filter_mode"
+# filter_mode_shell_up_key_binding = "session"
+
+## which search mode to use when atuin is invoked from a shell up-key binding
+## the accepted values are identical to those of "search_mode"
+## leave unspecified to use same mode set in "search_mode"
+# search_mode_shell_up_key_binding = "prefix"
+
+## which style to use
+## possible values: auto, full, compact
+style = "compact"
+
+## the maximum number of lines the interface should take up
+## set it to 0 to always go full screen
+# inline_height = 0
+
+## Invert the UI - put the search bar at the top , Default to `false`
+# invert = false
+
+## enable or disable showing a preview of the selected command
+## useful when the command is longer than the terminal width and is cut off
+# show_preview = true
+
+## what to do when the escape key is pressed when searching
+## possible values: return-original, return-query
+# exit_mode = "return-original"
+
+## possible values: emacs, subl
+# word_jump_mode = "emacs"
+
+## characters that count as a part of a word
+# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
+
+## number of context lines to show when scrolling by pages
+# scroll_context_lines = 1
+
+## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
+## alt-0 .. alt-9
+# ctrl_n_shortcuts = false
+
+## default history list format - can also be specified with the --format arg
+# history_format = "{time}\t{command}\t{duration}"
+
+## prevent commands matching any of these regexes from being written to history.
+## Note that these regular expressions are unanchored, i.e. if they don't start
+## with ^ or end with $, they'll match anywhere in the command.
+## For details on the supported regular expression syntax, see
+## https://docs.rs/regex/latest/regex/#syntax
+# history_filter = [
+# "^secret-cmd",
+# "^innocuous-cmd .*--secret=.+",
+# ]
+
+## prevent commands run with cwd matching any of these regexes from being written
+## to history. Note that these regular expressions are unanchored, i.e. if they don't
+## start with ^ or end with $, they'll match anywhere in CWD.
+## For details on the supported regular expression syntax, see
+## https://docs.rs/regex/latest/regex/#syntax
+# cwd_filter = [
+# "^/very/secret/area",
+# ]
+
+## Configure the maximum height of the preview to show.
+## Useful when you have long scripts in your history that you want to distinguish
+## by more than the first few lines.
+# max_preview_height = 4
+
+## Configure whether or not to show the help row, which includes the current Atuin
+## version (and whether an update is available), a keymap hint, and the total
+## amount of commands in your history.
+# show_help = true
+
+## Configure whether or not to show tabs for search and inspect
+# show_tabs = true
+
+## Configure whether or not the tabs row may be auto-hidden, which includes the current Atuin
+## tab, such as Search or Inspector, and other tabs you may wish to see. This will
+## only be hidden if there are fewer than this count of lines available, and does not affect the use
+## of keyboard shortcuts to switch tab. 0 to never auto-hide, default is 8 (lines).
+## This is ignored except in `compact` mode.
+# auto_hide_height = 8
+
+## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
+## 1. AWS key id
+## 2. Github pat (old and new)
+## 3. Slack oauth tokens (bot, user)
+## 4. Slack webhooks
+## 5. Stripe live/test keys
+# secrets_filter = true
+
+## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command. Press tab to return to the shell and edit.
+# This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
+enter_accept = true
+
+## Defaults to "emacs". This specifies the keymap on the startup of `atuin
+## search`. If this is set to "auto", the startup keymap mode in the Atuin
+## search is automatically selected based on the shell's keymap where the
+## keybinding is defined. If this is set to "emacs", "vim-insert", or
+## "vim-normal", the startup keymap mode in the Atuin search is forced to be
+## the specified one.
+# keymap_mode = "auto"
+
+## Cursor style in each keymap mode. If specified, the cursor style is changed
+## in entering the cursor shape. Available values are "default" and
+## "{blink,steady}-{block,underline,bar}".
+# keymap_cursor = { emacs = "blink-block", vim_insert = "blink-block", vim_normal = "steady-block" }
+
+# network_connect_timeout = 5
+# network_timeout = 5
+
+## Timeout (in seconds) for acquiring a local database connection (sqlite)
+# local_timeout = 5
+
+## Set this to true and Atuin will minimize motion in the UI - timers will not update live, etc.
+## Alternatively, set env NO_MOTION=true
+# prefers_reduced_motion = false
+
+[stats]
+## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
+# common_subcommands = [
+# "apt",
+# "cargo",
+# "composer",
+# "dnf",
+# "docker",
+# "git",
+# "go",
+# "ip",
+# "jj",
+# "kubectl",
+# "nix",
+# "nmcli",
+# "npm",
+# "pecl",
+# "pnpm",
+# "podman",
+# "port",
+# "systemctl",
+# "tmux",
+# "yarn",
+# ]
+
+## Set commands that should be totally stripped and ignored from stats
+# common_prefix = ["sudo"]
+
+## Set commands that will be completely ignored from stats
+# ignored_commands = [
+# "cd",
+# "ls",
+# "vi"
+# ]
+
+[keys]
+# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry.
+# scroll_exits = true
+# Defaults to true. The left arrow key will exit the TUI when scrolling before the first character
+# exit_past_line_start = true
+# Defaults to true. The right arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified.
+# accept_past_line_end = true
+
+[sync]
+# Enable sync v2 by default
+# This ensures that sync v2 is enabled for new installs only
+# In a later release it will become the default across the board
+records = true
+
+[preview]
+## which preview strategy to use to calculate the preview height (respects max_preview_height).
+## possible values: auto, static
+## auto: length of the selected command.
+## static: length of the longest command stored in the history.
+## fixed: use max_preview_height as fixed height.
+# strategy = "auto"
+
+[daemon]
+## Enables using the daemon to sync. Requires the daemon to be running in the background. Start it with `atuin daemon`
+# enabled = false
+
+## How often the daemon should sync in seconds
+# sync_frequency = 300
+
+## The path to the unix socket used by the daemon (on unix systems)
+## linux/mac: ~/.local/share/atuin/atuin.sock
+## windows: Not Supported
+# socket_path = "~/.local/share/atuin/atuin.sock"
+
+## Use systemd socket activation rather than opening the given path (the path must still be correct for the client)
+## linux: false
+## mac/windows: Not Supported
+# systemd_socket = false
+
+## The port that should be used for TCP on non unix systems
+# tcp_port = 8889
+
+# [theme]
+## Color theme to use for rendering in the terminal.
+## There are some built-in themes, including the base theme ("default"),
+## "autumn" and "marine". You can add your own themes to the "./themes" subdirectory of your
+## Atuin config (or ATUIN_THEME_DIR, if provided) as TOML files whose keys should be one or
+## more of AlertInfo, AlertWarn, AlertError, Annotation, Base, Guidance, Important, and
+## the string values as lowercase entries from this list:
+## https://ogeon.github.io/docs/palette/master/palette/named/index.html
+## If you provide a custom theme file, it should be called "NAME.toml" and the theme below
+## should be the stem, i.e. `theme = "NAME"` for your chosen NAME.
+# name = "autumn"
+
+## Whether the theme manager should output normal or extra information to help fix themes.
+## Boolean, true or false. If unset, left up to the theme manager.
+# debug = true
+
+[search]
+## The list of enabled filter modes, in order of priority.
+## The "workspace" mode is skipped when not in a workspace or workspaces = false.
+## Default filter mode can be overridden with the filter_mode setting.
+# filters = [ "global", "host", "session", "workspace", "directory" ]
diff --git a/executables/bin/get-password b/executables/bin/get-password
new file mode 100755
index 0000000..3b83bb7
--- /dev/null
+++ b/executables/bin/get-password
@@ -0,0 +1,36 @@
+#!/bin/sh
+set -e
+
+VAULT="Private"
+CREDENTIAL=""
+
+main() {
+ parse_args "$@"
+ op read "op://$VAULT/$CREDENTIAL/password"
+}
+
+parse_args() {
+ while [ $# -gt 0 ]; do
+ case "$1" in
+ --vault)
+ VAULT="$2"
+ shift 2
+ ;;
+ --credential)
+ CREDENTIAL="$2"
+ shift 2
+ ;;
+ *)
+ echo "Usage: $0 [--vault <name>] --credential <name>"
+ exit 1
+ ;;
+ esac
+ done
+
+ if [ -z "$CREDENTIAL" ]; then
+ echo "Invalid or empty CREDENTIAL" >&2
+ exit 1
+ fi
+}
+
+main "$@"
diff --git a/homebrew/Brewfile b/homebrew/Brewfile
index 62e7b80..e3e5df2 100644
--- a/homebrew/Brewfile
+++ b/homebrew/Brewfile
@@ -2,6 +2,7 @@ tap "neovim/neovim"
tap "eugenetriguba/bolt"
brew "act"
brew "ansible"
+brew "atuin"
brew "bandit"
brew "bash"
brew "bat"
@@ -28,6 +29,7 @@ brew "gcc"
brew "gh"
brew "git"
brew "glab"
+brew "glow"
brew "gnu-sed"
brew "gnupg"
brew "go"
@@ -41,6 +43,7 @@ brew "jc"
brew "jq"
brew "jsonlint"
brew "julia"
+brew "kubernetes-cli"
brew "libffi"
brew "lima"
brew "llvm"
@@ -50,6 +53,7 @@ brew "luarocks"
brew "make"
brew "mas"
brew "meson"
+brew "minikube"
brew "mvt"
brew "nasm"
brew "ncdu"
@@ -109,6 +113,8 @@ cask "font-menlo-for-powerline"
cask "font-monaspace-nerd-font"
cask "font-noto-sans-symbols-2"
cask "ghostty"
+cask "google-chrome"
+cask "hashicorp-vagrant"
cask "obsidian"
cask "omnifocus"
cask "neovide"
@@ -116,4 +122,3 @@ cask "raycast"
cask "rectangle"
cask "spotify"
cask "vagrant"
-cask "vivaldi"
diff --git a/install.sh b/install.sh
index 8a08e51..693741e 100755
--- a/install.sh
+++ b/install.sh
@@ -25,8 +25,11 @@ main() {
stow gpg
stow tmux
stow ghostty
+ stow atuin
echo "Successfully linked all dotfiles."
+ mkdir -p ~/bin/ ~/src/
+
echo "Initializing TPM (Tmux Plugin Manager)..."
setup_tpm
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json
index 3542cf6..80f1d34 100644
--- a/nvim/.config/nvim/lazy-lock.json
+++ b/nvim/.config/nvim/lazy-lock.json
@@ -2,12 +2,11 @@
"CopilotChat.nvim": { "branch": "main", "commit": "f7eb423baccbb27f5b5608fb91acee2d6bc769c7" },
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
- "blink-cmp-copilot": { "branch": "main", "commit": "439cff78780c033aa23cf061d7315314b347e3c1" },
"blink.cmp": { "branch": "main", "commit": "586ee87534f5bf65f1c8dea2d1da2a57e8cddd36" },
- "conform.nvim": { "branch": "master", "commit": "973f3cb73887d510321653044791d7937c7ec0fa" },
"copilot.lua": { "branch": "master", "commit": "14bf786180b2ca4578915c56989b6d676dddc6f3" },
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
"gitsigns.nvim": { "branch": "main", "commit": "0cb5a7753d3c4b8e9cfdc9d88d9110cb8d4b1544" },
+ "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
@@ -38,7 +37,6 @@
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
- "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
"vim-tmux-navigator": { "branch": "master", "commit": "c45243dc1f32ac6bcf6068e5300f3b2b237e576a" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
}
diff --git a/nvim/.config/nvim/lua/plugins/autopairs.lua b/nvim/.config/nvim/lua/plugins/autopairs.lua
index 386d392..8171237 100644
--- a/nvim/.config/nvim/lua/plugins/autopairs.lua
+++ b/nvim/.config/nvim/lua/plugins/autopairs.lua
@@ -4,5 +4,11 @@
return {
'windwp/nvim-autopairs',
event = 'InsertEnter',
- opts = {},
+ config = function()
+ local autopairs = require 'nvim-autopairs'
+ autopairs.setup {
+ check_ts = true, -- Use treesitter for smarter pairing
+ disable_filetype = { 'TelescopePrompt' },
+ }
+ end,
}
diff --git a/nvim/.config/nvim/lua/plugins/barbar.lua b/nvim/.config/nvim/lua/plugins/barbar.lua
deleted file mode 100644
index f7e0252..0000000
--- a/nvim/.config/nvim/lua/plugins/barbar.lua
+++ /dev/null
@@ -1,74 +0,0 @@
-return {
- {
- 'romgrk/barbar.nvim',
- dependencies = {
- 'lewis6991/gitsigns.nvim',
- 'nvim-tree/nvim-web-devicons',
- },
- init = function()
- vim.g.barbar_auto_setup = false
- end,
- version = '^1.0.0',
- config = function()
- require('barbar').setup {}
-
- local map = vim.api.nvim_set_keymap
- local opts = { noremap = true, silent = true }
-
- -- Move to previous/next
- map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
- map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
-
- -- Re-order to previous/next
- map('n', '<A-<>', '<Cmd>BufferMovePrevious<CR>', opts)
- map('n', '<A->>', '<Cmd>BufferMoveNext<CR>', opts)
-
- -- Goto buffer in position...
- map('n', '<A-1>', '<Cmd>BufferGoto 1<CR>', opts)
- map('n', '<A-2>', '<Cmd>BufferGoto 2<CR>', opts)
- map('n', '<A-3>', '<Cmd>BufferGoto 3<CR>', opts)
- map('n', '<A-4>', '<Cmd>BufferGoto 4<CR>', opts)
- map('n', '<A-5>', '<Cmd>BufferGoto 5<CR>', opts)
- map('n', '<A-6>', '<Cmd>BufferGoto 6<CR>', opts)
- map('n', '<A-7>', '<Cmd>BufferGoto 7<CR>', opts)
- map('n', '<A-8>', '<Cmd>BufferGoto 8<CR>', opts)
- map('n', '<A-9>', '<Cmd>BufferGoto 9<CR>', opts)
- map('n', '<A-0>', '<Cmd>BufferLast<CR>', opts)
-
- -- Pin/unpin buffer
- map('n', '<A-p>', '<Cmd>BufferPin<CR>', opts)
-
- -- Goto pinned/unpinned buffer
- -- :BufferGotoPinned
- -- :BufferGotoUnpinned
-
- -- Close buffer
- map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
-
- -- Wipeout buffer
- -- :BufferWipeout
-
- -- Close commands
- -- :BufferCloseAllButCurrent
- -- :BufferCloseAllButPinned
- -- :BufferCloseAllButCurrentOrPinned
- -- :BufferCloseBuffersLeft
- -- :BufferCloseBuffersRight
-
- -- Magic buffer-picking mode
- map('n', '<C-p>', '<Cmd>BufferPick<CR>', opts)
- map('n', '<C-s-p>', '<Cmd>BufferPickDelete<CR>', opts)
-
- -- Sort automatically by...
- map('n', '<Space>bb', '<Cmd>BufferOrderByBufferNumber<CR>', opts)
- map('n', '<Space>bn', '<Cmd>BufferOrderByName<CR>', opts)
- map('n', '<Space>bd', '<Cmd>BufferOrderByDirectory<CR>', opts)
- map('n', '<Space>bl', '<Cmd>BufferOrderByLanguage<CR>', opts)
- map('n', '<Space>bw', '<Cmd>BufferOrderByWindowNumber<CR>', opts)
-
- -- Other:
- -- :BarbarEnable - enables barbar (enabled by default)
- -- :BarbarDisable - disables barbar
- end,
- },
-}
diff --git a/nvim/.config/nvim/lua/plugins/tokyonight.lua b/nvim/.config/nvim/lua/plugins/colorschemes.lua
index aae2d30..aae2d30 100644
--- a/nvim/.config/nvim/lua/plugins/tokyonight.lua
+++ b/nvim/.config/nvim/lua/plugins/colorschemes.lua
diff --git a/nvim/.config/nvim/lua/plugins/harpoon.lua b/nvim/.config/nvim/lua/plugins/harpoon.lua
new file mode 100644
index 0000000..bf43c5d
--- /dev/null
+++ b/nvim/.config/nvim/lua/plugins/harpoon.lua
@@ -0,0 +1,36 @@
+return {
+ 'ThePrimeagen/harpoon',
+ branch = 'harpoon2',
+ dependencies = { 'nvim-lua/plenary.nvim' },
+ config = function()
+ local harpoon = require 'harpoon'
+ harpoon:setup()
+
+ vim.keymap.set('n', '<leader>a', function()
+ harpoon:list():add()
+ end)
+ vim.keymap.set('n', '<C-e>', function()
+ harpoon.ui:toggle_quick_menu(harpoon:list())
+ end)
+
+ vim.keymap.set('n', '<leader>1', function()
+ harpoon:list():select(1)
+ end)
+ vim.keymap.set('n', '<leader>2', function()
+ harpoon:list():select(2)
+ end)
+ vim.keymap.set('n', '<leader>3', function()
+ harpoon:list():select(3)
+ end)
+ vim.keymap.set('n', '<leader>4', function()
+ harpoon:list():select(4)
+ end)
+
+ vim.keymap.set('n', '<leader>hp', function()
+ harpoon:list():prev()
+ end)
+ vim.keymap.set('n', '<leader>hn', function()
+ harpoon:list():next()
+ end)
+ end,
+}
diff --git a/nvim/.config/nvim/lua/plugins/todo-comments.lua b/nvim/.config/nvim/lua/plugins/todo-comments.lua
index 8dc2cc7..0f740e4 100644
--- a/nvim/.config/nvim/lua/plugins/todo-comments.lua
+++ b/nvim/.config/nvim/lua/plugins/todo-comments.lua
@@ -4,6 +4,37 @@ return {
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
- opts = { signs = false },
+ opts = {
+ signs = false,
+ keywords = {
+ NOTE = {
+ color = 'hint',
+ alt = { 'INFO', 'Note' },
+ },
+ },
+ },
+ keys = {
+ {
+ '<leader>]t',
+ function()
+ require('todo-comments').jump_next()
+ end,
+ desc = 'Next todo comment',
+ },
+ {
+ '<leader>[t',
+ function()
+ require('todo-comments').jump_prev()
+ end,
+ desc = 'Previous todo comment',
+ },
+ {
+ '<leader>st',
+ function()
+ vim.cmd 'TodoTelescope'
+ end,
+ desc = 'Search todo comments',
+ },
+ },
},
}
diff --git a/nvim/.config/nvim/lua/plugins/vim-sleuth.lua b/nvim/.config/nvim/lua/plugins/vim-sleuth.lua
deleted file mode 100644
index d9a0887..0000000
--- a/nvim/.config/nvim/lua/plugins/vim-sleuth.lua
+++ /dev/null
@@ -1,4 +0,0 @@
--- Detect tabstop and shiftwidth automatically
-return {
- 'tpope/vim-sleuth',
-}
diff --git a/zsh/.zsh/env.sh b/zsh/.zsh/env.sh
index 429c8a4..0292a26 100644
--- a/zsh/.zsh/env.sh
+++ b/zsh/.zsh/env.sh
@@ -8,3 +8,8 @@ export MANPAGER="less"
export BAT_THEME="tokyonight_night"
export SRC_DIR="$HOME/src"
export BIN_DIR="$HOME/bin"
+
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_STATE_HOME="$HOME/.local/state"
diff --git a/zsh/.zsh/history.sh b/zsh/.zsh/history.sh
index e834b85..4f83e1c 100644
--- a/zsh/.zsh/history.sh
+++ b/zsh/.zsh/history.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env zsh
+eval "$(atuin init zsh --disable-up-arrow)"
+
export HISTFILE=~/.zhistory
export HISTSIZE=100000
export SAVEHIST=100000
diff --git a/zsh/.zsh/languages.sh b/zsh/.zsh/languages.sh
index 05d266f..ad162cb 100644
--- a/zsh/.zsh/languages.sh
+++ b/zsh/.zsh/languages.sh
@@ -6,6 +6,7 @@ export GOBIN="$SRC_DIR/go/bin"
export PATH="$GOPATH/bin:$PATH"
export PATH="$GOROOT/bin:$PATH"
export PATH="$GOBIN:$PATH"
+export GOPROXY="direct"
# Python
export PYENV_ROOT="$HOME/.pyenv"