Compare commits

...
4 Commits
Author SHA1 Message Date
proctor ce9847370c iTerm2: add iTerm2 settings to dotfiles
Add iTerm2 settings for capture/historical changes and syncing
between computers
2026-03-26 13:44:07 -05:00
proctor 329c9fe07f tmux: Update tmux.conf to attempt to fix nvim and tmux unicode shifting 2026-03-26 13:43:19 -05:00
proctor 644e8c26d3 bash: export LC_ALL to attempt to fix nvim and tmux unicode shifting 2026-03-26 13:39:14 -05:00
proctor a96c155f43 nvim: Continue migration of plugins to lazy.nvim 2026-03-26 13:38:14 -05:00
21 changed files with 3283 additions and 130 deletions

No files matched your search

+12 -15
View File
@@ -7,6 +7,7 @@ PATH=$PATH:$HOME
MANPATH=$MANPATH:/usr/local/opt/erlang/lib/erlang/man MANPATH=$MANPATH:/usr/local/opt/erlang/lib/erlang/man
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config
export LC_ALL=en_US.UTF-8
set -o vi set -o vi
export EDITOR='nvim' export EDITOR='nvim'
@@ -18,14 +19,13 @@ if which brew 2>/dev/null && [[ -f $(brew --prefix)/etc/bash_completion ]]; then
fi fi
# came from Aaron Lasseigne (AaronLasseigne on GitHub) # came from Aaron Lasseigne (AaronLasseigne on GitHub)
battery_status() battery_status() {
{
HEART='♥ ' HEART='♥ '
NON='\[\e[0m\]' NON='\[\e[0m\]'
RED='\[\e[0;31m\]' RED='\[\e[0;31m\]'
battery_info=`ioreg -rc AppleSmartBattery` battery_info=$(ioreg -rc AppleSmartBattery)
current_charge=$(echo $battery_info | grep -o '"CurrentCapacity" = [0-9]\+' | cut -d ' ' -f 3) current_charge=$(echo $battery_info | grep -o '"CurrentCapacity" = [0-9]\+' | cut -d ' ' -f 3)
total_charge=$(echo $battery_info | grep -o '"MaxCapacity" = [0-9]\+' | cut -d ' ' -f 3) total_charge=$(echo $battery_info | grep -o '"MaxCapacity" = [0-9]\+' | cut -d ' ' -f 3)
@@ -35,11 +35,11 @@ battery_status()
fi fi
echo -n "${RED}" echo -n "${RED}"
for i in `seq 1 $charged_slots`; do echo -n "$HEART"; done for i in $(seq 1 $charged_slots); do echo -n "$HEART"; done
echo -n "${NON}" echo -n "${NON}"
if [[ $charged_slots -lt 10 ]]; then if [[ $charged_slots -lt 10 ]]; then
for i in `seq 1 $(echo "10-$charged_slots" | bc)`; do echo -n "$HEART"; done for i in $(seq 1 $(echo "10-$charged_slots" | bc)); do echo -n "$HEART"; done
fi fi
} }
@@ -57,19 +57,18 @@ safesource ~/.bash_local
export PATH="/usr/local/heroku/bin:$PATH" export PATH="/usr/local/heroku/bin:$PATH"
function repeat() { function repeat() {
local count=$1; local count=$1
shift; shift
echo "running '$@' for $count times" echo "running '$@' for $count times"
for i in $(eval echo "{1..$count}") for i in $(eval echo "{1..$count}"); do
do
$@ || break $@ || break
done done
} }
export NVM_DIR="/Users/sg0221754/.nvm" export NVM_DIR="/Users/sg0221754/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
### What did I do in git this past year? ### What did I do in git this past year?
@@ -89,13 +88,11 @@ function my_git_user_name() {
git config --get user.name git config --get user.name
} }
function my_commits_for_this_past_year() function my_commits_for_this_past_year() {
{
git log --author="$(my_git_user_name)" --after="$(end_of_last_year)" origin/master git log --author="$(my_git_user_name)" --after="$(end_of_last_year)" origin/master
} }
function truncate_logs() function truncate_logs() {
{
find log -type f -name "*.log" | xargs -I {} bash -c 'echo "" > {}' find log -type f -name "*.log" | xargs -I {} bash -c 'echo "" > {}'
} }
@@ -111,7 +108,7 @@ export LESS_TERMCAP_us=$'\e'"[1;32m"
#if [ -e "${HOME}/.nix-profile/etc/profile.d/nix.sh" ]; then . "${HOME}/.nix-profile/etc/profile.d/nix.sh"; fi # added by Nix installer #if [ -e "${HOME}/.nix-profile/etc/profile.d/nix.sh" ]; then . "${HOME}/.nix-profile/etc/profile.d/nix.sh"; fi # added by Nix installer
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[ -s "$HOME/.config/broot/launcher/bash/br" ] && source "$HOME/.config/broot/launcher/bash/br" [ -s "$HOME/.config/broot/launcher/bash/br" ] && source "$HOME/.config/broot/launcher/bash/br"
File diff suppressed because it is too large. Load diff
@@ -16,31 +16,14 @@
;; (use (core.assoc opts 1 name)))))) ;; (use (core.assoc opts 1 name))))))
;; ;;
;; (local packages { ;; (local packages {
;; :Olical/nfnl {}
;; :Olical/conjure {:mod :conjure}
;; :Olical/fennel.vim {}
;; :ahmedkhalf/project.nvim {} ;; :ahmedkhalf/project.nvim {}
;; :airblade/vim-gitgutter {}
;; :akinsho/toggleterm.nvim {:mod :toggleterm} ;; :akinsho/toggleterm.nvim {:mod :toggleterm}
;; :clojure-vim/vim-jack-in {} ;; :clojure-vim/vim-jack-in {}
;; :christianrondeau/vim-base64 {} ;; :christianrondeau/vim-base64 {}
;; :dhruvasagar/vim-table-mode {} ;; :dhruvasagar/vim-table-mode {}
;; :folke/lsp-colors.nvim {} ;; :folke/lsp-colors.nvim {}
;; :folke/which-key.nvim {:mod :whichkey}
;; :gbprod/yanky.nvim {:mod :yanky} ;; :gbprod/yanky.nvim {:mod :yanky}
;; :hashivim/vim-terraform {} ;; :hashivim/vim-terraform {}
;; :HiPhish/rainbow-delimiters.nvim {}
;; :hrsh7th/nvim-cmp {:requires [:hrsh7th/cmp-buffer
;; :hrsh7th/cmp-emoji
;; :hrsh7th/cmp-nvim-lsp
;; :hrsh7th/cmp-nvim-lua
;; :hrsh7th/cmp-path
;; :hrsh7th/cmp-vsnip
;; :hrsh7th/vim-vsnip-integ
;; :L3MON4D3/LuaSnip
;; :PaterJason/cmp-conjure
;; :saadparwaiz1/cmp_luasnip]
;; :mod :cmp}
;; :hrsh7th/vim-vsnip {} ;; :hrsh7th/vim-vsnip {}
;; :hrsh7th/vim-vsnip-integ {} ;; :hrsh7th/vim-vsnip-integ {}
;; :Iron-E/nvim-soluarized {} ;; :Iron-E/nvim-soluarized {}
@@ -48,30 +31,16 @@
;; :nvimtools/none-ls.nvim {:mod :null-ls ;; :nvimtools/none-ls.nvim {:mod :null-ls
;; :requires [:nvim-lua/plenary.nvim]} ;; :requires [:nvim-lua/plenary.nvim]}
;; :junegunn/vim-easy-align {:mod :easyalign} ;; :junegunn/vim-easy-align {:mod :easyalign}
;; :kovisoft/paredit {:mod :paredit
;; :require [:nvim-treesitter/nvim-treesitter]}
;; :kristijanhusak/vim-dadbod-completion {} ;; :kristijanhusak/vim-dadbod-completion {}
;; :kristijanhusak/vim-dadbod-ui {} ;; :kristijanhusak/vim-dadbod-ui {}
;; :L3MON4D3/LuaSnip {:mod :luasnip} ;; :L3MON4D3/LuaSnip {:mod :luasnip}
;; :lifepillar/vim-solarized8 {} ;; :lifepillar/vim-solarized8 {}
;; :lukas-reineke/headlines.nvim {:mod :headlines} ;; :lukas-reineke/headlines.nvim {:mod :headlines}
;; ; :michaelb/sniprun {:run "bash ./install.sh" :mod :sniprun} ;; ; :michaelb/sniprun {:run "bash ./install.sh" :mod :sniprun}
;; :mrjones2014/smart-splits.nvim {:mod :smartsplits}
;; :mechatroner/rainbow_csv {} ;; :mechatroner/rainbow_csv {}
;; :MunifTanjim/nui.nvim {}
;; :neovim/nvim-lspconfig {:mod :lspconfig} ;; :neovim/nvim-lspconfig {:mod :lspconfig}
;; :norcalli/nvim-colorizer.lua {:mod :colorizer} ;; :norcalli/nvim-colorizer.lua {:mod :colorizer}
;; :nvim-neo-tree/neo-tree.nvim {:branch :v3.x
;; :require [:nvim-lua/plenary.nvim
;; :nvim-tree/nvim-web-devicons
;; ; not strictly required, but recommended
;; :MunifTanjim/nui.nvim
;; ; :3rd/image.nvim, ; Optional image support in preview window: See `# Preview Mode` for more information
;; ]}
;; :nvim-orgmode/orgmode {:mod :orgmode} ;; :nvim-orgmode/orgmode {:mod :orgmode}
;; :nvim-telescope/telescope.nvim {:requires [[:nvim-lua/popup.nvim]
;; [:nvim-lua/plenary.nvim]]
;; :mod :telescope}
;; :nvim-tree/nvim-web-devicons {} ;; :nvim-tree/nvim-web-devicons {}
;; :nvim-treesitter/nvim-treesitter {:run ":TSUpdate" ;; :nvim-treesitter/nvim-treesitter {:run ":TSUpdate"
;; :mod :treesitter} ;; :mod :treesitter}
@@ -83,22 +52,7 @@
;; ;; :tjdevries/sg.nvim {:run "cargo build --workspace" ;; ;; :tjdevries/sg.nvim {:run "cargo build --workspace"
;; ;; :dependencies [:nvim-lua/plenary.nvim]} ;; ;; :dependencies [:nvim-lua/plenary.nvim]}
;; ;; :tpope/vim-classpath {} ;; ;; :tpope/vim-classpath {}
;; :tpope/vim-dadbod {}
;; :tpope/vim-dispatch {}
;; :tpope/vim-fugitive {:mod :fugitive}
;; :tpope/vim-git {}
;; :tpope/vim-pathogen {}
;; :tpope/vim-rails {}
;; :tpope/vim-repeat {}
;; :tpope/vim-rhubarb {}
;; :tpope/vim-surround {}
;; :tpope/vim-unimpaired {}
;; :tpope/vim-vinegar {}
;; :wbthomason/packer.nvim {:mod :packer}
;; ;; :williamboman/nvim-lsp-installbuilder {} ;; ;; :williamboman/nvim-lsp-installbuilder {}
;; :williamboman/mason.nvim {:mod :mason
;; :requires [:williamboman/mason-lspconfig.nvim
;; :neovim/nvim-lspconfig]}
;; ; NeoVim lsp server installs ;; ; NeoVim lsp server installs
;; ; :p00f/nvim-ts-rainbow {} ;; ; :p00f/nvim-ts-rainbow {}
;; ; :luochen1990/rainbow {} ;; ; :luochen1990/rainbow {}
@@ -0,0 +1,3 @@
(import-macros {: tx} :config.macros)
(tx :skywind3000/asyncrun.vim {})
@@ -0,0 +1,5 @@
(import-macros {: tx} :config.macros)
(tx "windwp/nvim-autopairs"
{:event "InsertEnter"
:config true })
@@ -1,3 +1,3 @@
(import-macros {: tx} :config.macros) (import-macros {: tx} :config.macros)
(tx :lifepillar/vim-solarized8 {}) (tx "https://codeberg.org/lifepillar/vim-solarized8/" {:branch "neovim"})
@@ -0,0 +1,3 @@
(import-macros {: tx} :config.macros)
(tx :airblade/vim-gitgutter {})
+14 -5
View File
@@ -5,7 +5,8 @@
(vim.diagnostic.config {:signs {:text {vim.diagnostic.severity.ERROR "☢️" (vim.diagnostic.config {:signs {:text {vim.diagnostic.severity.ERROR "☢️"
vim.diagnostic.severity.WARN "⚠️" vim.diagnostic.severity.WARN "⚠️"
vim.diagnostic.severity.INFO "ℹ️" vim.diagnostic.severity.INFO "ℹ️"
vim.diagnostic.severity.HINT "🔎"} vim.diagnostic.severity.HINT "🔎"
}
;; :linehl {vim.diagnostic.severity.ERROR :ErrorMsg} ;; :linehl {vim.diagnostic.severity.ERROR :ErrorMsg}
;; :numhl {vim.diagnostic.severity.WARN :WarningMsg} ;; :numhl {vim.diagnostic.severity.WARN :WarningMsg}
}}) }})
@@ -49,9 +50,18 @@
[(lambda [] (vim.fn.input "Binding name: "))]] [(lambda [] (vim.fn.input "Binding name: "))]]
:pf [:promote-fn :pf [:promote-fn
[(lambda [] (vim.fn.input "Function name: "))]] [(lambda [] (vim.fn.input "Function name: "))]]
:sc [:change-collection :sc [:change-coll
[(lambda [] (vim.fn.input "")) [(lambda []
"input('Collection type: ')"]] (let [coll-types [:map :list :set :vector]
a (require :nfnl.core)
choice (vim.fn.inputlist (a.concat ["Collection Type:"]
(a.map-indexed (fn [[k
v]]
(.. (tostring k)
". "
v))
coll-types)))]
(a.get coll-types choice)))]]
:sm [:sort-map []] :sm [:sort-map []]
:tf [:thread-first-all []] :tf [:thread-first-all []]
:tF [:thread-first []] :tF [:thread-first []]
@@ -220,7 +230,6 @@
a (require :nfnl.core) a (require :nfnl.core)
u (require :dotfiles.util) u (require :dotfiles.util)
lsp (require :vim.lsp) lsp (require :vim.lsp)
lspconfig (require :lspconfig)
cmp_nvim_lsp (require :cmp_nvim_lsp)] cmp_nvim_lsp (require :cmp_nvim_lsp)]
(vim.lsp.enable :gleam) (vim.lsp.enable :gleam)
@@ -0,0 +1,29 @@
(import-macros {: tx} :config.macros)
(fn set-terminal-keymaps []
(vim.keymap.set :t :<esc> "<C-\\><C-n>")
(vim.keymap.set :t :jk "<C-\\><C-n>")
(vim.keymap.set :t :<C-h> "<Cmd>wincmd h<CR>")
(vim.keymap.set :t :<C-j> "<Cmd>wincmd j<CR>")
(vim.keymap.set :t :<C-k> "<Cmd>wincmd k<CR>")
(vim.keymap.set :t :<C-l> "<Cmd>wincmd l<CR>")
(vim.keymap.set :t :<C-w> "<C-\\><C-n><C-w>"))
(vim.api.nvim_create_user_command :SetTerminalKeymaps set-terminal-keymaps {})
(vim.api.nvim_create_autocmd [:TermOpen]
{:pattern "term://*"
:callback set-terminal-keymaps})
(tx :akinsho/toggleterm.nvim {:lazy false
:opts {:open_mapping "<c-\\>"
:start_in_insert true
:insert_mappings true
;; whether or not the open mapping applies in insert mode
:terminal_mappings true
;; whether or not the open mapping applies in the opened terminals
:persist_size true
:persist_mode true
;; if set to true (default) the previous terminal mode will be remembered
:autochdir true}
:keys []})
@@ -6,20 +6,14 @@
(tx :nvim-treesitter/nvim-treesitter (tx :nvim-treesitter/nvim-treesitter
{:branch :main {:branch :main
:build (fn [] :build ":TSUpdate"
(let [TS (require :nvim-treesitter)]
(when (not TS.get_installed)
(LazyVim.error "Please restart Neovim and run `:TSUpdate` to use the `nvim-treesitter` **main** branch."))
; make sure we're using the latest treesitter util
(set package.loaded.lazyvim.util.treesitter nil)
(LazyVim.treesitter.build (fn []
(TS.update nil {:summary true})))))
:opts {:indent {:enable true} :opts {:indent {:enable true}
:highlight {:enable true} :highlight {:enable true}
:folds {:enable true} :folds {:enable true}
:ensure_installed [:bash :ensure_installed [:bash
:clojure :clojure
:diff :diff
:elm
:fennel :fennel
:html :html
:javascript :javascript
@@ -31,6 +25,7 @@
:markdown :markdown
:markdown_inline :markdown_inline
:regex :regex
:ruby
:toml :toml
:vim :vim
:vimdoc :vimdoc
@@ -0,0 +1,3 @@
(import-macros {: tx} :config.macros)
(tx :folke/which-key.nvim {:event "VeryLazy"})
+14 -9
View File
@@ -1,11 +1,12 @@
{ {
"asyncrun.vim": { "branch": "master", "commit": "98d3c0fdeb983f0ef62fe3a49da440f6d2c045ce" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" }, "cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-conjure": { "branch": "master", "commit": "8c9a88efedc0e5bf3165baa6af8a407afe29daf6" }, "cmp-conjure": { "branch": "master", "commit": "8c9a88efedc0e5bf3165baa6af8a407afe29daf6" },
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
"conjure": { "branch": "main", "commit": "42048ce74a7d86dd85091d7d8cebb78d25761da3" }, "conjure": { "branch": "main", "commit": "5dddccee789f65606387c991f5efadea7af52cb7" },
"fennel.vim": { "branch": "main", "commit": "0a5c89e7f31d2721a36f7043ee98e24e22e6325e" }, "fennel.vim": { "branch": "main", "commit": "0a5c89e7f31d2721a36f7043ee98e24e22e6325e" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"lsp-colors.nvim": { "branch": "main", "commit": "2bbe7541747fd339bdd8923fc45631a09bb4f1e5" }, "lsp-colors.nvim": { "branch": "main", "commit": "2bbe7541747fd339bdd8923fc45631a09bb4f1e5" },
@@ -15,29 +16,33 @@
"neo-tree.nvim": { "branch": "v3.x", "commit": "9d6826582a3e8c84787bd7355df22a2812a1ad59" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "9d6826582a3e8c84787bd7355df22a2812a1ad59" },
"nfnl": { "branch": "main", "commit": "f39a7ec6fe0ace2b2ea108ce04d954549e36c76d" }, "nfnl": { "branch": "main", "commit": "f39a7ec6fe0ace2b2ea108ce04d954549e36c76d" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" }, "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
"nvim-lspconfig": { "branch": "master", "commit": "d8bf4c47385340ab2029402201d4d7c9f99f437a" }, "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
"nvim-lspconfig": { "branch": "master", "commit": "46204c8fdaa36a9aa3768780450e4bc7a210025f" },
"nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" },
"nvim-treesitter": { "branch": "main", "commit": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c" }, "nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" },
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" }, "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
"paredit": { "branch": "master", "commit": "60203e50698ed2211b4434a66ab2258a1a6ac3b5" }, "paredit": { "branch": "master", "commit": "60203e50698ed2211b4434a66ab2258a1a6ac3b5" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" }, "popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "01993eb20c6cdc1d33e7e98252368840309f99b9" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "607a438d8c647a355749973fd295e33505afafde" },
"smart-splits.nvim": { "branch": "master", "commit": "25bf40abf79720ebfa98e09259b7c42942055f4c" }, "smart-splits.nvim": { "branch": "master", "commit": "96afd5d3b029ac354aaa369fb33b4613a0bbf2f0" },
"telescope.nvim": { "branch": "master", "commit": "3333a52ff548ba0a68af6d8da1e54f9cd96e9179" }, "telescope.nvim": { "branch": "master", "commit": "3333a52ff548ba0a68af6d8da1e54f9cd96e9179" },
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
"vim-dadbod": { "branch": "master", "commit": "6d1d41da4873a445c5605f2005ad2c68c99d8770" }, "vim-dadbod": { "branch": "master", "commit": "6d1d41da4873a445c5605f2005ad2c68c99d8770" },
"vim-dispatch": { "branch": "master", "commit": "a2ff28abdb2d89725192db5b8562977d392a4d3f" }, "vim-dispatch": { "branch": "master", "commit": "a2ff28abdb2d89725192db5b8562977d392a4d3f" },
"vim-fugitive": { "branch": "master", "commit": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0" }, "vim-fugitive": { "branch": "master", "commit": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0" },
"vim-git": { "branch": "master", "commit": "485e38f29494e46a9998100e707c755d114155f1" }, "vim-git": { "branch": "master", "commit": "485e38f29494e46a9998100e707c755d114155f1" },
"vim-gitgutter": { "branch": "main", "commit": "55b368d4c68541775b4b253d3c98d3145b695c24" },
"vim-pathogen": { "branch": "master", "commit": "ac4dd9494fa9008754e49dff85bff1b5746c89b4" }, "vim-pathogen": { "branch": "master", "commit": "ac4dd9494fa9008754e49dff85bff1b5746c89b4" },
"vim-rails": { "branch": "master", "commit": "b0a5c76f86ea214ade36ab0b811e730c3f0add67" }, "vim-rails": { "branch": "master", "commit": "b0a5c76f86ea214ade36ab0b811e730c3f0add67" },
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" }, "vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
"vim-rhubarb": { "branch": "master", "commit": "5496d7c94581c4c9ad7430357449bb57fc59f501" }, "vim-rhubarb": { "branch": "master", "commit": "5496d7c94581c4c9ad7430357449bb57fc59f501" },
"vim-solarized8": { "branch": "master", "commit": "345e6b423a6df53e41324ff633d62265f465edec" }, "vim-solarized8": { "branch": "neovim", "commit": "1d05915cc9050ce1a8a6b94d8c2e48ead197c756" },
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }, "vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
"vim-unimpaired": { "branch": "master", "commit": "db65482581a28e4ccf355be297f1864a4e66985c" }, "vim-unimpaired": { "branch": "master", "commit": "db65482581a28e4ccf355be297f1864a4e66985c" },
"vim-vinegar": { "branch": "master", "commit": "bb1bcddf43cfebe05eb565a84ab069b357d0b3d6" }, "vim-vinegar": { "branch": "master", "commit": "bb1bcddf43cfebe05eb565a84ab069b357d0b3d6" },
"vim-vsnip": { "branch": "master", "commit": "9bcfabea653abdcdac584283b5097c3f8760abaa" }, "vim-vsnip": { "branch": "master", "commit": "9bcfabea653abdcdac584283b5097c3f8760abaa" },
"vim-vsnip-integ": { "branch": "master", "commit": "c7c93934dece8315db3649bdc6898b76358a8b8d" } "vim-vsnip-integ": { "branch": "master", "commit": "c7c93934dece8315db3649bdc6898b76358a8b8d" },
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
} }
@@ -0,0 +1,2 @@
-- [nfnl] fnl/plugins/asyncrun.fnl
return {"skywind3000/asyncrun.vim"}
@@ -0,0 +1,2 @@
-- [nfnl] fnl/plugins/autopairs.fnl
return {"windwp/nvim-autopairs", config = true, event = "InsertEnter"}
@@ -1,2 +1,2 @@
-- [nfnl] fnl/plugins/colorscheme.fnl -- [nfnl] fnl/plugins/colorscheme.fnl
return {"lifepillar/vim-solarized8"} return {"https://codeberg.org/lifepillar/vim-solarized8/", branch = "neovim"}
@@ -0,0 +1,2 @@
-- [nfnl] fnl/plugins/gitgutter.fnl
return {"airblade/vim-gitgutter"}
+35 -27
View File
@@ -33,9 +33,18 @@ local function _10_()
return vim.fn.input("Function name: ") return vim.fn.input("Function name: ")
end end
local function _11_() local function _11_()
return vim.fn.input("") local coll_types = {"map", "list", "set", "vector"}
local a = require("nfnl.core")
local choice
local function _13_(_12_)
local k = _12_[1]
local v = _12_[2]
return (tostring(k) .. ". " .. v)
end
choice = vim.fn.inputlist(a.concat({"Collection Type:"}, a["map-indexed"](_13_, coll_types)))
return a.get(coll_types, choice)
end end
client_command_lnmappings = {clojure_lsp = {ai = {"add-import-to-namespace", {_1_}}, am = {"add-missing-libspec", {}}, as = {"add-require-suggestion", {_2_, _3_, _4_}}, cc = {"cycle-coll", {}}, cn = {"clean-ns", {}}, cp = {"cycle-privacy", {}}, ct = {"create-test", {}}, df = {"drag-forward", {}}, db = {"drag-backward", {}}, dk = {"destructure-keys", {}}, ed = {"extract-to-def", {_5_}}, ref = {"extract-function", {_6_}}, el = {"expand-let", {}}, fe = {"create-function", {}}, il = {"introduce-let", {_7_}}, is = {"inline-symbol", {}}, ma = {"resolve-macro-as", {}}, mf = {"move-form", {_8_}}, ml = {"move-to-let", {_9_}}, pf = {"promote-fn", {_10_}}, sc = {"change-collection", {_11_, "input('Collection type: ')"}}, sm = {"sort-map", {}}, tf = {"thread-first-all", {}}, tF = {"thread-first", {}}, tl = {"thread-last-all", {}}, tL = {"thread-last", {}}, ua = {"unwind-all", {}}, uw = {"unwind-thread", {}}}} client_command_lnmappings = {clojure_lsp = {ai = {"add-import-to-namespace", {_1_}}, am = {"add-missing-libspec", {}}, as = {"add-require-suggestion", {_2_, _3_, _4_}}, cc = {"cycle-coll", {}}, cn = {"clean-ns", {}}, cp = {"cycle-privacy", {}}, ct = {"create-test", {}}, df = {"drag-forward", {}}, db = {"drag-backward", {}}, dk = {"destructure-keys", {}}, ed = {"extract-to-def", {_5_}}, ref = {"extract-function", {_6_}}, el = {"expand-let", {}}, fe = {"create-function", {}}, il = {"introduce-let", {_7_}}, is = {"inline-symbol", {}}, ma = {"resolve-macro-as", {}}, mf = {"move-form", {_8_}}, ml = {"move-to-let", {_9_}}, pf = {"promote-fn", {_10_}}, sc = {"change-coll", {_11_}}, sm = {"sort-map", {}}, tf = {"thread-first-all", {}}, tF = {"thread-first", {}}, tl = {"thread-last-all", {}}, tL = {"thread-last", {}}, ua = {"unwind-all", {}}, uw = {"unwind-thread", {}}}}
local vim = _G.vim local vim = _G.vim
local lsps = {"clojure_lsp", "lua_ls", "jsonls", "yamlls", "marksman", "html", "terraformls", "dockerls", "docker_compose_language_service", "bashls", "sqlls"} local lsps = {"clojure_lsp", "lua_ls", "jsonls", "yamlls", "marksman", "html", "terraformls", "dockerls", "docker_compose_language_service", "bashls", "sqlls"}
local filetype__3eformatters = {lua = {"stylua"}, sh = {"shfmt"}, python = {"ruff_organize_imports", "ruff_format"}, rust = {"rustfmt"}, toml = {"taplo"}, json = {"prettierd"}, javascript = {"prettierd"}, typescript = {"prettierd"}, jsx = {"prettierd"}, html = {"prettierd"}, css = {"prettierd"}, yaml = {"prettierd"}, markdown = {"prettierd"}, fennel = {"fnlfmt"}, sql = {"sqlfmt"}, gleam = {"gleam"}, _ = {lsp_format = "prefer"}, ["*"] = {"trim_whitespace", "trim_newlines"}} local filetype__3eformatters = {lua = {"stylua"}, sh = {"shfmt"}, python = {"ruff_organize_imports", "ruff_format"}, rust = {"rustfmt"}, toml = {"taplo"}, json = {"prettierd"}, javascript = {"prettierd"}, typescript = {"prettierd"}, jsx = {"prettierd"}, html = {"prettierd"}, css = {"prettierd"}, yaml = {"prettierd"}, markdown = {"prettierd"}, fennel = {"fnlfmt"}, sql = {"sqlfmt"}, gleam = {"gleam"}, _ = {lsp_format = "prefer"}, ["*"] = {"trim_whitespace", "trim_newlines"}}
@@ -43,12 +52,12 @@ local formatter__3epackage = {ruff_organize_imports = "ruff", ruff_format = "ruf
local disable_formatter_on_save = {fennel = true, sql = true} local disable_formatter_on_save = {fennel = true, sql = true}
local disable_formatter_auto_install = {cljfmt = true, fnlfmt = true, rustfmt = true, trim_whitespace = true, trim_newlines = true, gleam = true} local disable_formatter_auto_install = {cljfmt = true, fnlfmt = true, rustfmt = true, trim_whitespace = true, trim_newlines = true, gleam = true}
vim.lsp.enable({"clojure", "fennel-ls", "typedclojure"}) vim.lsp.enable({"clojure", "fennel-ls", "typedclojure"})
local function _12_(_, opts) local function _14_(_, opts)
local conform = require("conform") local conform = require("conform")
local registry = require("mason-registry") local registry = require("mason-registry")
local formatters_for_mason = {} local formatters_for_mason = {}
conform.formatters.shfmt = {prepend_args = {"-i", "2", "-ci"}} conform.formatters.shfmt = {prepend_args = {"-i", "2", "-ci"}}
local function _13_() local function _15_()
for _ft, formatters in pairs(filetype__3eformatters) do for _ft, formatters in pairs(filetype__3eformatters) do
for _idx, formatter in ipairs(formatters) do for _idx, formatter in ipairs(formatters) do
if not disable_formatter_auto_install[formatter] then if not disable_formatter_auto_install[formatter] then
@@ -67,13 +76,13 @@ local function _12_(_, opts)
end end
return nil return nil
end end
vim.schedule(_13_) vim.schedule(_15_)
vim.g.dotfiles_format_on_save = true vim.g.dotfiles_format_on_save = true
conform.setup(opts) conform.setup(opts)
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()" vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
return nil return nil
end end
local function _16_() local function _18_()
if (nil == vim.b.dotfiles_format_on_save) then if (nil == vim.b.dotfiles_format_on_save) then
vim.b.dotfiles_format_on_save = false vim.b.dotfiles_format_on_save = false
else else
@@ -81,24 +90,23 @@ local function _16_()
end end
return vim.notify(("Set vim.b.dotfiles_format_on_save to " .. tostring(vim.b.dotfiles_format_on_save))) return vim.notify(("Set vim.b.dotfiles_format_on_save to " .. tostring(vim.b.dotfiles_format_on_save)))
end end
local function _18_() local function _20_()
vim.g.dotfiles_format_on_save = not vim.g.dotfiles_format_on_save vim.g.dotfiles_format_on_save = not vim.g.dotfiles_format_on_save
return vim.notify(("Set vim.g.dotfiles_format_on_save to " .. tostring(vim.g.dotfiles_format_on_save))) return vim.notify(("Set vim.g.dotfiles_format_on_save to " .. tostring(vim.g.dotfiles_format_on_save)))
end end
local function _19_(_buf) local function _21_(_buf)
if (vim.g.dotfiles_format_on_save and ((nil == vim.b.dotfiles_format_on_save) or vim.b.dotfiles_format_on_save) and not disable_formatter_on_save[vim.bo.filetype]) then if (vim.g.dotfiles_format_on_save and ((nil == vim.b.dotfiles_format_on_save) or vim.b.dotfiles_format_on_save) and not disable_formatter_on_save[vim.bo.filetype]) then
return {timeout_ms = 500, lsp_format = "fallback"} return {timeout_ms = 500, lsp_format = "fallback"}
else else
return nil return nil
end end
end end
local function _21_() local function _23_()
local caps = require("cmp_nvim_lsp").default_capabilities() local caps = require("cmp_nvim_lsp").default_capabilities()
local mlsp = require("mason-lspconfig") local mlsp = require("mason-lspconfig")
local a = require("nfnl.core") local a = require("nfnl.core")
local u = require("dotfiles.util") local u = require("dotfiles.util")
local lsp = require("vim.lsp") local lsp = require("vim.lsp")
local lspconfig = require("lspconfig")
local cmp_nvim_lsp = require("cmp_nvim_lsp") local cmp_nvim_lsp = require("cmp_nvim_lsp")
vim.lsp.enable("gleam") vim.lsp.enable("gleam")
local function bufmap(mode, from, to, opts) local function bufmap(mode, from, to, opts)
@@ -135,24 +143,24 @@ local function _21_()
local lsp_cmd = a.first(command_mapping) local lsp_cmd = a.first(command_mapping)
local mapping = ("<leader>" .. lnmapping) local mapping = ("<leader>" .. lnmapping)
local cmd local cmd
local function _23_() local function _25_()
local opts local opts
do do
local s = "" local s = ""
for _i, opt in ipairs(a.second(command_mapping)) do for _i, opt in ipairs(a.second(command_mapping)) do
local _24_ local _26_
if ("function" == type(opt)) then if ("function" == type(opt)) then
_24_ = opt() _26_ = opt()
else else
_24_ = opt _26_ = opt
end end
s = (s .. _24_) s = (s .. _26_)
end end
opts = s opts = s
end end
return lsp_execute_command(client, lsp_cmd, opts) return lsp_execute_command(client, lsp_cmd, opts)
end end
cmd = _23_ cmd = _25_
nbufmap(mapping, cmd, {desc = ("LSP command `" .. lsp_cmd .. "`")}) nbufmap(mapping, cmd, {desc = ("LSP command `" .. lsp_cmd .. "`")})
end end
return nil return nil
@@ -168,35 +176,35 @@ local function _21_()
vim.api.nvim_set_hl(0, hlgroup, a.merge(vim.api.nvim_get_hl_by_name(base_group, true), {italic = true, foreground = "#6c71c4", background = "NONE"})) vim.api.nvim_set_hl(0, hlgroup, a.merge(vim.api.nvim_get_hl_by_name(base_group, true), {italic = true, foreground = "#6c71c4", background = "NONE"}))
end end
local group = vim.api.nvim_create_augroup("LspDocumentHighlight", {clear = true}) local group = vim.api.nvim_create_augroup("LspDocumentHighlight", {clear = true})
local function _27_() local function _29_()
return vim.lsp.buf.document_highlight() return vim.lsp.buf.document_highlight()
end end
vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, {group = group, pattern = "<buffer>", callback = _27_}) vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, {group = group, pattern = "<buffer>", callback = _29_})
local function _28_() local function _30_()
return vim.lsp.buf.clear_references() return vim.lsp.buf.clear_references()
end end
vim.api.nvim_create_autocmd({"CursorMoved"}, {group = group, pattern = "<buffer>", callback = _28_}) vim.api.nvim_create_autocmd({"CursorMoved"}, {group = group, pattern = "<buffer>", callback = _30_})
else else
end end
if client.server_capabilities.documentFormattingProvider then if client.server_capabilities.documentFormattingProvider then
local function _30_() local function _32_()
return require("conform").format() return require("conform").format()
end end
vim.api.nvim_create_autocmd({"BufWritePre"}, {pattern = "<buffer>", callback = _30_}) vim.api.nvim_create_autocmd({"BufWritePre"}, {pattern = "<buffer>", callback = _32_})
else else
end end
return print("LSP Client Attached.") return print("LSP Client Attached.")
end end
local function _32_(server_name) local function _34_(server_name)
vim.lsp.config(server_name, {capabilities = caps, on_attach = on_attach}) vim.lsp.config(server_name, {capabilities = caps, on_attach = on_attach})
return vim.lsp.enable(server_name) return vim.lsp.enable(server_name)
end end
return mlsp.setup_handlers({_32_}) return mlsp.setup_handlers({_34_})
end end
local function _33_() local function _35_()
return vim.lsp.buf.code_action() return vim.lsp.buf.code_action()
end end
local function _34_() local function _36_()
return require("conform").format() return require("conform").format()
end end
return {{"folke/lsp-colors.nvim"}, {"williamboman/mason.nvim", opts = {}, tag = "v1.11.0"}, {"stevearc/conform.nvim", config = _12_, dependencies = {"rcarriga/nvim-notify"}, keys = {{"<leader>tbf", _16_, desc = "Toggle buffer formatting"}, {"<leader>tgf", _18_, desc = "Toggle global formatting"}}, opts = {formatters_by_ft = filetype__3eformatters, format_on_save = _19_}}, {"williamboman/mason-lspconfig.nvim", dependencies = {"williamboman/mason.nvim"}, opts = {ensure_installed = lsps, automatic_installation = true}, tag = "v1.32.0"}, {"neovim/nvim-lspconfig", config = _21_, dependencies = {"williamboman/mason-lspconfig.nvim", "hrsh7th/cmp-nvim-lsp", "stevearc/conform.nvim", "Olical/nfnl"}, keys = {{"<leader>ca", _33_, desc = "Invoke code_action, prompting for an action to take at the cursor"}, {"<leader>fa", _34_, desc = "LSP format"}, {"<leader>rn", vim.lsp.buf.rename, desc = "LSP rename"}, {"gd", vim.lsp.buf.definition, desc = "Go to Definition"}, {"gD", vim.lsp.buf.declaration, desc = "Go to Declaration"}, {"gi", vim.lsp.buf.implementation, desc = "Go to Implementation"}, {"gr", vim.lsp.buf.references, desc = "Show References"}, {"K", vim.lsp.buf.hover, desc = "LSP Hover"}, {"[g", vim.lsp.diagnostic.goto_prev, desc = "Previous Diagnostic"}, {"]g", vim.lsp.diagnostic.goto_next, desc = "Next Diagnostic"}, {"<c-k>", vim.lsp.buf.signature_help, desc = "Signature Help"}}, lazy = false}, {"RubixDev/mason-update-all", cmd = "MasonUpdateAll", dependencies = {"williamboman/mason.nvim", "Olical/nfnl"}, main = "mason-update-all", opts = {}}} return {{"folke/lsp-colors.nvim"}, {"williamboman/mason.nvim", opts = {}, tag = "v1.11.0"}, {"stevearc/conform.nvim", config = _14_, dependencies = {"rcarriga/nvim-notify"}, keys = {{"<leader>tbf", _18_, desc = "Toggle buffer formatting"}, {"<leader>tgf", _20_, desc = "Toggle global formatting"}}, opts = {formatters_by_ft = filetype__3eformatters, format_on_save = _21_}}, {"williamboman/mason-lspconfig.nvim", dependencies = {"williamboman/mason.nvim"}, opts = {ensure_installed = lsps, automatic_installation = true}, tag = "v1.32.0"}, {"neovim/nvim-lspconfig", config = _23_, dependencies = {"williamboman/mason-lspconfig.nvim", "hrsh7th/cmp-nvim-lsp", "stevearc/conform.nvim", "Olical/nfnl"}, keys = {{"<leader>ca", _35_, desc = "Invoke code_action, prompting for an action to take at the cursor"}, {"<leader>fa", _36_, desc = "LSP format"}, {"<leader>rn", vim.lsp.buf.rename, desc = "LSP rename"}, {"gd", vim.lsp.buf.definition, desc = "Go to Definition"}, {"gD", vim.lsp.buf.declaration, desc = "Go to Declaration"}, {"gi", vim.lsp.buf.implementation, desc = "Go to Implementation"}, {"gr", vim.lsp.buf.references, desc = "Show References"}, {"K", vim.lsp.buf.hover, desc = "LSP Hover"}, {"[g", vim.lsp.diagnostic.goto_prev, desc = "Previous Diagnostic"}, {"]g", vim.lsp.diagnostic.goto_next, desc = "Next Diagnostic"}, {"<c-k>", vim.lsp.buf.signature_help, desc = "Signature Help"}}, lazy = false}, {"RubixDev/mason-update-all", cmd = "MasonUpdateAll", dependencies = {"williamboman/mason.nvim", "Olical/nfnl"}, main = "mason-update-all", opts = {}}}
@@ -0,0 +1,13 @@
-- [nfnl] fnl/plugins/toggle-term.fnl
local function set_terminal_keymaps()
vim.keymap.set("t", "<esc>", "<C-\\><C-n>")
vim.keymap.set("t", "jk", "<C-\\><C-n>")
vim.keymap.set("t", "<C-h>", "<Cmd>wincmd h<CR>")
vim.keymap.set("t", "<C-j>", "<Cmd>wincmd j<CR>")
vim.keymap.set("t", "<C-k>", "<Cmd>wincmd k<CR>")
vim.keymap.set("t", "<C-l>", "<Cmd>wincmd l<CR>")
return vim.keymap.set("t", "<C-w>", "<C-\\><C-n><C-w>")
end
vim.api.nvim_create_user_command("SetTerminalKeymaps", set_terminal_keymaps, {})
vim.api.nvim_create_autocmd({"TermOpen"}, {pattern = "term://*", callback = set_terminal_keymaps})
return {"akinsho/toggleterm.nvim", keys = {}, lazy = false, opts = {open_mapping = "<c-\\>", start_in_insert = true, insert_mappings = true, terminal_mappings = true, persist_size = true, persist_mode = true, autochdir = true}}
+1 -13
View File
@@ -9,16 +9,4 @@ local function _1_()
return vim.schedule(_2_) return vim.schedule(_2_)
end end
vim.api.nvim_create_autocmd("FileType", {pattern = {"*"}, callback = _1_}) vim.api.nvim_create_autocmd("FileType", {pattern = {"*"}, callback = _1_})
local function _4_() return {"nvim-treesitter/nvim-treesitter", branch = "main", build = ":TSUpdate", opts = {indent = {enable = true}, highlight = {enable = true}, folds = {enable = true}, ensure_installed = {"bash", "clojure", "diff", "elm", "fennel", "html", "javascript", "jsdoc", "json", "lua", "luadoc", "luap", "markdown", "markdown_inline", "regex", "ruby", "toml", "vim", "vimdoc", "xml", "yaml"}}}
local TS = require("nvim-treesitter")
if not TS.get_installed then
LazyVim.error("Please restart Neovim and run `:TSUpdate` to use the `nvim-treesitter` **main** branch.")
else
end
package.loaded.lazyvim.util.treesitter = nil
local function _6_()
return TS.update(nil, {summary = true})
end
return LazyVim.treesitter.build(_6_)
end
return {"nvim-treesitter/nvim-treesitter", branch = "main", build = _4_, opts = {indent = {enable = true}, highlight = {enable = true}, folds = {enable = true}, ensure_installed = {"bash", "clojure", "diff", "fennel", "html", "javascript", "jsdoc", "json", "lua", "luadoc", "luap", "markdown", "markdown_inline", "regex", "toml", "vim", "vimdoc", "xml", "yaml"}}}
@@ -0,0 +1,2 @@
-- [nfnl] fnl/plugins/whichkey.fnl
return {"folke/which-key.nvim", event = "VeryLazy"}
+9 -5
View File
@@ -3,6 +3,7 @@ unbind C-b
set -g xterm-keys on set -g xterm-keys on
set -s extended-keys on set -s extended-keys on
setw -q -g utf8 on
set -g history-file ~/.tmux_history set -g history-file ~/.tmux_history
@@ -36,9 +37,10 @@ bind L resize-pane -R 5
setw -g mouse off setw -g mouse off
# set -g default-terminal "xterm-256:color" set -g default-terminal "xterm-256:color"
# set -g default-terminal "${TERM}" # set -g default-terminal "${TERM}"
set -g default-terminal "tmux-256color" # set -g default-terminal "tmux-256color"
# set -g default-terminal "xterm-256color"
set -g history-limit 55000 set -g history-limit 55000
set -g window-status-style dim set -g window-status-style dim
@@ -52,8 +54,11 @@ set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WIND
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
# set -as terminal-overrides ',xterm-256color:RGB' # set -as terminal-overrides ',xterm-256color:RGB'
set -as terminal-features ',tmux-256color:RGB' set -as terminal-features ',xterm-256color:RGB'
set-option -sa terminal-overrides ',tmux-256color:RGB' # set -as terminal-features ',tmux-256color:RGB'
# set-option -sa terminal-overrides ',tmux-256color:RGB'
# set-option -sa terminal-overrides ',xterm-256color:RGB'
set -as terminal-overrides ",*:U8=0"
# Undercurl # Undercurl
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
@@ -88,4 +93,3 @@ bind-key -T copy-mode-vi 'M-S-j' select-pane -D
bind-key -T copy-mode-vi 'M-S-k' select-pane -U bind-key -T copy-mode-vi 'M-S-k' select-pane -U
bind-key -T copy-mode-vi 'M-S-l' select-pane -R bind-key -T copy-mode-vi 'M-S-l' select-pane -R
bind-key -T copy-mode-vi 'M-S-\' select-pane -l bind-key -T copy-mode-vi 'M-S-\' select-pane -l