diff --git a/config/fish/config.fish b/config/fish/config.fish index d714361..9abd846 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -1,3 +1,7 @@ +if test -f /etc/motd + cat /ect/motd +end + if status is-interactive # Commands to run in interactive sessions can go here end diff --git a/config/nvim/lazyvim.json b/config/nvim/lazyvim.json index db7c925..65b2d90 100644 --- a/config/nvim/lazyvim.json +++ b/config/nvim/lazyvim.json @@ -1,17 +1,14 @@ { "extras": [ + "lazyvim.plugins.extras.dap.core", "lazyvim.plugins.extras.lang.clangd", "lazyvim.plugins.extras.lang.cmake", "lazyvim.plugins.extras.lang.docker", - "lazyvim.plugins.extras.lang.elixir", - "lazyvim.plugins.extras.lang.go", - "lazyvim.plugins.extras.lang.java", "lazyvim.plugins.extras.lang.json", "lazyvim.plugins.extras.lang.markdown", "lazyvim.plugins.extras.lang.omnisharp", "lazyvim.plugins.extras.lang.python", "lazyvim.plugins.extras.lang.rust", - "lazyvim.plugins.extras.lang.tailwind", "lazyvim.plugins.extras.lang.tex", "lazyvim.plugins.extras.lang.typescript", "lazyvim.plugins.extras.lang.yaml" diff --git a/config/nvim/lua/config/options.lua b/config/nvim/lua/config/options.lua index 4c19d2d..863ff10 100644 --- a/config/nvim/lua/config/options.lua +++ b/config/nvim/lua/config/options.lua @@ -1,7 +1,12 @@ -- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here -vim.opt.smartindent = true -vim.opt.relativenumber = true -vim.opt.clipboard = "unnamedplus" -vim.opt.shell = "fish" +vim.g.autoformat = false + +local opt = vim.opt + +opt.smartindent = true +opt.relativenumber = true +opt.clipboard = "unnamedplus" +opt.shell = "fish" +opt.spell = false diff --git a/config/nvim/lua/plugins/lazyvim.lua b/config/nvim/lua/plugins/lazyvim.lua index 220bc04..afbf38b 100644 --- a/config/nvim/lua/plugins/lazyvim.lua +++ b/config/nvim/lua/plugins/lazyvim.lua @@ -1,5 +1,4 @@ return { - { "ellisonleao/gruvbox.nvim" }, { "LazyVim/LazyVim", opts = { diff --git a/config/nvim/lua/plugins/leap-nvim.lua b/config/nvim/lua/plugins/leap-nvim.lua deleted file mode 100644 index 46845d5..0000000 --- a/config/nvim/lua/plugins/leap-nvim.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "ggandor/leap.nvim", - dependencies = { "tpope/vim-repeat" }, -} diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf new file mode 100644 index 0000000..0eaada7 --- /dev/null +++ b/config/tmux/tmux.conf @@ -0,0 +1,4 @@ +set-option -sg escape-time 10 +set-option -g focus-events on +set-option -sa terminal-features ',xterm-256color:RGB' +set-option -g default-shell /usr/bin/fish diff --git a/install.sh b/install.sh index 869ec2f..ee87b96 100755 --- a/install.sh +++ b/install.sh @@ -13,13 +13,17 @@ case "$OS" in ;; "ubuntu" | "debian") echo "Installing for Ubuntu or Debian" - /usr/bin/apt-get update + echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list + curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null + sudo apt update curl -L "https://github.com/neovim/neovim-releases/releases/download/nightly/nvim-linux64.deb" -o /tmp/nvim-linux64.deb /usr/bin/apt install /tmp/nvim-linux64.deb - /usr/bin/apt install ranger stow fish mpv atool caca-utils elinks highlight mediainfo poppler-utils build-essential lazygit jq + /usr/bin/apt install ranger stow fish atool caca-utils elinks highlight mediainfo poppler-utils build-essential jq /usr/bin/rm /tmp/nvim-linux64.deb ;; *) echo "Not supported" ;; esac + +stow -t ~/.config config diff --git a/readme.md b/readme.md index 435f800..cc5aa07 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,8 @@ + # Dotfiles + Using GNU Stow. -``` +```bash stow -t ~/.config config ```