MOTD, Updates

Added tmux config with nvim fixes
Updated install.sh to also run stow
Added support for motd in fish
This commit is contained in:
KaasKop-
2024-01-03 19:27:55 +01:00
parent cf061d2777
commit 95f9869970
8 changed files with 27 additions and 16 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -1,5 +1,4 @@
return {
{ "ellisonleao/gruvbox.nvim" },
{
"LazyVim/LazyVim",
opts = {

View File

@@ -1,4 +0,0 @@
return {
"ggandor/leap.nvim",
dependencies = { "tpope/vim-repeat" },
}

4
config/tmux/tmux.conf Normal file
View File

@@ -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

View File

@@ -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

View File

@@ -1,6 +1,8 @@
# Dotfiles
Using GNU Stow.
```
```bash
stow -t ~/.config config
```