From 72670045f3fbf65c4a439295535987b5ac605855 Mon Sep 17 00:00:00 2001
From: aminnairi <18418459+aminnairi@users.noreply.github.com>
Date: Sat, 8 Nov 2025 20:45:52 +0100
Subject: [PATCH] removed old ansible roles
---
ansible/roles/amd/tasks/main.yml | 36 -
ansible/roles/base/tasks/main.yml | 115 ---
ansible/roles/browsers/tasks/main.yml | 25 -
ansible/roles/cmus/tasks/main.yml | 6 -
ansible/roles/docker/tasks/main.yml | 29 -
ansible/roles/felix/files/felix/config.yaml | 69 --
ansible/roles/felix/tasks/main.yml | 15 -
.../fish/files/fish/conf.d/abbreviations.fish | 112 ---
ansible/roles/fish/files/fish/conf.d/omf.fish | 7 -
ansible/roles/fish/files/fish/config.fish | 64 --
.../roles/fish/files/fish/functions/cat.fish | 3 -
.../roles/fish/files/fish/functions/ls.fish | 3 -
.../roles/fish/files/fish/functions/pass.fish | 3 -
.../fish/functions/privateinternetaccess.fish | 30 -
.../roles/fish/files/fish/functions/rm.fish | 4 -
.../roles/fish/files/fish/functions/tmux.fish | 12 -
.../roles/fish/files/fish/functions/vicd.fish | 3 -
ansible/roles/fish/files/omf/bundle | 1 -
ansible/roles/fish/files/omf/channel | 1 -
ansible/roles/fish/files/omf/theme | 1 -
ansible/roles/fish/tasks/main.yml | 84 ---
.../fontconfig/files/fontconfig/fonts.conf | 33 -
ansible/roles/fontconfig/tasks/main.yml | 29 -
ansible/roles/git/files/.gitconfig | 11 -
ansible/roles/git/tasks/main.yml | 20 -
.../files/autostart/keyboard-rate.desktop | 9 -
ansible/roles/gnome/tasks/main.yml | 30 -
ansible/roles/helix/files/helix/config.toml | 28 -
.../roles/helix/files/helix/languages.toml | 17 -
ansible/roles/helix/tasks/main.yml | 16 -
ansible/roles/hostname/tasks/main.yml | 6 -
ansible/roles/kitty/files/kitty/kitty.conf | 70 --
ansible/roles/kitty/tasks/main.yml | 21 -
ansible/roles/locale/tasks/main.yml | 14 -
ansible/roles/locale/vars/main.yml | 1 -
.../roles/markdown-table-align/tasks/main.yml | 18 -
ansible/roles/neovim/files/nvim/init.lua | 4 -
.../files/nvim/lua/settings/autocommands.lua | 9 -
.../neovim/files/nvim/lua/settings/keymap.lua | 37 -
.../files/nvim/lua/settings/lazy/init.lua | 16 -
.../nvim/lua/settings/lazy/plugins/barbar.lua | 33 -
.../lua/settings/lazy/plugins/barbecue.lua | 13 -
.../nvim/lua/settings/lazy/plugins/cloak.lua | 45 --
.../lua/settings/lazy/plugins/comment.lua | 46 --
.../lua/settings/lazy/plugins/conform.lua | 38 -
.../lua/settings/lazy/plugins/dressing.lua | 168 -----
.../lua/settings/lazy/plugins/icon-picker.lua | 19 -
.../settings/lazy/plugins/link-visitor.lua | 22 -
.../lua/settings/lazy/plugins/lsp-colors.lua | 12 -
.../lua/settings/lazy/plugins/lspkind.lua | 36 -
.../lua/settings/lazy/plugins/lualine.lua | 47 --
.../settings/lazy/plugins/mason-lspconfig.lua | 38 -
.../lazy/plugins/mason-tool-installer.lua | 27 -
.../nvim/lua/settings/lazy/plugins/mason.lua | 4 -
.../nvim/lua/settings/lazy/plugins/neogit.lua | 21 -
.../nvim/lua/settings/lazy/plugins/neorg.lua | 72 --
.../lua/settings/lazy/plugins/neoscroll.lua | 5 -
.../nvim/lua/settings/lazy/plugins/noice.lua | 26 -
.../settings/lazy/plugins/nvim-autopairs.lua | 5 -
.../lua/settings/lazy/plugins/nvim-lint.lua | 44 --
.../settings/lazy/plugins/nvim-lspconfig.lua | 81 ---
.../lua/settings/lazy/plugins/nvim-notify.lua | 23 -
.../settings/lazy/plugins/nvim-surround.lua | 5 -
.../settings/lazy/plugins/nvim-treesitter.lua | 139 ----
.../lua/settings/lazy/plugins/nvimcmp.lua | 70 --
.../lua/settings/lazy/plugins/nvimtree.lua | 175 -----
.../lua/settings/lazy/plugins/telescope.lua | 24 -
.../lua/settings/lazy/plugins/tokyonight.lua | 16 -
.../settings/lazy/plugins/vim-illuminate.lua | 52 --
.../lua/settings/lazy/plugins/which-key.lua | 11 -
.../lua/settings/lazy/plugins/zen-mode.lua | 5 -
.../files/nvim/lua/settings/options.lua | 44 --
ansible/roles/neovim/tasks/main.yml | 104 ---
ansible/roles/network/tasks/main.yml | 12 -
ansible/roles/pipewire/tasks/main.yml | 17 -
.../privateinternetaccess/tasks/main.yml | 22 -
ansible/roles/slidev/tasks/main.yml | 26 -
ansible/roles/timezone/tasks/main.yml | 5 -
ansible/roles/tmux/files/tmux/tmux.conf | 90 ---
ansible/roles/tmux/tasks/main.yml | 34 -
.../roles/vifm/files/vifm/colors/Default.vifm | 29 -
.../vifm/files/vifm/colors/Palenight.vifm | 28 -
ansible/roles/vifm/files/vifm/vifmrc | 665 ------------------
ansible/roles/vifm/tasks/main.yml | 17 -
ansible/roles/xorg/tasks/main.yml | 16 -
85 files changed, 3443 deletions(-)
delete mode 100644 ansible/roles/amd/tasks/main.yml
delete mode 100644 ansible/roles/base/tasks/main.yml
delete mode 100644 ansible/roles/browsers/tasks/main.yml
delete mode 100644 ansible/roles/cmus/tasks/main.yml
delete mode 100644 ansible/roles/docker/tasks/main.yml
delete mode 100644 ansible/roles/felix/files/felix/config.yaml
delete mode 100644 ansible/roles/felix/tasks/main.yml
delete mode 100644 ansible/roles/fish/files/fish/conf.d/abbreviations.fish
delete mode 100644 ansible/roles/fish/files/fish/conf.d/omf.fish
delete mode 100644 ansible/roles/fish/files/fish/config.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/cat.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/ls.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/pass.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/privateinternetaccess.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/rm.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/tmux.fish
delete mode 100644 ansible/roles/fish/files/fish/functions/vicd.fish
delete mode 100644 ansible/roles/fish/files/omf/bundle
delete mode 100644 ansible/roles/fish/files/omf/channel
delete mode 100644 ansible/roles/fish/files/omf/theme
delete mode 100644 ansible/roles/fish/tasks/main.yml
delete mode 100644 ansible/roles/fontconfig/files/fontconfig/fonts.conf
delete mode 100644 ansible/roles/fontconfig/tasks/main.yml
delete mode 100644 ansible/roles/git/files/.gitconfig
delete mode 100644 ansible/roles/git/tasks/main.yml
delete mode 100644 ansible/roles/gnome/files/autostart/keyboard-rate.desktop
delete mode 100644 ansible/roles/gnome/tasks/main.yml
delete mode 100644 ansible/roles/helix/files/helix/config.toml
delete mode 100644 ansible/roles/helix/files/helix/languages.toml
delete mode 100644 ansible/roles/helix/tasks/main.yml
delete mode 100644 ansible/roles/hostname/tasks/main.yml
delete mode 100644 ansible/roles/kitty/files/kitty/kitty.conf
delete mode 100644 ansible/roles/kitty/tasks/main.yml
delete mode 100644 ansible/roles/locale/tasks/main.yml
delete mode 100644 ansible/roles/locale/vars/main.yml
delete mode 100644 ansible/roles/markdown-table-align/tasks/main.yml
delete mode 100644 ansible/roles/neovim/files/nvim/init.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/autocommands.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/keymap.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/init.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbar.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbecue.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/cloak.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/comment.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/dressing.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/icon-picker.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/link-visitor.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lsp-colors.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lspkind.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lualine.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-lspconfig.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-tool-installer.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neogit.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neoscroll.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/noice.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-autopairs.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lint.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lspconfig.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-notify.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-surround.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimcmp.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/telescope.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/tokyonight.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/vim-illuminate.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/which-key.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/zen-mode.lua
delete mode 100644 ansible/roles/neovim/files/nvim/lua/settings/options.lua
delete mode 100644 ansible/roles/neovim/tasks/main.yml
delete mode 100644 ansible/roles/network/tasks/main.yml
delete mode 100644 ansible/roles/pipewire/tasks/main.yml
delete mode 100644 ansible/roles/privateinternetaccess/tasks/main.yml
delete mode 100644 ansible/roles/slidev/tasks/main.yml
delete mode 100644 ansible/roles/timezone/tasks/main.yml
delete mode 100644 ansible/roles/tmux/files/tmux/tmux.conf
delete mode 100644 ansible/roles/tmux/tasks/main.yml
delete mode 100644 ansible/roles/vifm/files/vifm/colors/Default.vifm
delete mode 100644 ansible/roles/vifm/files/vifm/colors/Palenight.vifm
delete mode 100644 ansible/roles/vifm/files/vifm/vifmrc
delete mode 100644 ansible/roles/vifm/tasks/main.yml
delete mode 100644 ansible/roles/xorg/tasks/main.yml
diff --git a/ansible/roles/amd/tasks/main.yml b/ansible/roles/amd/tasks/main.yml
deleted file mode 100644
index e8ffbd1..0000000
--- a/ansible/roles/amd/tasks/main.yml
+++ /dev/null
@@ -1,36 +0,0 @@
----
-- name: Install Xorg AMDGPU (AMD graphics driver for Xorg)
- become: true
- pacman:
- name: xf86-video-amdgpu
- state: latest
-- name: Install Vulkan Radeon (Vulkan for AMDGPU)
- become: true
- pacman:
- name: vulkan-radeon
- state: latest
-- name: Install Mesa (graphics driver)
- become: true
- pacman:
- name: mesa
- state: latest
-- name: Install Libva Mesa (accelerated video decoding driver)
- become: true
- pacman:
- name: libva-mesa-driver
- state: latest
-- name: Install Radeon Top (graphics monitoring)
- become: true
- pacman:
- name: radeontop
- state: latest
-- name: Install Mesa Vdpau (accelerated video decoding driver)
- become: true
- pacman:
- name: mesa-vdpau
- state: latest
-- name: Install AMD microcode
- become: true
- pacman:
- name: amd-ucode
- state: latest
diff --git a/ansible/roles/base/tasks/main.yml b/ansible/roles/base/tasks/main.yml
deleted file mode 100644
index c66ff38..0000000
--- a/ansible/roles/base/tasks/main.yml
+++ /dev/null
@@ -1,115 +0,0 @@
----
-- name: Install Syncthing (synchronization tool)
- become: true
- pacman:
- name: syncthing
- state: latest
-- name: Install Man (manual page in the terminal)
- become: true
- pacman:
- name: man
- state: latest
-- name: Install Passbolt (password manager)
- become: true
- kewlfft.aur.aur:
- name: passbolt
- state: latest
-- name: Install Toipe (typing testing in the terminal)
- become: true
- kewlfft.aur.aur:
- name: toipe
- state: latest
-- name: Install Bpytop (system monitor)
- become: true
- pacman:
- name: bpytop
- state: latest
-- name: Install Bandwhich (bandwidth visualization tool)
- become: true
- pacman:
- name: bandwhich
- state: latest
-- name: Install Bind (network utilities, nslookup, dig, ...)
- become: true
- pacman:
- name: bind
- state: latest
-- name: Install Which
- become: true
- pacman:
- name: which
- state: latest
-- name: Install Fd (alternative to find)
- become: true
- pacman:
- name: fd
- state: latest
-- name: Install Python
- become: true
- pacman:
- name: python
- state: latest
-- name: Install Ruby
- become: true
- pacman:
- name: ruby
- state: latest
-- name: Install Composer (PHP package manager)
- become: true
- pacman:
- name: composer
- state: latest
-- name: Install Luarocks (Lua package manager)
- become: true
- pacman:
- name: luarocks
- state: latest
-- name: Install Wget (HTTP client)
- become: true
- pacman:
- name: wget
- state: latest
-- name: Install Unzip (uncompression utility)
- become: true
- pacman:
- name: unzip
- state: latest
-- name: Install Zip (compression utility)
- become: true
- pacman:
- name: zip
- state: latest
-- name: Install rsync (file synchronizer)
- become: true
- pacman:
- name: rsync
- state: latest
-- name: Install ACPID (Power manager)
- become: true
- pacman:
- name: acpid
- state: latest
-- name: Start ACPID service
- become: true
- service:
- enabled: true
- name: acpid
- state: started
-- name: Install Tokei (line of code counter)
- become: true
- pacman:
- name: tokei
- state: latest
-- name: Install bitwarden (password vault)
- become: true
- pacman:
- name: bitwarden
- state: latest
-- name: Install Wttr (weather informations)
- kewlfft.aur.aur:
- name: wttr
- state: latest
-- name: Install LaTeX tools
- become: true
- pacman:
- name: texlive
diff --git a/ansible/roles/browsers/tasks/main.yml b/ansible/roles/browsers/tasks/main.yml
deleted file mode 100644
index 4b9a809..0000000
--- a/ansible/roles/browsers/tasks/main.yml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-- name: Install Chromium
- become: true
- pacman:
- name: chromium
- state: latest
-- name: Install Google Chrome
- kewlfft.aur.aur:
- name: google-chrome
- state: latest
-- name: Install Firefox
- become: true
- pacman:
- name: firefox
- state: latest
-- name: Install Opera
- become: true
- pacman:
- name: firefox
- state: latest
-- name: Install Vimb (browser with vim-like shortcuts)
- become: true
- pacman:
- name: vimb
- state: latest
diff --git a/ansible/roles/cmus/tasks/main.yml b/ansible/roles/cmus/tasks/main.yml
deleted file mode 100644
index bd92a03..0000000
--- a/ansible/roles/cmus/tasks/main.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- name: Install Cmus (music player for the terminal)
- become: true
- pacman:
- name: cmus
- state: latest
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
deleted file mode 100644
index 999b696..0000000
--- a/ansible/roles/docker/tasks/main.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-- name: Install Docker
- become: true
- pacman:
- name: docker
- state: latest
-- name: Install Docker Compose
- become: true
- pacman:
- name: docker-compose
- state: latest
-- name: Install LazyDocker (Docker TUI)
- kewlfft.aur.aur:
- name: lazydocker
- state: latest
-- name: List groups for the unprivileged user
- command: groups {{ ansible_user_id }}
- register: user_groups_command
- changed_when: false
-- name: Ensure the user has the correct permission
- become: true
- command: usermod -aG docker {{ ansible_user_id }}
- when: '"docker" not in user_groups_command.stdout'
-- name: Ensure Docker is started and enabled at boot
- become: true
- service:
- name: docker
- enabled: true
- state: started
diff --git a/ansible/roles/felix/files/felix/config.yaml b/ansible/roles/felix/files/felix/config.yaml
deleted file mode 100644
index f55e013..0000000
--- a/ansible/roles/felix/files/felix/config.yaml
+++ /dev/null
@@ -1,69 +0,0 @@
----
-# (Optional)
-# Default exec command when open files.
-# If not set, will default to $EDITOR.
-default: nvim
-
-# (Optional)
-# key (the command you want to use when opening files): [values] (extensions)
-# In the key, You can use arguments.
-exec:
- zathura:
- - pdf
- 'feh -.':
- - jpg
- - jpeg
- - png
- - gif
- - svg
- - hdr
-
-# (Optional)
-# Whether to use syntax highlighting in the preview mode.
-# If not set, will default to false.
-syntax_highlight: true
-
-# (Optional)
-# Default theme for syntax highlighting.
-# Pick one from the following:
-# Base16OceanDark
-# Base16EightiesDark
-# Base16MochaDark
-# Base16OceanLight
-# InspiredGitHub
-# SolarizedDark
-# SolarizedLight
-# If not set, will default to "Base16OceanDark".
-default_theme: Base16OceanDark
-
-# (Optional)
-# Path to .tmtheme file for the syntax highlighting.
-# If not set, default_theme will be used.
-# theme_path: "/home/kyohei/.config/felix/monokai.tmtheme"
-
-# The foreground color of directory, file and symlink.
-# Pick one of the following:
-# Black // 0
-# Red // 1
-# Green // 2
-# Yellow // 3
-# Blue // 4
-# Magenta // 5
-# Cyan // 6
-# White // 7
-# LightBlack // 8
-# LightRed // 9
-# LightGreen // 10
-# LightYellow // 11
-# LightBlue // 12
-# LightMagenta // 13
-# LightCyan // 14
-# LightWhite // 15
-# Rgb(u8, u8, u8)
-# AnsiValue(u8)
-# For more details, see https://docs.rs/termion/1.5.6/termion/color/index.html
-color:
- dir_fg: LightCyan
- file_fg: LightWhite
- symlink_fg: LightYellow
- dirty_fg: Red
diff --git a/ansible/roles/felix/tasks/main.yml b/ansible/roles/felix/tasks/main.yml
deleted file mode 100644
index 111cb19..0000000
--- a/ansible/roles/felix/tasks/main.yml
+++ /dev/null
@@ -1,15 +0,0 @@
----
-- name: Felix (command-line file manager)
- become: true
- pacman:
- name: felix-rs
- state: latest
-- name: Install Chafa (image previewer for Felix)
- become: true
- pacman:
- name: chafa
- state: latest
-- name: Felix setup
- synchronize:
- src: felix
- dest: "/$HOME/.config"
diff --git a/ansible/roles/fish/files/fish/conf.d/abbreviations.fish b/ansible/roles/fish/files/fish/conf.d/abbreviations.fish
deleted file mode 100644
index 2fa6ce3..0000000
--- a/ansible/roles/fish/files/fish/conf.d/abbreviations.fish
+++ /dev/null
@@ -1,112 +0,0 @@
-# Abbreviations for "docker compose"
-abbr --add dkcpb "docker compose build"
-abbr --add dkcpcf "docker compose config"
-abbr --add dkcpcp "docker compose cp"
-abbr --add dkcpce "docker compose create"
-abbr --add dkcpdn "docker compose down"
-abbr --add dkcpevt "docker compose events"
-abbr --add dkcpex "docker compose exec"
-abbr --add dkcpimg "docker compose images"
-abbr --add dkcpkl "docker compose kill"
-abbr --add dkcplg "docker compose logs"
-abbr --add dkcpls "docker compose ls"
-abbr --add dkcppa "docker compose pause"
-abbr --add dkcppr "docker compose port"
-abbr --add dkcppl "docker compose pull"
-abbr --add dkcpps "docker compose ps"
-abbr --add dkcprs "docker compose restart"
-abbr --add dkcprn "docker compose run"
-abbr --add dkcpsc "docker compose scale"
-abbr --add dkcpst "docker compose start"
-abbr --add dkcpsp "docker compose stop"
-abbr --add dkcptp "docker compose top"
-abbr --add dkcpups "docker compose unpause"
-abbr --add dkcpup "docker compose up"
-abbr --add dkcpv "docker compose version"
-abbr --add dkcpwt "docker compose wait"
-abbr --add dkcpwa "docker compose watch"
-
-# Abbrevations for "docker container"
-abbr --add dkctnat "docker container attach"
-abbr --add dkctncm "docker container commit"
-abbr --add dkctncp "docker container cp"
-abbr --add dkctnca "docker container create"
-abbr --add dkctnd "docker container diff"
-abbr --add dkctnep "docker container export"
-abbr --add dkctnex "docker container exec"
-abbr --add dkctnip "docker container inspect"
-abbr --add dkctnk "docker container kill"
-abbr --add dkctnl "docker container logs"
-abbr --add dkctnls "docker container ls"
-abbr --add dkctnp "docker container pause"
-abbr --add dkctnpn "docker container prune"
-abbr --add dkctnp "docker container port"
-abbr --add dkctnps "docker container port"
-abbr --add dkctnrm "docker container rm"
-abbr --add dkctnr "docker container run"
-abbr --add dkctnrn "docker container rename"
-abbr --add dkctnrt "docker container restart"
-abbr --add dkctns "docker container stop"
-abbr --add dkctnst "docker container start"
-abbr --add dkctnsts "docker container stats"
-abbr --add dkctnt "docker container top"
-abbr --add dkctnud "docker container update"
-abbr --add dkctnup "docker container unpause"
-abbr --add dkctnw "docker container wait"
-
-# Abbreviations for "docker"
-abbr --add dkev "docker events"
-abbr --add dkhtr "docker history"
-abbr --add dkip "docker import"
-abbr --add dkl "docker load"
-abbr --add dks "docker stats"
-abbr --add dkt "docker tag"
-
-# Abbrevations for "docker system"
-abbr --add dkstdf "docker system df"
-abbr --add dkstevt "docker system events"
-abbr --add dkstif "docker system info"
-abbr --add dkstpn "docker system prune"
-
-# Abbrevations for "docker swarm"
-abbr --add dksint "docker swarm init"
-abbr --add dkslv "docker swarm leave"
-
-# Abbreviations for "docker context"
-abbr --add dkctca "docker context create"
-abbr --add dkctep "docker context export"
-abbr --add dkctip "docker context import"
-abbr --add dkctis "docker context inspect"
-abbr --add dkctls "docker context ls"
-abbr --add dkctrm "docker context rm"
-abbr --add dkcts "docker context show"
-abbr --add dkctud "docker context update"
-abbr --add dkctu "docker context use"
-
-# Abbreviations for "docker network"
-abbr --add dknwce "docker network create"
-abbr --add dknwcn "docker network connect"
-abbr --add dknwdcn "docker network disconnect"
-abbr --add dknwis "docker network inspect"
-abbr --add dknwls "docker network ls"
-abbr --add dknwp "docker network prune"
-abbr --add dknwrm "docker network rm"
-
-# Abbreviations for "docker plugin"
-abbr --add dkpgce "docker plugin create"
-abbr --add dkpgdsb "docker plugin disable"
-abbr --add dkpgenb "docker plugin enable"
-abbr --add dkpgis "docker plugin inspect"
-abbr --add dkpgit "docker plugin install"
-abbr --add dkpgls "docker plugin ls"
-abbr --add dkpgp "docker plugin push"
-abbr --add dkpgrm "docker plugin rm"
-abbr --add dkpgs "docker plugin set"
-abbr --add dkpgug "docker plugin upgrade"
-
-# Abbreviations for "docker volume"
-abbr --add dkvlce "docker volume create"
-abbr --add dkvlis "docker volume inspect"
-abbr --add dkvlls "docker volume ls"
-abbr --add dkvlp "docker volume prune"
-abbr --add dkvlrm "docker volume rm"
diff --git a/ansible/roles/fish/files/fish/conf.d/omf.fish b/ansible/roles/fish/files/fish/conf.d/omf.fish
deleted file mode 100644
index 3e0f6d6..0000000
--- a/ansible/roles/fish/files/fish/conf.d/omf.fish
+++ /dev/null
@@ -1,7 +0,0 @@
-# Path to Oh My Fish install.
-set -q XDG_DATA_HOME
- and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
- or set -gx OMF_PATH "$HOME/.local/share/omf"
-
-# Load Oh My Fish configuration.
-source $OMF_PATH/init.fish
diff --git a/ansible/roles/fish/files/fish/config.fish b/ansible/roles/fish/files/fish/config.fish
deleted file mode 100644
index 8333a72..0000000
--- a/ansible/roles/fish/files/fish/config.fish
+++ /dev/null
@@ -1,64 +0,0 @@
-if status is-interactive
- # Enable vi-mode
- fish_vi_key_bindings
-
- # Set the editor to use vim
- set --export --global EDITOR nvim
-
- # Add ruby in the global path for Neovim
- fish_add_path ~/.local/share/gem/ruby/3.0.0/bin
-
- # Add Node.js binaries in the global path
- fish_add_path ~/.local/lib/node_modules/.bin
-
- # Add local binary in the global path
- fish_add_path ~/.local/bin
-
- # Add Go binary path to global path
- fish_add_path ~/go/bin
-
- # configuration for Oh My Fish BobTheFish theme
- set -g theme_display_git yes
- set -g theme_display_git_dirty yes
- set -g theme_display_git_untracked yes
- set -g theme_display_git_ahead_verbose yes
- set -g theme_display_git_dirty_verbose yes
- set -g theme_display_git_stashed_verbose yes
- set -g theme_display_git_default_branch yes
- set -g theme_git_default_branches development master main
- set -g theme_git_worktree_support yes
- set -g theme_use_abbreviated_branch_name yes
- set -g theme_display_vagrant no
- set -g theme_display_docker_machine yes
- set -g theme_display_k8s_context yes
- set -g theme_display_hg yes
- set -g theme_display_virtualenv no
- set -g theme_display_nix no
- set -g theme_display_ruby no
- set -g theme_display_node yes
- set -g theme_display_user ssh
- set -g theme_display_hostname ssh
- set -g theme_display_vi yes
- set -g theme_display_date yes
- set -g theme_display_cmd_duration yes
- set -g theme_title_display_process yes
- set -g theme_title_display_path no
- set -g theme_title_display_user yes
- set -g theme_title_use_abbreviated_path no
- set -g theme_date_format "+%a %H:%M"
- set -g theme_date_timezone Europe/Paris
- set -g theme_avoid_ambiguous_glyphs yes
- set -g theme_powerline_fonts yes
- set -g theme_nerd_fonts yes
- set -g theme_show_exit_status yes
- set -g theme_display_jobs_verbose yes
- set -g default_user aminnairi
- set -g theme_color_scheme dark
- set -g fish_prompt_pwd_dir_length 0
- set -g theme_project_dir_length 1
- set -g theme_newline_cursor yes
- set -g theme_newline_prompt '$ '
-
- # Run fastfetch on each fish startup
- fastfetch
-end
diff --git a/ansible/roles/fish/files/fish/functions/cat.fish b/ansible/roles/fish/files/fish/functions/cat.fish
deleted file mode 100644
index cb3c454..0000000
--- a/ansible/roles/fish/files/fish/functions/cat.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function cat
- bat --style full --italic-text always --force-colorization --theme gruvbox-dark $argv
-end
diff --git a/ansible/roles/fish/files/fish/functions/ls.fish b/ansible/roles/fish/files/fish/functions/ls.fish
deleted file mode 100644
index e004394..0000000
--- a/ansible/roles/fish/files/fish/functions/ls.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function ls
- eza --icons --long --classify --git --header --created --accessed --modified $argv
-end
diff --git a/ansible/roles/fish/files/fish/functions/pass.fish b/ansible/roles/fish/files/fish/functions/pass.fish
deleted file mode 100644
index 86a8a45..0000000
--- a/ansible/roles/fish/files/fish/functions/pass.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function pass
- passbolt get resource --id (passbolt list resource | fzf | cut -d " " -f 1) | grep Password | cut -d " " -f 2 | xclip -selection clipboard
-end
diff --git a/ansible/roles/fish/files/fish/functions/privateinternetaccess.fish b/ansible/roles/fish/files/fish/functions/privateinternetaccess.fish
deleted file mode 100644
index d4901e0..0000000
--- a/ansible/roles/fish/files/fish/functions/privateinternetaccess.fish
+++ /dev/null
@@ -1,30 +0,0 @@
-function privateinternetaccess
- # Store the folder's path leading to the *.ovpn files
- set openvpn_files_path "/etc/privateinternetaccess"
-
- # If there are no openvpn configuration files available
- if not count $openvpn_files_path/* > /dev/null
- # Bail out and exit with an error
- echo "Error: no OpenVPN files found in $openvpn_files_path"
- return 1
- end
-
- # Set the OpenVPN file name choosen by the user
- set selected_file (/usr/bin/ls $openvpn_files_path | fzf)
-
- # Set the full path to the OpenVPN configuration file
- set selected_file_path $openvpn_files_path/$selected_file
-
- # Prevent this script from running if the path is incorrect
- if not test -f $selected_file_path
- # Bail out and exit with an error
- echo "Error: Configuration file not found at $selected_file_path"
- return 2
- end
-
- # Open a new OpenVPN tunnel without caching the credentials by providing the path to a configuration
- sudo openvpn --auth-nocache --config $selected_file_path
-
- # Notification
- notify-send "OpenVPN" "Disconnected from OpenVPN"
-end
diff --git a/ansible/roles/fish/files/fish/functions/rm.fish b/ansible/roles/fish/files/fish/functions/rm.fish
deleted file mode 100644
index b0960c0..0000000
--- a/ansible/roles/fish/files/fish/functions/rm.fish
+++ /dev/null
@@ -1,4 +0,0 @@
-function rm
- # Use GIO in order to move the file to trash instead of deleting it permanently
- /usr/bin/gio trash $argv
-end
diff --git a/ansible/roles/fish/files/fish/functions/tmux.fish b/ansible/roles/fish/files/fish/functions/tmux.fish
deleted file mode 100644
index 421a7d9..0000000
--- a/ansible/roles/fish/files/fish/functions/tmux.fish
+++ /dev/null
@@ -1,12 +0,0 @@
-function tmux
- if test (count $argv) -eq 0
- # Install Tmux plugins
- ~/.tmux/plugins/tpm/bin/install_plugins
-
- # Update Tmux plugins
- ~/.tmux/plugins/tpm/bin/update_plugins all
- end
-
- # Execute TMUX
- /usr/bin/tmux -u $argv
-end
diff --git a/ansible/roles/fish/files/fish/functions/vicd.fish b/ansible/roles/fish/files/fish/functions/vicd.fish
deleted file mode 100644
index 026a32a..0000000
--- a/ansible/roles/fish/files/fish/functions/vicd.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function vicd
- cd (vifm --choose-dir - $argv)
-end
diff --git a/ansible/roles/fish/files/omf/bundle b/ansible/roles/fish/files/omf/bundle
deleted file mode 100644
index 9524e26..0000000
--- a/ansible/roles/fish/files/omf/bundle
+++ /dev/null
@@ -1 +0,0 @@
-theme agnoster
diff --git a/ansible/roles/fish/files/omf/channel b/ansible/roles/fish/files/omf/channel
deleted file mode 100644
index 2bf5ad0..0000000
--- a/ansible/roles/fish/files/omf/channel
+++ /dev/null
@@ -1 +0,0 @@
-stable
diff --git a/ansible/roles/fish/files/omf/theme b/ansible/roles/fish/files/omf/theme
deleted file mode 100644
index e957063..0000000
--- a/ansible/roles/fish/files/omf/theme
+++ /dev/null
@@ -1 +0,0 @@
-agnoster
diff --git a/ansible/roles/fish/tasks/main.yml b/ansible/roles/fish/tasks/main.yml
deleted file mode 100644
index 3a6d71f..0000000
--- a/ansible/roles/fish/tasks/main.yml
+++ /dev/null
@@ -1,84 +0,0 @@
----
-- name: Install Fish (shell)
- become: true
- pacman:
- name: fish
- state: latest
-- name: Install Eza (alternative to ls)
- become: true
- pacman:
- name: eza
- state: latest
-- name: Install Bat (replacement for cat)
- become: true
- pacman:
- name: bat
- state: latest
-- name: Install Fastfetch (operating system informations logger)
- become: true
- pacman:
- name: fastfetch
- state: latest
-- name: Install OpenVPN (for openvpn.fish)
- become: true
- pacman:
- name: openvpn
- state: latest
-- name: Install FZF (for interacting with the OpenVPN function)
- become: true
- pacman:
- name: fzf
- state: present
-- name: Setup Fish for the unprivileged user
- synchronize:
- delete: true
- src: fish
- dest: "/$HOME/.config"
- rsync_opts: --exclude=fish_variables
-- name: Setup Fish for the root user
- become: true
- synchronize:
- delete: true
- src: fish
- dest: "/root/.config"
-- name: Clone Oh My Fish for the unprivileged user
- git:
- repo: https://github.com/oh-my-fish/oh-my-fish
- dest: /$HOME/.local/share/omf
- depth: 1
- single_branch: true
- update: true
-- name: Clone Oh My Fish for the root user
- become: true
- git:
- repo: https://github.com/oh-my-fish/oh-my-fish
- dest: /root/.local/share/omf
- depth: 1
- single_branch: true
- update: true
-- name: Clone Agnoster theme for the unprivileged user
- git:
- repo: https://github.com/oh-my-fish/theme-agnoster
- dest: /$HOME/.local/share/omf/themes/agnoster
- depth: 1
- single_branch: true
- update: true
-- name: Clone Agnoster theme for the root user
- become: true
- git:
- repo: https://github.com/oh-my-fish/theme-agnoster
- dest: /root/.local/share/omf/themes/agnoster
- depth: 1
- single_branch: true
- update: true
-- name: Setup OMF for the unprivileged user
- synchronize:
- delete: true
- src: omf
- dest: "/$HOME/.config"
-- name: Setup OMF for the root user
- become: true
- synchronize:
- delete: true
- src: omf
- dest: "/root/.config"
diff --git a/ansible/roles/fontconfig/files/fontconfig/fonts.conf b/ansible/roles/fontconfig/files/fontconfig/fonts.conf
deleted file mode 100644
index 8aa590e..0000000
--- a/ansible/roles/fontconfig/files/fontconfig/fonts.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
- sans-serif
-
- Noto Sans
- Noto Color Emoji
- Noto Emoji
- DejaVu Sans
-
-
-
-
- serif
-
- Noto Serif
- Noto Color Emoji
- Noto Emoji
- DejaVu Serif
-
-
-
-
- monospace
-
- Noto Mono
- Noto Color Emoji
- Noto Emoji
- JetBrainsMono Nerd Font
-
-
-
diff --git a/ansible/roles/fontconfig/tasks/main.yml b/ansible/roles/fontconfig/tasks/main.yml
deleted file mode 100644
index 919172f..0000000
--- a/ansible/roles/fontconfig/tasks/main.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-- name: Install JetBrains Mono Nerd (IntelliJ font)
- become: true
- pacman:
- name: ttf-jetbrains-mono-nerd
- state: latest
-- name: Install Noto fonts
- become: true
- pacman:
- name: noto-fonts
- state: latest
-- name: Install Noto Fonts Emoji (for emojis support)
- become: true
- pacman:
- name: noto-fonts-emoji
- state: latest
-- name: Install Noto Fonts CJK (for chinese, japanese & korean support)
- become: true
- pacman:
- name: noto-fonts-cjk
- state: latest
-- name: Install Noto Fonts AR (for arabic support)
- kewlfft.aur.aur:
- name: noto-fonts-ar
- state: latest
-- name: Setup Fonts
- synchronize:
- src: fontconfig
- dest: "/$HOME/.config"
diff --git a/ansible/roles/git/files/.gitconfig b/ansible/roles/git/files/.gitconfig
deleted file mode 100644
index 66712a6..0000000
--- a/ansible/roles/git/files/.gitconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-[user]
- email = 18418459+aminnairi@users.noreply.github.com
- name = aminnairi
-[init]
- defaultBranch = development
-[core]
- editor = nvim
-[color]
- ui = true
-[help]
- autoCorrect = "prompt"
diff --git a/ansible/roles/git/tasks/main.yml b/ansible/roles/git/tasks/main.yml
deleted file mode 100644
index 5e9108f..0000000
--- a/ansible/roles/git/tasks/main.yml
+++ /dev/null
@@ -1,20 +0,0 @@
----
-- name: Install Git
- become: true
- pacman:
- name: git
- state: latest
-- name: Install LazyGit (Git TUI)
- become: true
- pacman:
- name: lazygit
- state: latest
-- name: Install GitHub's CLI
- become: true
- pacman:
- name: github-cli
- state: latest
-- name: Copy the configuration for Git
- synchronize:
- src: .gitconfig
- dest: /$HOME/
diff --git a/ansible/roles/gnome/files/autostart/keyboard-rate.desktop b/ansible/roles/gnome/files/autostart/keyboard-rate.desktop
deleted file mode 100644
index bc7a3d7..0000000
--- a/ansible/roles/gnome/files/autostart/keyboard-rate.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Exec=/usr/bin/xset r rate 200 50
-Hidden=true
-NoDisplay=false
-X-GNOME-Autostart-enabled=true
-Name=Keyboard rate
-Comment=Set the keyboard rate to prevent lag for key repeat
-
diff --git a/ansible/roles/gnome/tasks/main.yml b/ansible/roles/gnome/tasks/main.yml
deleted file mode 100644
index 9d8a713..0000000
--- a/ansible/roles/gnome/tasks/main.yml
+++ /dev/null
@@ -1,30 +0,0 @@
----
-- name: Install Gnome
- become: true
- pacman:
- name: gnome
- state: latest
-- name: Install Gnome extra packages
- become: true
- pacman:
- name: gnome-extra
- state: latest
-- name: Install Python PSUtil (process and system utilities for Gnome)
- become: true
- pacman:
- name: python-psutil
- state: latest
-- name: Enable the GDM service
- become: true
- service:
- name: gdm
- enabled: true
-- name: Enable compose key for special characters
- community.general.dconf:
- key: /org/gnome/desktop/input-sources/xkb-options
- value: "['compose:ralt']"
- state: present
-- name: Copy the autostart configuration
- synchronize:
- src: autostart
- dest: /$HOME/.config
diff --git a/ansible/roles/helix/files/helix/config.toml b/ansible/roles/helix/files/helix/config.toml
deleted file mode 100644
index a8af76d..0000000
--- a/ansible/roles/helix/files/helix/config.toml
+++ /dev/null
@@ -1,28 +0,0 @@
-theme = "tokyonight_storm"
-[editor]
-mouse = false
-middle-click-paste = false
-line-number = "relative"
-cursorline = false
-cursorcolumn = false
-completion-replace = true
-true-color = true
-undercurl = true
-bufferline = "always"
-color-modes = true
-popup-border = "popup"
-
-[editor.auto-pairs]
-"(" = ")"
-"{" = "}"
-"[" = "]"
-'"' = '"'
-"`" = "`"
-"<" = ">"
-
-[keys.normal]
-esc = [ "collapse_selection", "keep_primary_selection" ]
-
-[keys.normal."C-g"]
-"g" = [ ":new", ":insert-output lazygit", ":buffer-close!", ":redraw" ]
-"d" = [ ":new", ":insert-output lazydocker", ":buffer-close!", ":redraw" ]
diff --git a/ansible/roles/helix/files/helix/languages.toml b/ansible/roles/helix/files/helix/languages.toml
deleted file mode 100644
index 43b9392..0000000
--- a/ansible/roles/helix/files/helix/languages.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-[[language]]
-name = "typescript"
-language-id = "typescript"
-scope = "source.ts"
-injection-regex = "^(ts|typescript)$"
-file-types = ["ts"]
-shebangs = ["deno"]
-roots = ["deno.json", "deno.jsonc", "package.json"]
-auto-format = true
-language-servers = ["deno-lsp"]
-
-[language-server.deno-lsp]
-command = "deno"
-args = ["lsp"]
-
-[language-server.deno-lsp.config.deno]
-enable = true
diff --git a/ansible/roles/helix/tasks/main.yml b/ansible/roles/helix/tasks/main.yml
deleted file mode 100644
index 58acec3..0000000
--- a/ansible/roles/helix/tasks/main.yml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-- name: Install Docker Language Server
- kewlfft.aur.aur:
- name: dockerfile-language-server
- state: latest
-
-- name: Install VSCode Language Server Extracted
- kewlfft.aur.aur:
- name: vscode-langservers-extracted
- state: latest
-
-- name: Synchronize the configuration
- synchronize:
- src: helix
- dest: "/$HOME/.config"
- delete: true
diff --git a/ansible/roles/hostname/tasks/main.yml b/ansible/roles/hostname/tasks/main.yml
deleted file mode 100644
index b8263ae..0000000
--- a/ansible/roles/hostname/tasks/main.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- name: Set the host name
- become: true
- ansible.builtin.hostname:
- name: archlinux
- use: systemd
diff --git a/ansible/roles/kitty/files/kitty/kitty.conf b/ansible/roles/kitty/files/kitty/kitty.conf
deleted file mode 100644
index 0ea9cd7..0000000
--- a/ansible/roles/kitty/files/kitty/kitty.conf
+++ /dev/null
@@ -1,70 +0,0 @@
-# Tokyo Night color scheme for kitty terminal emulator
-foreground #a9b1d6
-background #1a1b26
-# Black
-color0 #414868
-color8 #414868
-# Red
-color1 #f7768e
-color9 #f7768e
-# Green
-color2 #73daca
-color10 #73daca
-# Yellow
-color3 #e0af68
-color11 #e0af68
-# Blue
-color4 #7aa2f7
-color12 #7aa2f7
-# Magenta
-color5 #bb9af7
-color13 #bb9af7
-# Cyan
-color6 #7dcfff
-color14 #7dcfff
-# White
-color7 #c0caf5
-color15 #c0caf5
-# Cursor
-cursor #c0caf5
-cursor_text_color #1a1b26
-# Selection highlight
-selection_foreground none
-selection_background #28344a
-# The color for highlighting URLs on mouse-over
-url_color #9ece6a
-# Window borders
-active_border_color #3d59a1
-inactive_border_color #101014
-bell_border_color #e0af68
-# Tab bar
-tab_bar_style fade
-tab_fade 1
-active_tab_foreground #3d59a1
-active_tab_background #16161e
-active_tab_font_style bold
-inactive_tab_foreground #787c99
-inactive_tab_background #16161e
-inactive_tab_font_style bold
-tab_bar_background #101014
-# Title bar
-macos_titlebar_color #16161e
-# Storm
-# background #24283b
-# cursor_text_color #24283b
-# active_tab_background #1f2335
-# inactive_tab_background #1f2335
-# macos_titlebar_color #1f2335
-
-# Custom configuration
-font_family JetBrainsMono NFM
-bold_font JetBrainsMono NFM Bold
-italic_font JetBrainsMono NFM Italic
-bold_italic_font JetBrainsMono NFM BoldItali
-font_size 18.0
-force_ltr no
-font_features +liga
-disable_ligatures never
-modify_font cell_height 10px
-background_opacity 1
-background_blur 0
diff --git a/ansible/roles/kitty/tasks/main.yml b/ansible/roles/kitty/tasks/main.yml
deleted file mode 100644
index 2d48e1c..0000000
--- a/ansible/roles/kitty/tasks/main.yml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-- name: Install Kitty (terminal emulator)
- become: true
- pacman:
- name: kitty
- state: latest
-- name: Install Viu (simple terminal image viewer)
- become: true
- pacman:
- name: viu
- state: latest
-- name: Install ueberzugpp (C++ based terminal image viewer)
- become: true
- pacman:
- name: ueberzugpp
- state: latest
-- name: Setup Kitty
- synchronize:
- delete: true
- src: kitty
- dest: "/$HOME/.config"
diff --git a/ansible/roles/locale/tasks/main.yml b/ansible/roles/locale/tasks/main.yml
deleted file mode 100644
index 4897c02..0000000
--- a/ansible/roles/locale/tasks/main.yml
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- name: Generate the US locale
- community.general.locale_gen:
- name: en_US.UTF-8
- state: present
-- name: Get the current keymap
- shell: localectl status | grep "VC Keymap" | cut -d " " -f 7
- register: localectl_keymap_status_command
- ignore_errors: true
- changed_when: false
-- name: Set the keyboard keymap
- become: true
- command: "localectl set-keymap {{ locale }}"
- when: 'localectl_keymap_status_command.stdout != locale'
diff --git a/ansible/roles/locale/vars/main.yml b/ansible/roles/locale/vars/main.yml
deleted file mode 100644
index ba111c3..0000000
--- a/ansible/roles/locale/vars/main.yml
+++ /dev/null
@@ -1 +0,0 @@
-locale: us
diff --git a/ansible/roles/markdown-table-align/tasks/main.yml b/ansible/roles/markdown-table-align/tasks/main.yml
deleted file mode 100644
index e52ce47..0000000
--- a/ansible/roles/markdown-table-align/tasks/main.yml
+++ /dev/null
@@ -1,18 +0,0 @@
----
-- name: Install Deno
- become: true
- pacman:
- name: deno
- state: latest
-
-- name: Clone the repository
- ansible.builtin.git:
- repo: https://github.com/aminnairi/markdown-table-align
- dest: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align/
- register: git_clone_result
-
-- name: Compile the binary
- ansible.builtin.command:
- chdir: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align/
- cmd: deno compile --allow-read --output $HOME/.local/bin/markdown-table-align index.ts
- when: git_clone_result.changed
diff --git a/ansible/roles/neovim/files/nvim/init.lua b/ansible/roles/neovim/files/nvim/init.lua
deleted file mode 100644
index 0d214c1..0000000
--- a/ansible/roles/neovim/files/nvim/init.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-require("settings.options")
-require("settings.keymap")
-require("settings.autocommands")
-require("settings.lazy")
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/autocommands.lua b/ansible/roles/neovim/files/nvim/lua/settings/autocommands.lua
deleted file mode 100644
index 55ff669..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/autocommands.lua
+++ /dev/null
@@ -1,9 +0,0 @@
-vim.api.nvim_create_autocmd("FileType", {
- pattern = "php",
- callback = function()
- vim.bo.tabstop = 4
- vim.bo.softtabstop = 4
- vim.bo.shiftwidth = 4
- vim.bo.expandtab = true
- end,
-})
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/keymap.lua b/ansible/roles/neovim/files/nvim/lua/settings/keymap.lua
deleted file mode 100644
index 9bda706..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/keymap.lua
+++ /dev/null
@@ -1,37 +0,0 @@
-vim.g.mapleader = " "
-vim.g.maplocalleader = " "
-
-local options = {
- noremap = true,
- silent = true
-}
-
--- Move the current line down one line in normal mode
-vim.keymap.set('n', '', ":move .+1==", options)
-
--- Move the current line up one line in normal mode
-vim.keymap.set('n', '', ":move .-2==", options)
-
--- Move the character under the cursor one character forward in normal mode
-vim.keymap.set('n', '', "xp", options)
-
--- Move the character under the cursor one character backward in normal mode
-vim.keymap.set('n', '', "xhP", options)
-
--- Move the current range down one line in visual-line mode
-vim.keymap.set('x', '', ":move '>+1gv=gv", options)
-
--- Move the current range up one line in visual-line mode
-vim.keymap.set('x', '', ":move '<-2gv=gv", options)
-
--- Move the current line down one line in insert mode
-vim.keymap.set('i', '', ":move .+1==gi", options)
-
--- Move the current line up one line in insert mode
-vim.keymap.set('i', '', ":move .-2==gi", options)
-
--- Move the character under the cursor one character forward in insert mode
-vim.keymap.set('i', '', "lxpi", options)
-
--- Move the character under the cursor one character backward in insert mode
-vim.keymap.set('i', '', "lxhPi", options)
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/init.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/init.lua
deleted file mode 100644
index f64a791..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/init.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-
-if not vim.loop.fs_stat(lazypath) then
- vim.fn.system({
- "git",
- "clone",
- "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", -- latest stable release
- lazypath,
- })
-end
-
-vim.opt.rtp:prepend(lazypath)
-
-require("lazy").setup("settings.lazy.plugins")
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbar.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbar.lua
deleted file mode 100644
index 829aba5..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbar.lua
+++ /dev/null
@@ -1,33 +0,0 @@
-return {
- "romgrk/barbar.nvim",
- event = "BufNew",
- dependencies = {
- "lewis6991/gitsigns.nvim",
- "nvim-tree/nvim-web-devicons",
- },
- init = function()
- vim.g.barbar_auto_setup = false
-
- local map = vim.api.nvim_set_keymap
- local opts = { noremap = true, silent = true }
-
- map("n", "", "BufferPrevious", opts)
- map("n", "", "BufferNext", opts)
- map("n", "", "BufferMovePrevious", opts)
- map("n", ">", "BufferMoveNext", opts)
- map("n", "", "BufferGoto 1", opts)
- map("n", "", "BufferGoto 2", opts)
- map("n", "", "BufferGoto 3", opts)
- map("n", "", "BufferGoto 4", opts)
- map("n", "", "BufferGoto 5", opts)
- map("n", "", "BufferGoto 6", opts)
- map("n", "", "BufferGoto 7", opts)
- map("n", "", "BufferGoto 8", opts)
- map("n", "", "BufferGoto 9", opts)
- map("n", "", "BufferLast", opts)
- map("n", "", "BufferPin", opts)
- map("n", "", "BufferClose", opts)
- map("n", "", "BufferPick", opts)
- end,
- opts = {},
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbecue.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbecue.lua
deleted file mode 100644
index 16a93ef..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/barbecue.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-return {
- "utilyre/barbecue.nvim",
- name = "barbecue",
- event = "BufEnter",
- dependencies = {
- "SmiteshP/nvim-navic",
- "nvim-tree/nvim-web-devicons",
- "folke/tokyonight.nvim",
- },
- opts = {
- theme = "tokyonight",
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/cloak.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/cloak.lua
deleted file mode 100644
index 0584059..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/cloak.lua
+++ /dev/null
@@ -1,45 +0,0 @@
-return {
- "laytan/cloak.nvim",
- config = function()
- require("cloak").setup({
- enabled = true,
- cloak_character = "·",
- -- The applied highlight group (colors) on the cloaking, see `:h highlight`.
- highlight_group = "Comment",
- -- Applies the length of the replacement characters for all matched
- -- patterns, defaults to the length of the matched pattern.
- cloak_length = nil, -- Provide a number if you want to hide the true length of the value.
- -- Wether it should try every pattern to find the best fit or stop after the first.
- try_all_patterns = true,
- patterns = {
- {
- -- Match any file starting with '.env'.
- -- This can be a table to match multiple file patterns.
- file_pattern = {
- ".env*",
- ".npmrc"
- },
- -- Match an equals sign and any character after it.
- -- This can also be a table of patterns to cloak,
- -- example: cloak_pattern = { ':.+', '-.+' } for yaml files.
- cloak_pattern = {
- "=.+",
- ":.+"
- },
- -- A function, table or string to generate the replacement.
- -- The actual replacement will contain the 'cloak_character'
- -- where it doesn't cover the original text.
- -- If left emtpy the legacy behavior of keeping the first character is retained.
- replace = nil,
- },
- },
- })
-
- require("which-key").add({
- { "c", "Cloak", },
- { "ct", ":CloakToggle", desc = "Toggle" },
- { "cd", ":CloakDisable", desc = "Disable" },
- { "ce", ":CloakEnable", desc = "Enable" },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/comment.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/comment.lua
deleted file mode 100644
index 15f038f..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/comment.lua
+++ /dev/null
@@ -1,46 +0,0 @@
-return {
- "numToStr/Comment.nvim",
- opts = {
- ---Add a space b/w comment and the line
- padding = true,
- ---Whether the cursor should stay at its position
- sticky = true,
- ---Lines to be ignored while (un)comment
- ignore = nil,
- ---LHS of toggle mappings in NORMAL mode
- toggler = {
- ---Line-comment toggle keymap
- line = "gcc",
- ---Block-comment toggle keymap
- block = "gbc",
- },
- ---LHS of operator-pending mappings in NORMAL and VISUAL mode
- opleader = {
- ---Line-comment keymap
- line = "gc",
- ---Block-comment keymap
- block = "gb",
- },
- ---LHS of extra mappings
- extra = {
- ---Add comment on the line above
- above = "gcO",
- ---Add comment on the line below
- below = "gco",
- ---Add comment at the end of line
- eol = "gcA",
- },
- ---Enable keybindings
- ---NOTE: If given `false` then the plugin won't create any mappings
- mappings = {
- ---Operator-pending mapping; `gcc` `gbc` `gc[count]{motion}` `gb[count]{motion}`
- basic = true,
- ---Extra mapping; `gco`, `gcO`, `gcA`
- extra = true,
- },
- ---Function to call before (un)comment
- pre_hook = nil,
- ---Function to call after (un)comment
- post_hook = nil,
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua
deleted file mode 100644
index fb89339..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua
+++ /dev/null
@@ -1,38 +0,0 @@
-return {
- "stevearc/conform.nvim",
- init = function()
- local whichKey = require("which-key")
- local conform = require("conform")
-
- whichKey.add({
- { "f", group = "Format" },
- {
- "ff",
- function()
- local currentFileBufferNumber = vim.fn.bufnr("%")
- conform.format({ bufnr = currentFileBufferNumber })
- end,
- desc = "Current File",
- },
- })
- end,
- config = function()
- local conform = require("conform")
-
- conform.setup({
- formatters_by_ft = {
- lua = { "stylua" },
- javascript = { "eslint_d" },
- php = { "phpcbf" },
- elm = { "elm_format" },
- fish = { "fish_indent" },
- },
- })
-
- conform.formatters.phpcbf = {
- prepend_args = {
- "--standard=PSR12",
- },
- }
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/dressing.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/dressing.lua
deleted file mode 100644
index 9ab15aa..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/dressing.lua
+++ /dev/null
@@ -1,168 +0,0 @@
-return {
- "stevearc/dressing.nvim",
- event = "VeryLazy",
- opts = {
- input = {
- -- Set to false to disable the vim.ui.input implementation
- enabled = true,
-
- -- Default prompt string
- default_prompt = "Input:",
-
- -- Can be 'left', 'right', or 'center'
- title_pos = "left",
-
- -- When true, will close the modal
- insert_only = true,
-
- -- When true, input will start in insert mode.
- start_in_insert = true,
-
- -- These are passed to nvim_open_win
- border = "rounded",
- -- 'editor' and 'win' will default to being centered
- relative = "cursor",
-
- -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
- prefer_width = 40,
- width = nil,
- -- min_width and max_width can be a list of mixed types.
- -- min_width = {20, 0.2} means "the greater of 20 columns or 20% of total"
- max_width = { 140, 0.9 },
- min_width = { 20, 0.2 },
-
- buf_options = {},
- win_options = {
- -- Window transparency (0-100)
- winblend = 10,
- -- Disable line wrapping
- wrap = false,
- -- Indicator for when text exceeds window
- list = true,
- listchars = "precedes:…,extends:…",
- -- Increase this for more context when text scrolls off the window
- sidescrolloff = 0,
- },
-
- -- Set to `false` to disable
- mappings = {
- n = {
- [""] = "Close",
- [""] = "Confirm",
- },
- i = {
- [""] = "Close",
- [""] = "Confirm",
- [""] = "HistoryPrev",
- [""] = "HistoryNext",
- },
- },
-
- override = function(conf)
- -- This is the config that will be passed to nvim_open_win.
- -- Change values here to customize the layout
- return conf
- end,
-
- -- see :help dressing_get_config
- get_config = nil,
- },
- select = {
- -- Set to false to disable the vim.ui.select implementation
- enabled = true,
-
- -- Priority list of preferred vim.select implementations
- backend = { "telescope", "fzf_lua", "fzf", "builtin", "nui" },
-
- -- Trim trailing `:` from prompt
- trim_prompt = true,
-
- -- Options for telescope selector
- -- These are passed into the telescope picker directly. Can be used like:
- -- telescope = require('telescope.themes').get_ivy({...})
- telescope = nil,
-
- -- Options for fzf selector
- fzf = {
- window = {
- width = 0.5,
- height = 0.4,
- },
- },
-
- -- Options for fzf-lua
- fzf_lua = {
- -- winopts = {
- -- height = 0.5,
- -- width = 0.5,
- -- },
- },
-
- -- Options for nui Menu
- nui = {
- position = "50%",
- size = nil,
- relative = "editor",
- border = {
- style = "rounded",
- },
- buf_options = {
- swapfile = false,
- filetype = "DressingSelect",
- },
- win_options = {
- winblend = 10,
- },
- max_width = 80,
- max_height = 40,
- min_width = 40,
- min_height = 10,
- },
-
- -- Options for built-in selector
- builtin = {
- -- These are passed to nvim_open_win
- border = "rounded",
- -- 'editor' and 'win' will default to being centered
- relative = "editor",
-
- buf_options = {},
- win_options = {
- -- Window transparency (0-100)
- winblend = 10,
- cursorline = true,
- cursorlineopt = "both",
- },
-
- -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
- -- the min_ and max_ options can be a list of mixed types.
- -- max_width = {140, 0.8} means "the lesser of 140 columns or 80% of total"
- width = nil,
- max_width = { 140, 0.8 },
- min_width = { 40, 0.2 },
- height = nil,
- max_height = 0.9,
- min_height = { 10, 0.2 },
-
- -- Set to `false` to disable
- mappings = {
- [""] = "Close",
- [""] = "Close",
- [""] = "Confirm",
- },
-
- override = function(conf)
- -- This is the config that will be passed to nvim_open_win.
- -- Change values here to customize the layout
- return conf
- end,
- },
-
- -- Used to override format_item. See :help dressing-format
- format_item_override = {},
-
- -- see :help dressing_get_config
- get_config = nil,
- },
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/icon-picker.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/icon-picker.lua
deleted file mode 100644
index ed37bf8..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/icon-picker.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-return {
- "ziontee113/icon-picker.nvim",
- event = "VeryLazy",
- config = function()
- local iconPicker = require("icon-picker")
- local whichKey = require("which-key")
-
- iconPicker.setup({
- disable_legacy_commands = true
- })
-
- whichKey.add({
- { "i", group = "Icon" },
- { "ie", function() vim.cmd("IconPickerInsert emoji") end, group = "Emoji" },
- { "is", function() vim.cmd("IconPickerInsert symbols") end, group = "Symbol" },
- { "in", function() vim.cmd("IconPickerInsert nerd_font") end, group = "Nerd Font Symbol" },
- })
- end
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/link-visitor.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/link-visitor.lua
deleted file mode 100644
index dbc2738..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/link-visitor.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-return {
- "xiyaowong/link-visitor.nvim",
- event = "BufEnter",
- opts = {
- open_cmd = nil,
- silent = true,
- skip_confirmation = true,
- border = "rounded",
- },
- config = function()
- local whichKey = require("which-key")
- local linkVisitor = require("link-visitor");
-
- whichKey.add({
- { "v", group = "Link", },
- { "vv", function() linkVisitor.visit() end, },
- { "vl", function() linkVisitor.link_under_cursor() end, },
- { "vn", function() linkVisitor.link_near_cursor() end, },
- { "vN", function() linkVisitor.link_nearest() end, },
- })
- end
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lsp-colors.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lsp-colors.lua
deleted file mode 100644
index 80c6339..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lsp-colors.lua
+++ /dev/null
@@ -1,12 +0,0 @@
-return {
- "folke/lsp-colors.nvim",
- dependencies = {
- "neovim/nvim-lspconfig",
- },
- opts = {
- Error = "#db4b4b",
- Warning = "#e0af68",
- Information = "#0db9d7",
- Hint = "#10B981",
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lspkind.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lspkind.lua
deleted file mode 100644
index f31e825..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lspkind.lua
+++ /dev/null
@@ -1,36 +0,0 @@
-return {
- "onsails/lspkind.nvim",
- config = function()
- require('lspkind').init({
- mode = 'symbol_text',
- preset = 'codicons',
- symbol_map = {
- Text = "",
- Method = "",
- Function = "",
- Constructor = "",
- Field = "",
- Variable = "",
- Class = "",
- Interface = "",
- Module = "",
- Property = "",
- Unit = "",
- Value = "",
- Enum = "",
- Keyword = "",
- Snippet = "",
- Color = "",
- File = "",
- Reference = "",
- Folder = "",
- EnumMember = "",
- Constant = "",
- Struct = "",
- Event = "",
- Operator = "",
- TypeParameter = "",
- },
- })
- end
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lualine.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lualine.lua
deleted file mode 100644
index fc5cc76..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/lualine.lua
+++ /dev/null
@@ -1,47 +0,0 @@
-return {
- "nvim-lualine/lualine.nvim",
- event = "VeryLazy",
- dependencies = {
- "nvim-tree/nvim-web-devicons"
- },
- opts = {
- options = {
- icons_enabled = true,
- theme = "tokyonight",
- component_separators = { left = "", right = "" },
- section_separators = { left = "", right = "" },
- disabled_filetypes = {
- statusline = {},
- winbar = {},
- },
- ignore_focus = {},
- always_divide_middle = true,
- globalstatus = false,
- refresh = {
- statusline = 1000,
- tabline = 1000,
- winbar = 1000,
- },
- },
- sections = {
- lualine_a = { "mode" },
- lualine_b = { "branch", "diff", "diagnostics" },
- lualine_c = { "filename" },
- lualine_x = { "encoding", "fileformat", "filetype" },
- lualine_y = { "progress" },
- lualine_z = { "location" },
- },
- inactive_sections = {
- lualine_a = {},
- lualine_b = {},
- lualine_c = { "filename" },
- lualine_x = { "location" },
- lualine_y = {},
- lualine_z = {},
- },
- tabline = {},
- winbar = {},
- inactive_winbar = {},
- extensions = {},
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-lspconfig.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-lspconfig.lua
deleted file mode 100644
index a7f2d85..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-lspconfig.lua
+++ /dev/null
@@ -1,38 +0,0 @@
-return {
- "williamboman/mason-lspconfig.nvim",
- dependencies = {
- "williamboman/mason.nvim",
- },
- opts = {
- automatic_instalation = true,
- ensure_installed = {
- "angularls",
- "ansiblels",
- "bashls",
- "biome",
- "cssls",
- "denols",
- "docker_compose_language_service",
- "dockerls",
- "elmls",
- "emmet_language_server",
- "eslint",
- "gopls",
- "graphql",
- "html",
- "intelephense",
- "jsonls",
- "lua_ls",
- "marksman",
- "nginx_language_server",
- "prismals",
- "rust_analyzer",
- "sqlls",
- "svelte",
- "templ",
- "vls",
- "vuels",
- "yamlls",
- },
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-tool-installer.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-tool-installer.lua
deleted file mode 100644
index b3f3274..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason-tool-installer.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-return {
- "WhoIsSethDaniel/mason-tool-installer.nvim",
- dependencies = {
- "williamboman/mason.nvim",
- },
- opts = {
- ensure_installed = {
- "stylua",
- "luacheck",
- "stylelint",
- "shellcheck",
- "rustfmt",
- "jq",
- "jsonlint",
- "htmlbeautifier",
- "eslint",
- "markdownlint",
- "yamllint",
- "ansible-lint",
- "eslint_d",
- "phpcbf",
- "phpcs",
- },
- auto_update = true,
- run_on_start = true,
- }
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason.lua
deleted file mode 100644
index b23f053..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/mason.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-return {
- "williamboman/mason.nvim",
- opts = {}
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neogit.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neogit.lua
deleted file mode 100644
index 6d3d38f..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neogit.lua
+++ /dev/null
@@ -1,21 +0,0 @@
-return {
- "NeogitOrg/neogit",
- event = "VeryLazy",
- dependencies = {
- "nvim-lua/plenary.nvim", -- required
- "nvim-telescope/telescope.nvim", -- optional
- "sindrets/diffview.nvim", -- optional
- "ibhagwan/fzf-lua", -- optional
- },
- config = function()
- local whichKey = require("which-key")
- local neogit = require("neogit")
-
- neogit.setup({})
-
- whichKey.add({
- { "g", group = "Neogit", },
- { "go", function() neogit.open() end, },
- })
- end
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua
deleted file mode 100644
index 84108e4..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neorg.lua
+++ /dev/null
@@ -1,72 +0,0 @@
-return {
- "nvim-neorg/neorg",
- build = ":Neorg sync-parsers",
- event = "VeryLazy",
- dependencies = {
- "nvim-lua/plenary.nvim",
- "folke/which-key.nvim",
- },
- -- init = function()
- -- -- Configure the key to use for keybinds used in the "core.keybinds" module
- -- vim.g.maplocalleader = ","
- -- end,
- config = function()
- require("neorg").setup({
- load = {
- -- Default module that imports the core modules necessary for Neorg
- ["core.defaults"] = {},
- -- Module responsible for enhancing the icons display in Neorg files
- ["core.concealer"] = {
- -- Configuration for the "core.concealer" module
- config = {
- -- Configure icons for concealed items
- icons = {
- -- Configure the code blocks
- code_block = {
- -- Conceal the "@code" and "@end" completely when in normal modej
- conceal = true,
- -- Add padding to a code inside a code block
- padding = {
- -- Add 2 spaces before the code inside a code block
- left = 2
- }
- },
- -- Configure the headings
- heading = {
- -- List of icons to use for all headings levels from 1 to 6
- icons = {
- "◉",
- "◎",
- "○",
- "◉",
- "◎",
- "○",
- },
- },
- },
- },
- },
- ["core.dirman"] = {
- -- Configuration for "core.dirman" module
- config = {
- -- Workspaces are folders from where to find Neorg files
- workspaces = {
- -- My personal notes
- notes = "~/git/github.com/aminnairi/notes",
- },
- },
- },
- -- Module for controling the presentation mode for Neorg files
- ["core.presenter"] = {
- -- Configuration for the presenter module
- config = {
- -- Plugin to use, here "folke/zen-mode"
- zen_mode = "zen-mode",
- },
- },
- -- Module for controling the ability to export Neorg files
- ["core.export"] = {}
- },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neoscroll.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neoscroll.lua
deleted file mode 100644
index ebe7ea6..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/neoscroll.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-return {
- "karb94/neoscroll.nvim",
- event = "BufEnter",
- opts = {},
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/noice.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/noice.lua
deleted file mode 100644
index dd8a60e..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/noice.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-return {
- "folke/noice.nvim",
- event = "VeryLazy",
- opts = {
- lsp = {
- -- override markdown rendering so that **cmp** and other plugins use **Treesitter**
- override = {
- ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
- ["vim.lsp.util.stylize_markdown"] = true,
- ["cmp.entry.get_documentation"] = true,
- },
- },
- -- you can enable a preset for easier configuration
- presets = {
- bottom_search = true, -- use a classic bottom cmdline for search
- command_palette = true, -- position the cmdline and popupmenu together
- long_message_to_split = true, -- long messages will be sent to a split
- inc_rename = false, -- enables an input dialog for inc-rename.nvim
- lsp_doc_border = false, -- add a border to hover docs and signature help
- },
- },
- dependencies = {
- "MunifTanjim/nui.nvim",
- "rcarriga/nvim-notify",
- }
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-autopairs.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-autopairs.lua
deleted file mode 100644
index bfa4ac4..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-autopairs.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-return {
- "windwp/nvim-autopairs",
- event = "InsertEnter",
- opts = {},
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lint.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lint.lua
deleted file mode 100644
index c321f5c..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lint.lua
+++ /dev/null
@@ -1,44 +0,0 @@
-return {
- "mfussenegger/nvim-lint",
- dependencies = {
- "WhoIsSethDaniel/mason-tool-installer.nvim",
- },
- event = { "BufReadPre", "BufWritePost" },
- init = function()
- local lint = require("lint")
-
- vim.api.nvim_create_autocmd({ "BufWritePost" }, {
- callback = function()
- lint.try_lint()
- end
- })
- end,
- config = function()
- local lint = require("lint")
- local phpcs = lint.linters.phpcs
-
- phpcs.args = {
- "-q",
- -- <- Add a new parameter here
- "--standard=PSR12",
- "--report=json",
- "-",
- }
-
- lint.linters_by_ft = {
- lua = { "luacheck" },
- javascript = { "eslint" },
- typescript = { "eslint" },
- javascriptreact = { "eslint" },
- typescriptreact = { "eslint" },
- vue = { "eslint" },
- sh = { "shellcheck" },
- fish = { "fish" },
- json = { "jsonlint" },
- markdown = { "markdownlint" },
- php = { "php", "phpcs", "phpstan" },
- css = { "stylelint" },
- yaml = { "yamllint" },
- }
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lspconfig.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lspconfig.lua
deleted file mode 100644
index 8b36dd2..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-lspconfig.lua
+++ /dev/null
@@ -1,81 +0,0 @@
-return {
- "neovim/nvim-lspconfig",
- event = "VeryLazy",
- dependencies = {
- "williamboman/mason-lspconfig.nvim",
- "hrsh7th/nvim-cmp",
- "folke/neodev.nvim"
- },
- config = function()
- local lspconfig = require("lspconfig")
- local capabilities = require("cmp_nvim_lsp").default_capabilities()
- local whichKey = require("which-key")
- local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
-
- for type, icon in pairs(signs) do
- local hl = "DiagnosticSign" .. type
- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
- end
-
- local on_attach = function(_, buffer)
- whichKey.add({
- { "l", group = "LSP" },
- { "lb", group = "LSP Buffer" },
- { "lbD", function() vim.lsp.buf.declaration() end, buffer = 1, desc = "Go to symbol declaration" },
- { "lbR", function() vim.lsp.buf.references() end, buffer = 1, desc = "Go to symbol references" },
- { "lbc", function() vim.lsp.buf.code_action() end, buffer = 1, desc = "LSP code action" },
- { "lbd", function() vim.lsp.buf.definition() end, buffer = 1, desc = "Go to symbol definition" },
- { "lbf", function() vim.lsp.buf.format() end, buffer = 1, desc = "Format file" },
- { "lbh", function() vim.lsp.buf.hover() end, buffer = 1, desc = "Hover symbol documentation" },
- { "lbi", function() vim.lsp.buf.implementation() end, buffer = 1, desc = "Go to symbol implementation" },
- { "lbr", function() vim.lsp.buf.rename() end, buffer = 1, desc = "Rename symbol" },
- { "lbs", function() vim.lsp.buf.signature_help() end, buffer = 1, desc = "Go to symbol signature" },
- { "lbt", function() vim.lsp.buf.type_definition() end, buffer = 1, desc = "Go to symbol type definition" },
- { "ld", group = "LSP Diagnostic" },
- { "ldn", function() vim.diagnostic.goto_next() end, desc = "Next LSP diagnostic" },
- { "ldo", function() vim.diagnostic.open_float() end, desc = "Open LSP diagnostic" },
- { "ldp", function() vim.diagnostic.goto_prev() end, desc = "Previous LSP diagnostic" },
- })
- end
-
- -- Needed in order to get more completion in Lua files for Vim/Neovim
- require("neodev").setup()
-
- local languageServers = {
- "angularls",
- "ansiblels",
- "bashls",
- "biome",
- "cssls",
- "denols",
- "docker_compose_language_service",
- "dockerls",
- "elmls",
- "emmet_language_server",
- "eslint",
- "gopls",
- "graphql",
- "html",
- "intelephense",
- "jsonls",
- "lua_ls",
- "marksman",
- "nginx_language_server",
- "prismals",
- "rust_analyzer",
- "sqlls",
- "svelte",
- "templ",
- "vls",
- "vuels",
- "yamlls",
- }
-
- for _, languageServerName in pairs(languageServers) do
- lspconfig[languageServerName].setup({
- capabilities = capabilities,
- on_attach = on_attach
- })
- end
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-notify.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-notify.lua
deleted file mode 100644
index bfe3c97..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-notify.lua
+++ /dev/null
@@ -1,23 +0,0 @@
-return {
- "rcarriga/nvim-notify",
- event = "VeryLazy",
- config = function()
- local notify = require("notify")
-
- vim.notify = notify
-
- require("notify.config").setup({
- enabled = false,
- stages = "fade_in_slide_out",
- timeout = 5000,
- background_colour = "#1e222a",
- icons = {
- ERROR = "",
- WARN = "",
- INFO = "",
- DEBUG = "",
- TRACE = "✎",
- },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-surround.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-surround.lua
deleted file mode 100644
index 15ecd7d..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-surround.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-return {
- "kylechui/nvim-surround",
- event = "BufEnter",
- opts = {},
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua
deleted file mode 100644
index 58c07d3..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua
+++ /dev/null
@@ -1,139 +0,0 @@
-return {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
- dependencies = {
- "nvim-treesitter/nvim-treesitter-textobjects",
- },
- event = "VeryLazy",
- config = function()
- require("nvim-treesitter.configs").setup({
- -- A list of parser names, or "all" (the five listed parsers should always be installed)
- ensure_installed = {
- "bash",
- "c",
- "css",
- "csv",
- "dockerfile",
- "elm",
- "fish",
- "javascript",
- "jsdoc",
- "json",
- "lua",
- "norg",
- "markdown",
- "markdown_inline",
- "php",
- "prisma",
- "query",
- "regex",
- "rust",
- "scss",
- "sql",
- "ssh_config",
- "svelte",
- "toml",
- "tsx",
- "twig",
- "typescript",
- "vim",
- "vimdoc",
- "vue",
- "xml",
- "yaml",
- },
-
- -- Install parsers synchronously (only applied to `ensure_installed`)
- sync_install = true,
-
- -- Automatically install missing parsers when entering buffer
- -- Recommendation: set to false if you don"t have `tree-sitter` CLI installed locally
- auto_install = true,
-
- ---- If you need to change the installation directory of the parsers (see -> Advanced Setup)
- -- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")!
-
- indent = {
- enable = true,
- },
-
- highlight = {
- enable = true,
- -- Setting this to true will run `:h syntax` and tree-sitter at the same time.
- -- Set this to `true` if you depend on "syntax" being enabled (like for indentation).
- -- Using this option may slow down your editor, and you may see some duplicate highlights.
- -- Instead of true it can also be a list of languages
- additional_vim_regex_highlighting = false,
- },
- -- Configure text objects
- textobjects = {
- -- Text objects for selections like inside word (iw) or inside html tag (it)
- select = {
- -- Enable text objects selection
- enable = true,
-
- -- Automatically jump forward to textobj, similar to targets.vim
- lookahead = true,
-
- -- Keymaps to use for using the following selection text objects
- keymaps = {
- -- The whole function
- ["af"] = { query = "@function.outer", desc = "Select the whole function" },
- -- Inside a function
- ["if"] = { query = "@function.inner", desc = "Select inside a function" },
- -- Inside an assignment
- ["i="] = { query = "@assignment.inner", desc = "Select inside of a statement" },
- -- Left-hand-side of a statement
- ["l="] = { query = "@assignment.lhs", desc = "Select left-hand-side of a statement" },
- -- Right-hand-side of a statement
- ["r="] = { query = "@assignment.rhs", desc = "Select right-hand-side of a statement" },
- -- The whole statement
- ["a="] = { query = "@assignment.outer", desc = "Select the whole statement" },
- -- Inside of an attribute
- ["ia"] = { query = "@attribute.inner", desc = "Select inside of an attribute" },
- -- The whole attribute
- ["aa"] = { query = "@attribute.outer", desc = "Select the whole attribute" },
- -- Inside of a block
- ["ib"] = { query = "@block.inner", desc = "Select inside a block" },
- -- The whole block
- ["ab"] = { query = "@block.outer", desc = "Select the whole block" },
- -- Inside of a class
- ["ic"] = { query = "@class.inner", desc = "Select inside of a class" },
- -- The whole class
- ["ac"] = { query = "@class.outer", desc = "Select the whole class" },
- -- Inside a comment
- ["iC"] = { query = "@comment.inner", desc = "Select inside of a comment" },
- -- The whole comment
- ["aC"] = { query = "@comment.outer", desc = "Select the whole comment" },
- -- Inside of a conditional statement
- ["ii"] = { query = "@conditional.inner", desc = "Select inside of a conditional statement" },
- -- The whole conditional statement
- ["ai"] = { query = "@conditional.outer", desc = "Select the whole conditional statement" },
- -- Inside a loop
- ["il"] = { query = "@loop.inner", desc = "Select inside a loop" },
- -- The whole a loop
- ["al"] = { query = "@loop.outer", desc = "Select the whole loop" },
- -- Inside a number
- ["in"] = { query = "@number.inner", desc = "Select inside a number" },
- -- Inside a number
- ["an"] = { query = "@number.inner", desc = "Select the whole number" },
- -- Inside a parameter
- ["ip"] = { query = "@parameter.inner", desc = "Select inside a parameter" },
- -- The whole parameter
- ["ap"] = { query = "@parameter.outer", desc = "Select the whole parameter" },
- -- Inside of a regex
- ["ir"] = { query = "@regex.inner", desc = "Select inside of a regex" },
- -- The whole regex
- ["ar"] = { query = "@regex.outer", desc = "Select the whole regex" },
- -- Inside of a return statement
- ["iR"] = { query = "@return.inner", desc = "Select inside of a return statement" },
- -- The whole return statement
- ["aR"] = { query = "@return.outer", desc = "Select the whole return statement" },
- },
- -- Select surrounding white spaces as well as the selected text object
- include_surrounding_whitespace = true,
- },
- },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimcmp.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimcmp.lua
deleted file mode 100644
index 2b670e0..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimcmp.lua
+++ /dev/null
@@ -1,70 +0,0 @@
-return {
- "hrsh7th/nvim-cmp",
- dependencies = {
- "hrsh7th/cmp-nvim-lsp",
- "hrsh7th/cmp-buffer",
- "hrsh7th/cmp-path",
- "hrsh7th/cmp-cmdline",
- 'L3MON4D3/LuaSnip',
- 'saadparwaiz1/cmp_luasnip'
- },
- event = "InsertEnter",
- config = function()
- local cmp = require("cmp")
-
- cmp.setup({
- snippet = {
- expand = function(args)
- require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
- end,
- },
- window = {
- completion = cmp.config.window.bordered(),
- documentation = cmp.config.window.bordered(),
- },
- mapping = cmp.mapping.preset.insert({
- [""] = cmp.mapping.select_prev_item(),
- [""] = cmp.mapping.select_next_item(),
- [""] = cmp.mapping.scroll_docs(-4),
- [""] = cmp.mapping.scroll_docs(4),
- [""] = cmp.mapping.complete(),
- [""] = cmp.mapping.abort(),
- [""] = cmp.mapping.confirm({ select = true }),
- }),
- sources = cmp.config.sources({
- { name = "nvim_lsp", group_index = 2 },
- { name = "path", group_index = 2 },
- { name = 'luasnip' },
- }, {
- { name = "buffer" },
- }),
- })
-
- -- Set configuration for specific filetype.
- cmp.setup.filetype("gitcommit", {
- sources = cmp.config.sources({
- { name = "git" }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
- }, {
- { name = "buffer" },
- }),
- })
-
- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won"t work anymore).
- cmp.setup.cmdline({ "/", "?" }, {
- mapping = cmp.mapping.preset.cmdline(),
- sources = {
- { name = "buffer" },
- },
- })
-
- -- Use cmdline & path source for ":" (if you enabled `native_menu`, this won"t work anymore).
- cmp.setup.cmdline(":", {
- mapping = cmp.mapping.preset.cmdline(),
- sources = cmp.config.sources({
- { name = "path" },
- }, {
- { name = "cmdline" },
- }),
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua
deleted file mode 100644
index 257a234..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua
+++ /dev/null
@@ -1,175 +0,0 @@
-local function use_nvim_tree_width(options)
- if type(options) ~= "table" then
- return
- end
-
- ---@type number
- local offset = options.offset
-
- ---@type number
- local initial_width = options.initial_width
-
- local initial_width_type = type(initial_width)
-
- local on_width_updated = options.on_width_updated
-
- if type(on_width_updated) ~= "function" then
- on_width_updated = function() end
- end
-
- if type(offset) ~= "number" then
- offset = 10
- end
-
- if initial_width_type ~= "number" and initial_width_type ~= "table" then
- initial_width = 30
- end
-
- ---@type number|table
- local previous_width = initial_width
-
- if initial_width_type ~= "number" then
- previous_width = 30
- end
-
- ---@type number|table
- local width = initial_width
-
- local function get_width()
- return width
- end
-
- local function increment_width()
- if type(width) == "table" then
- width = previous_width
- end
-
- local new_width = width + offset
-
- previous_width = new_width
- width = new_width
-
- on_width_updated(new_width)
- end
-
- local function decrement_width()
- if type(width) == "table" then
- width = previous_width
- end
-
- local new_width = width - offset
-
- previous_width = new_width
- width = new_width
-
- on_width_updated(new_width)
- end
-
- local function dynamic_width()
- width = {}
- on_width_updated(width)
- end
-
- return get_width, increment_width, decrement_width, dynamic_width
-end
-
-return {
- "nvim-tree/nvim-tree.lua",
- dependencies = {
- "nvim-tree/nvim-web-devicons",
- },
- config = function()
- vim.g.loaded_netrw = 1
- vim.g.loaded_netrwPlugin = 1
- vim.opt.termguicolors = true
-
- local nvimTreeApi = require("nvim-tree.api")
-
- local get_width, increment_width, decrement_width, dynamic_width = use_nvim_tree_width({
- offset = 5,
- initial_width = 30,
- on_width_updated = function(width)
- vim.cmd.NvimTreeResize(width)
- end
- })
-
- local function on_nvim_tree_attach(buffer)
- local function opts(desc)
- return { desc = "nvim-tree: " .. desc, buffer = buffer, noremap = true, silent = true, nowait = true }
- end
-
- -- default mappings
- nvimTreeApi.config.mappings.default_on_attach(buffer)
-
- -- custom mappings
- vim.keymap.set('n', 'l', nvimTreeApi.node.open.edit, opts('Open file/directory'))
- vim.keymap.set('n', 'h', nvimTreeApi.node.navigate.parent_close, opts('Help'))
- end
-
- require("nvim-tree").setup({
- on_attach = on_nvim_tree_attach,
- auto_reload_on_write = true,
- sort_by = "case_sensitive",
- filters = {
- dotfiles = false,
- },
- notify = {
- -- Notifies everything from the INFO severity to ERROR
- threshold = vim.log.levels.INFO,
- -- Notifies only the relative path instead of the absolute
- absolute_path = false,
- },
- -- Move to the first letter of each folder/files instead of the beginning of the line
- hijack_cursor = true,
- -- Disable completely netrw, just in case
- disable_netrw = true,
- -- Reload the tree whenever a buffer is opened
- reload_on_bufenter = true,
- -- Allows using vim.ui.select for various operation instead of the defaut implementation
- select_prompts = true,
- view = {
- -- dynamically get the width of the tree
- width = get_width,
- -- Always open the tree on the left side of the screen
- side = "left",
- -- Never display the number line for the tree
- number = false,
- },
- renderer = {
- -- Never add trailing slashes for folders name
- add_trailing = false,
- -- Never group directories in the tree for those that only have one child node
- group_empty = false,
- -- Never highlight any files in a special way
- special_files = {},
- -- Highlight files that have diagnostics
- highlight_diagnostics = true
- },
- update_focused_file = {
- -- Focus the file in the tree whenever it is focused in the editor
- enable = true
- },
- diagnostics = {
- -- Enable diagnostics for the tree
- enable = true,
- -- Show diagnostics for the parent folder of the incriminated file
- show_on_dirs = true
- }
- })
-
- local whichKey = require("which-key")
-
- whichKey.add({
- { "n", group = "NvimTree" },
- { "nt", function() nvimTreeApi.tree.toggle() end, desc = "Toggle" },
- { "nf", function() nvimTreeApi.tree.focus() end, desc = "Focus" },
- { "ne", function() nvimTreeApi.tree.expand_all() end, desc = "Expand All" },
- { "nc", function() nvimTreeApi.tree.collapse_all() end, desc = "Collapse All" },
- { "nw", group = "Width" },
- { "nwi", increment_width, desc = "Increase" },
- { "nwd", decrement_width, desc = "Decrease" },
- { "nwa", dynamic_width, desc = "Decrease" },
- { "nt", function() nvimTreeApi.tree.toggle() end, desc = "Toggle" },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/telescope.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/telescope.lua
deleted file mode 100644
index 0645eba..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/telescope.lua
+++ /dev/null
@@ -1,24 +0,0 @@
-return {
- "nvim-telescope/telescope.nvim",
- dependencies = {
- "nvim-lua/plenary.nvim",
- },
- config = function()
- local telescope = require("telescope")
- local telescopeBuiltin = require("telescope.builtin")
-
- telescope.setup({})
-
- local whichKey = require("which-key")
-
- whichKey.add({
- { "t", group = "Telescope" },
- { "th", function() telescopeBuiltin.help_tags() end, desc = "Help Tags" },
- { "tt", function() telescopeBuiltin.treesitter() end, desc = "Treesitter" },
- { "tf", function() telescopeBuiltin.find_files() end, desc = "Files" },
- { "tw", function() telescopeBuiltin.live_grep() end, desc = "Words" },
- { "tc", function() telescopeBuiltin.colorscheme() end, desc = "Colorscheme" },
- { "tg", function() telescopeBuiltin.git_files() end, desc = "Colorscheme" },
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/tokyonight.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/tokyonight.lua
deleted file mode 100644
index ab478b3..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/tokyonight.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-return {
- {
- "folke/tokyonight.nvim",
- lazy = false,
- priority = 1000,
- init = function()
- vim.cmd.colorscheme("tokyonight")
- end,
- opts = {
- style = "storm",
- transparent = false,
- light_style = "day",
- terminal_colors = true,
- },
- },
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/vim-illuminate.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/vim-illuminate.lua
deleted file mode 100644
index e0f32b6..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/vim-illuminate.lua
+++ /dev/null
@@ -1,52 +0,0 @@
-return {
- "RRethy/vim-illuminate",
- event = "BufEnter",
- config = function()
- require("illuminate").configure({
- -- providers: provider used to get references in the buffer, ordered by priority
- providers = {
- "lsp",
- "treesitter",
- "regex",
- },
- -- delay: delay in milliseconds
- delay = 100,
- -- filetype_overrides: filetype specific overrides.
- -- The keys are strings to represent the filetype while the values are tables that
- -- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
- filetype_overrides = {},
- -- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
- filetypes_denylist = {
- "dirvish",
- "fugitive",
- },
- -- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
- filetypes_allowlist = {},
- -- modes_denylist: modes to not illuminate, this overrides modes_allowlist
- -- See `:help mode()` for possible values
- modes_denylist = {},
- -- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
- -- See `:help mode()` for possible values
- modes_allowlist = {},
- -- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
- -- Only applies to the 'regex' provider
- -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
- providers_regex_syntax_denylist = {},
- -- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
- -- Only applies to the 'regex' provider
- -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
- providers_regex_syntax_allowlist = {},
- -- under_cursor: whether or not to illuminate under the cursor
- under_cursor = true,
- -- large_file_cutoff: number of lines at which to use large_file_config
- -- The `under_cursor` option is disabled when this cutoff is hit
- large_file_cutoff = nil,
- -- large_file_config: config to use for large files (based on large_file_cutoff).
- -- Supports the same keys passed to .configure
- -- If nil, vim-illuminate will be disabled for large files.
- large_file_overrides = nil,
- -- min_count_to_highlight: minimum number of matches required to perform highlighting
- min_count_to_highlight = 1,
- })
- end,
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/which-key.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/which-key.lua
deleted file mode 100644
index 2f0841a..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/which-key.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-return {
- "folke/which-key.nvim",
- event = "VeryLazy",
- init = function()
- vim.o.timeout = true
- vim.o.timeoutlen = 0
- end,
- config = function()
- -- Nothing here
- end
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/zen-mode.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/zen-mode.lua
deleted file mode 100644
index 6b7fa5d..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/zen-mode.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-return {
- "folke/zen-mode.nvim",
- event = "VeryLazy",
- opts = {}
-}
diff --git a/ansible/roles/neovim/files/nvim/lua/settings/options.lua b/ansible/roles/neovim/files/nvim/lua/settings/options.lua
deleted file mode 100644
index 10be59e..0000000
--- a/ansible/roles/neovim/files/nvim/lua/settings/options.lua
+++ /dev/null
@@ -1,44 +0,0 @@
-local opt = vim.opt
-
-opt.autoindent = true
-opt.autoread = true
-opt.backspace = "indent,eol,start"
-opt.bufhidden = "hide"
-opt.clipboard:append("unnamedplus")
-opt.confirm = true
-opt.copyindent = true
-opt.emoji = true
-opt.encoding = "UTF-8"
-opt.expandtab = true
-opt.fileignorecase = true
-opt.hlsearch = true
-opt.ignorecase = true
-opt.incsearch = true
-opt.infercase = true
-opt.joinspaces = true
-opt.laststatus = 2
-opt.lazyredraw = false
-opt.backup = false
-opt.breakindent = false
-opt.compatible = false
-opt.errorbells = false
-opt.linebreak = false
-opt.swapfile = false
-opt.number = true
-opt.relativenumber = true
-opt.shiftround = true
-opt.shiftwidth = 2
-opt.shiftwidth = 2
-opt.smartcase = true
-opt.smartindent = true
-opt.smarttab = true
-opt.softtabstop = 2
-opt.tabstop = 2
-opt.syntax = "on"
-opt.wrap = false
-opt.cursorline = true
-opt.termguicolors = true
-opt.signcolumn = "yes"
-opt.splitright = true
-opt.splitbelow = true
-opt.conceallevel = 3
diff --git a/ansible/roles/neovim/tasks/main.yml b/ansible/roles/neovim/tasks/main.yml
deleted file mode 100644
index ec3d0fd..0000000
--- a/ansible/roles/neovim/tasks/main.yml
+++ /dev/null
@@ -1,104 +0,0 @@
----
-- name: Install Angular Language Server
- become: true
- npm:
- name: "@angular/language-server"
- global: true
- state: latest
-- name: Install VSCode Langservers Extracted
- become: true
- npm:
- name: vscode-langservers-extracted
- global: true
- state: latest
-- name: Install Emmet Language Server
- become: true
- npm:
- name: "@olrtg/emmet-language-server"
- global: true
- state: latest
-- name: Install TypeScript Language Server
- become: true
- npm:
- name: typescript-language-server
- global: true
- state: latest
-- name: Install Biome
- become: true
- npm:
- name: "@biomejs/biome"
- global: true
- state: latest
-- name: Install Lua 5.1
- become: true
- pacman:
- name: lua51
- state: latest
-- name: Install Lua JS Regexp
- become: true
- pacman:
- name: lua-jsregexp
- state: latest
-- name: Install RipGrep
- become: true
- pacman:
- name: ripgrep
- state: latest
-- name: Install Node.js
- become: true
- pacman:
- name: nodejs
- state: latest
-- name: Install NPM
- become: true
- pacman:
- name: npm
- state: latest
-- name: Install Node.js package for Neovim
- become: true
- npm:
- name: neovim
- global: true
- state: latest
- path: /usr/local/bin/node_modules
-- name: Install Neovim (command-line text editor)
- become: true
- pacman:
- name: neovim
- state: latest
-- name: Install Neovim package for Python
- become: true
- pacman:
- name: python-neovim
- state: latest
-- name: Install TreeSitter CLI for Neovim
- become: true
- pacman:
- name: tree-sitter-cli
- state: latest
-- name: Install Java SDK for Neovim
- become: true
- pacman:
- name: jdk-openjdk
- state: latest
-- name: Install Ruby for Neovim
- become: true
- pacman:
- name: ruby
- state: latest
-- name: Install Ruby Gem for Neovim
- become: true
- gem:
- name: neovim
- state: latest
-- name: Setup NeoVim for the unprivileged user
- synchronize:
- src: nvim
- dest: "/$HOME/.config"
- delete: true
-- name: Setup NeoVim for the administrator user
- become: true
- synchronize:
- src: nvim
- dest: /root/.config
- delete: true
diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml
deleted file mode 100644
index 6f5aab2..0000000
--- a/ansible/roles/network/tasks/main.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- name: Install Network Manager (Wi-Fi & ethernet manager)
- become: true
- pacman:
- name: networkmanager
- state: latest
-- name: Start Network Manager service
- become: true
- service:
- enabled: true
- name: NetworkManager
- state: started
diff --git a/ansible/roles/pipewire/tasks/main.yml b/ansible/roles/pipewire/tasks/main.yml
deleted file mode 100644
index 41be3ac..0000000
--- a/ansible/roles/pipewire/tasks/main.yml
+++ /dev/null
@@ -1,17 +0,0 @@
----
-- name: Install Pipewire Alsa
- become: true
- pacman:
- name: pipewire-alsa
- state: latest
-- name: Install Pipewire for Pulseaudio
- become: true
- pacman:
- name: pipewire-pulse
- state: latest
-- name: Enable Pipewire for Pulseaudio
- systemd_service:
- name: pipewire-pulse
- scope: user
- enabled: true
- state: started
diff --git a/ansible/roles/privateinternetaccess/tasks/main.yml b/ansible/roles/privateinternetaccess/tasks/main.yml
deleted file mode 100644
index 36469f9..0000000
--- a/ansible/roles/privateinternetaccess/tasks/main.yml
+++ /dev/null
@@ -1,22 +0,0 @@
----
-- name: Ensure the temporary folder is present
- become: true
- file:
- path: /tmp/privateinternetaccess
- state: directory
-- name: Download Private Internet Access OpenVPN configuration
- become: true
- get_url:
- url: https://www.privateinternetaccess.com/openvpn/openvpn.zip
- dest: /tmp/privateinternetaccess/openvpn.zip
-- name: Ensure the configuration folder for Private Internet Access exists
- become: true
- file:
- path: /etc/privateinternetaccess
- state: directory
-- name: Unzip the Private Internet Access OpenVPN configuration
- become: true
- unarchive:
- src: /tmp/privateinternetaccess/openvpn.zip
- dest: /etc/privateinternetaccess/
- mode: '0600'
diff --git a/ansible/roles/slidev/tasks/main.yml b/ansible/roles/slidev/tasks/main.yml
deleted file mode 100644
index edc0aa1..0000000
--- a/ansible/roles/slidev/tasks/main.yml
+++ /dev/null
@@ -1,26 +0,0 @@
----
-- name: Install Node.js
- become: true
- pacman:
- name: nodejs
- state: latest
-- name: Install NPM
- become: true
- pacman:
- name: npm
- state: latest
-- name: Install Slidev globally through NPM
- community.general.npm:
- path: /$HOME/.local/lib/node_modules
- name: '@slidev/cli'
- version: 0.47.5
-- name: Install Slidev default theme globally through NPM
- community.general.npm:
- path: /$HOME/.local/lib/node_modules
- name: '@slidev/theme-default'
- version: 0.25.0
-- name: Install Playwright Chromium for Slidev globally through NPM
- community.general.npm:
- path: /$HOME/.local/lib/node_modules
- name: playwright-chromium
- version: 1.41.2
diff --git a/ansible/roles/timezone/tasks/main.yml b/ansible/roles/timezone/tasks/main.yml
deleted file mode 100644
index 599e782..0000000
--- a/ansible/roles/timezone/tasks/main.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-- name: Set the timezone for Europe/Paris
- become: true
- community.general.timezone:
- name: Europe/Paris
diff --git a/ansible/roles/tmux/files/tmux/tmux.conf b/ansible/roles/tmux/files/tmux/tmux.conf
deleted file mode 100644
index c93569b..0000000
--- a/ansible/roles/tmux/files/tmux/tmux.conf
+++ /dev/null
@@ -1,90 +0,0 @@
-# Open in current director# Rebind Ctrl-b to Ctrl-a
-unbind C-b
-set-option -g prefix C-a
-bind-key C-a send-prefix
-
-# Start windows at index 1 instead of 0
-set -g base-index 1
-
-# Start panes at index 1 instead of 0
-set -g pane-base-index 1
-
-# Ensures that panes get reordered correctly when killing panes
-set-option -g renumber-windows on
-
-# VI-mode
-set-window-option -g mode-keys vi
-set-window-option -g status-keys vi
-
-# Enable Vi copy commands
-bind-key -T copy-mode-vi 'v' send -X begin-selection
-bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel 'xclip -selection clipboard'
-
-# Vim keybinding for resizing panes
-bind -r C-h resize-pane -L # Control-a Control-h
-bind -r C-j resize-pane -D # Control-a Control-j
-bind -r C-k resize-pane -U # Control-a Control-k
-bind -r C-l resize-pane -R # Control-a Control-l
-
-# Vim keybinding for switching between panes
-bind h select-pane -l # Control-a h
-bind j select-pane -D # Control-a j
-bind k select-pane -U # Control-a k
-bind l select-pane -R # Control-a l
-
-# Bind Control-a + X to kill a session
-bind X kill-session
-
-# Bind Control-a + C to create a new session
-bind C new-session
-
-# split panes using | and - and use the current working directory
-bind | split-window -h -c "#{pane_current_path}"
-bind - split-window -v -c "#{pane_current_path}"
-
-# Create new window with current path
-bind c new-window -c "#{pane_current_path}"
-
-# Unbinding the old keybind for splitting the pane vertically
-unbind '"'
-
-# Unbinding the old keybind for splitting the pane horizontally
-unbind %
-
-# Disable completely the mouse
-set -g mouse off
-
-# Set the default terminal
-set -s default-terminal 'tmux-256color'
-
-# Longer workspace names
-set -g status-left-length 20
-
-# Reduce the escape time for Neovim
-set-option -sg escape-time 10
-
-# Enable focus event for Neovim
-set-option -g focus-events on
-
-# Terminal feature specific to Neovim
-set-option -sa terminal-overrides ',tmux-256color:Tc'
-set-option -as terminal-features ',xterm-kitty:RGB'
-set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
-set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
-
-# Tmux plugin to handle tmux plugins
-set -g @plugin 'tmux-plugins/tpm'
-
-# Tmux theme plugin
-set -g @plugin 'jimeh/tmux-themepack'
-
-# Tmux plugin to navigate easily between session
-set -g @plugin 'tmux-plugins/tmux-sessionist'
-
-# Setting the theme to use with Tmux Themepack
-# set -g @themepack 'powerline/block/cyan'
-# set -g @plugin "aminnairi/tokyo-night-tmux#mode-style"
-set -g @plugin "janoamaral/tokyo-night-tmux"
-
-# Run the Tmux plugin manager
-run '~/.tmux/plugins/tpm/tpm'
diff --git a/ansible/roles/tmux/tasks/main.yml b/ansible/roles/tmux/tasks/main.yml
deleted file mode 100644
index b6cef63..0000000
--- a/ansible/roles/tmux/tasks/main.yml
+++ /dev/null
@@ -1,34 +0,0 @@
----
-- name: Install TMUX (terminal multiplexer)
- become: true
- pacman:
- name: tmux
- state: latest
-- name: Install TPM for the unprivileged user
- git:
- repo: https://github.com/tmux-plugins/tpm
- dest: /$HOME/.tmux/plugins/tpm
- update: true
- force: true
- clone: true
- single_branch: true
- depth: 1
-- name: Install TPM for the root user
- become: true
- git:
- repo: https://github.com/tmux-plugins/tpm
- dest: /root/.tmux/plugins/tpm
- update: true
- force: true
- clone: true
- single_branch: true
- depth: 1
-- name: Setup TMUX for the unprivileged user
- copy:
- src: tmux/tmux.conf
- dest: "/$HOME/.tmux.conf"
-- name: Setup TMUX for the root user
- become: true
- copy:
- src: tmux/tmux.conf
- dest: "/root/.tmux.conf"
diff --git a/ansible/roles/vifm/files/vifm/colors/Default.vifm b/ansible/roles/vifm/files/vifm/colors/Default.vifm
deleted file mode 100644
index af52fb9..0000000
--- a/ansible/roles/vifm/files/vifm/colors/Default.vifm
+++ /dev/null
@@ -1,29 +0,0 @@
-" palenight color scheme for vifm
-
-" Reset all styles first
-highlight clear
-
-highlight Border cterm=none ctermfg=default ctermbg=default
-
-highlight TopLine cterm=none ctermfg=002 ctermbg=default
-highlight TopLineSel cterm=bold ctermfg=002 ctermbg=default
-
-highlight Win cterm=none ctermfg=251 ctermbg=default
-highlight Directory cterm=bold ctermfg=004 ctermbg=default
-highlight CurrLine cterm=bold,inverse ctermfg=default ctermbg=default
-highlight OtherLine cterm=bold ctermfg=default ctermbg=default
-highlight Selected cterm=none ctermfg=003 ctermbg=008
-
-highlight JobLine cterm=bold ctermfg=251 ctermbg=008
-highlight StatusLine cterm=none ctermfg=008 ctermbg=default
-highlight ErrorMsg cterm=bold ctermfg=001 ctermbg=default
-highlight WildMenu cterm=bold ctermfg=015 ctermbg=008
-highlight CmdLine cterm=none ctermfg=007 ctermbg=default
-
-highlight Executable cterm=bold ctermfg=002 ctermbg=default
-highlight Link cterm=bold ctermfg=006 ctermbg=default
-highlight BrokenLink cterm=bold ctermfg=001 ctermbg=default
-highlight Device cterm=bold,standout ctermfg=000 ctermbg=011
-highlight Fifo cterm=none ctermfg=003 ctermbg=default
-highlight Socket cterm=bold ctermfg=005 ctermbg=default
-
diff --git a/ansible/roles/vifm/files/vifm/colors/Palenight.vifm b/ansible/roles/vifm/files/vifm/colors/Palenight.vifm
deleted file mode 100644
index e4840cc..0000000
--- a/ansible/roles/vifm/files/vifm/colors/Palenight.vifm
+++ /dev/null
@@ -1,28 +0,0 @@
-" palenight color scheme for vifm
-
-" Reset all styles first
-highlight clear
-
-highlight Border cterm=none ctermfg=default ctermbg=default
-
-highlight TopLine cterm=none ctermfg=002 ctermbg=default
-highlight TopLineSel cterm=bold ctermfg=002 ctermbg=default
-
-highlight Win cterm=none ctermfg=251 ctermbg=default
-highlight Directory cterm=bold ctermfg=004 ctermbg=default
-highlight CurrLine cterm=bold,inverse ctermfg=default ctermbg=default
-highlight OtherLine cterm=bold ctermfg=default ctermbg=default
-highlight Selected cterm=none ctermfg=003 ctermbg=008
-
-highlight JobLine cterm=bold ctermfg=251 ctermbg=008
-highlight StatusLine cterm=none ctermfg=008 ctermbg=default
-highlight ErrorMsg cterm=bold ctermfg=001 ctermbg=default
-highlight WildMenu cterm=bold ctermfg=015 ctermbg=008
-highlight CmdLine cterm=none ctermfg=007 ctermbg=default
-
-highlight Executable cterm=bold ctermfg=002 ctermbg=default
-highlight Link cterm=bold ctermfg=006 ctermbg=default
-highlight BrokenLink cterm=bold ctermfg=001 ctermbg=default
-highlight Device cterm=bold,standout ctermfg=000 ctermbg=011
-highlight Fifo cterm=none ctermfg=003 ctermbg=default
-highlight Socket cterm=bold ctermfg=005 ctermbg=default
diff --git a/ansible/roles/vifm/files/vifm/vifmrc b/ansible/roles/vifm/files/vifm/vifmrc
deleted file mode 100644
index f44f527..0000000
--- a/ansible/roles/vifm/files/vifm/vifmrc
+++ /dev/null
@@ -1,665 +0,0 @@
-" vim: filetype=vifm :
-" Sample configuration file for vifm (last updated: 3 April, 2023)
-" You can edit this file by hand.
-" The " character at the beginning of a line comments out the line.
-" Blank lines are ignored.
-" The basic format for each item is shown with an example.
-
-" ------------------------------------------------------------------------------
-" Main settings
-" ------------------------------------------------------------------------------
-
-" Command used to edit files in various contexts. The default is vim.
-" If you would like to use another vi clone such as Elvis or Vile
-" you will need to change this setting.
-set vicmd=nvim
-" if executable('vim')
- " set vicmd=vim
-" elseif executable('nvim')
- " set vicmd=nvim
-" elseif executable('elvis')
- " set vicmd=elvis\ -G\ termcap
-" elseif executable('vile')
- " set vicmd=vile
-" elseif $EDITOR != ''
- " echo 'Note: using `'.$EDITOR.'` as an editor'
- " let &vicmd = $EDITOR
-" endif
-
-" This makes vifm perform file operations on its own instead of relying on
-" standard utilities like `cp`. While using `cp` and alike is a more universal
-" solution, it's also much slower when processing large amounts of files and
-" doesn't support progress measuring.
-set syscalls
-
-" Trash Directory
-" The default is to move files that are deleted with dd or :d to
-" the trash directory. If you change this you will not be able to move
-" files by deleting them and then using p to put the file in the new location.
-" I recommend not changing this until you are familiar with vifm.
-" This probably shouldn't be an option.
-set trash
-
-" What should be saved automatically on restarting vifm. Drop "savedirs"
-" value if you don't want vifm to remember last visited directories for you.
-set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
- \phistory,fhistory,dirstack,registers,bookmarks,bmarks
-
-" This is how many directories to store in the directory history.
-set history=100
-
-" Automatically resolve symbolic links on l or Enter.
-set nofollowlinks
-
-" Natural sort of (version) numbers within text.
-set sortnumbers
-
-" Maximum number of changes that can be undone.
-set undolevels=100
-
-" Use Vim's format of help file (has highlighting and "hyperlinks").
-" If you would rather use a plain text help file set novimhelp.
-set vimhelp
-
-" If you would like to run an executable file when you
-" press Enter, l or Right Arrow, set this.
-set norunexec
-
-" Format for displaying time in file list. For example:
-" TIME_STAMP_FORMAT=%m/%d-%H:%M
-" See man date or man strftime for details.
-set timefmt='%Y/%m/%d %H:%M'
-
-" Show list of matches on tab completion in command-line mode
-set wildmenu
-
-" Display completions in a form of popup with descriptions of the matches
-set wildstyle=popup
-
-" Display suggestions in normal, visual and view modes for keys, marks and
-" registers (at most 5 files). In other view, when available.
-set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
-
-" Ignore case in search patterns unless it contains at least one uppercase
-" letter
-set ignorecase
-set smartcase
-
-" Don't highlight search results automatically
-set nohlsearch
-
-" Use increment searching (search while typing)
-set incsearch
-
-" Try to leave some space from cursor to upper/lower border in lists
-set scrolloff=4
-
-" Don't do too many requests to slow file systems
-if !has('win')
- set slowfs=curlftpfs
-endif
-
-" Set custom status line look
-set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
-
-" List of color schemes to try (picks the first one supported by the terminal)
-colorscheme Palenight Default
-
-" ------------------------------------------------------------------------------
-" Bookmarks
-" ------------------------------------------------------------------------------
-
-" :mark mark /full/directory/path [filename]
-
-mark b ~/bin/
-mark h ~/
-
-" ------------------------------------------------------------------------------
-" Commands
-" ------------------------------------------------------------------------------
-
-" :com[mand][!] command_name action
-"
-" These are some of the macros that can be used in the action part:
-" %a for user arguments
-" %c for current file under the cursor
-" %C for current file under the cursor of inactive pane
-" %f for selected file(s)
-" %F for selected file(s) of inactive pane
-" %b is the same as %f %F
-" %d for current directory name
-" %D for current directory name of inactive pane
-" %r{x} for list of files in register {x}
-" %m runs the command in a menu window
-" %u uses command's output to build a file list
-" see `:help vifm-macros` and `:help vifm-filename-modifiers` for more
-
-command! df df -h %m 2> /dev/null
-command! diff vim -d %f %F
-command! zip zip -r %c.zip %f
-command! run !! ./%f
-command! make !!make %a
-command! mkcd :mkdir %a | cd %a
-command! vgrep vim "+grep %a"
-command! reload :write | restart full
-
-" ------------------------------------------------------------------------------
-" File types association
-" ------------------------------------------------------------------------------
-
-" :filetype pattern1,pattern2 defaultprogram,program2
-" :fileviewer pattern1,pattern2 consoleviewer
-"
-" The first entry is the default program to be used with a matching file.
-" The other programs for the file type can be accessed via :file command.
-" The command macros like %f, %F, %d, %D may be used in the commands.
-" The %a macro is ignored. To use a % you must put %%.
-" Spaces in an app name must be escaped, for example: QuickTime\ Player.app
-
-" For automated FUSE mounts, you must register an extension with :file[x]type
-" in one of the following formats:
-"
-" :filetype patterns FUSE_MOUNT|mount_cmd %SOURCE_FILE %DESTINATION_DIR
-"
-" %SOURCE_FILE and %DESTINATION_DIR are filled in at runtime.
-"
-" Example:
-" :filetype *.zip,*.[jwe]ar FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
-"
-" :filetype patterns FUSE_MOUNT2|mount_cmd %PARAM %DESTINATION_DIR
-"
-" %PARAM and %DESTINATION_DIR are filled in at runtime.
-"
-" Example:
-" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
-"
-" %PARAM value is the first line of the matched file, example: root@127.0.0.1:/
-"
-" You can also add %CLEAR if you want to clear screen before running FUSE
-" program. There is also %FOREGROUND, which is useful for entering passwords.
-
-" Pdf
-filextype {*.pdf}, zathura %c %i, apvlv %c, xpdf %c
-fileviewer {*.pdf}, pdftotext -nopgbrk %c -
-
-" PostScript
-filextype {*.ps,*.eps,*.ps.gz},
- \ {View in zathura}
- \ zathura %f,
- \ {View in gv}
- \ gv %c %i,
-
-" Djvu
-filextype {*.djvu},
- \ {View in zathura}
- \ zathura %f,
- \ {View in apvlv}
- \ apvlv %f,
-
-" Midi
-filetype {*.mid,*.kar}
- \ {Play using TiMidity++}
- \ timidity %f,
-
-" Audio
-filetype {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,
- \*.aac,*.mpga},
- \