diff --git a/config/automatrop/playbooks/default.yml b/config/automatrop/playbooks/default.yml index 6b9231c..bf37348 100644 --- a/config/automatrop/playbooks/default.yml +++ b/config/automatrop/playbooks/default.yml @@ -9,8 +9,6 @@ when: root_access - role: dotfiles tags: dotfiles - - role: vim - tags: vim - role: mnussbaum.base16-builder-ansible # Required for desktop_environment tags: - color diff --git a/config/automatrop/roles/vim/tasks/main.yml b/config/automatrop/roles/vim/tasks/main.yml deleted file mode 100644 index 864f679..0000000 --- a/config/automatrop/roles/vim/tasks/main.yml +++ /dev/null @@ -1,9 +0,0 @@ - -- name: Configure vim - template: - src: init.vim.j2 - dest: "{{ ansible_user_dir }}/.config/{{ variant }}/init.vim" - mode: "u=rw,g=r,o=r" - loop: "{{ vim_variants }}" - loop_control: - loop_var: variant diff --git a/config/automatrop/roles/vim/templates/init.vim.j2 b/config/automatrop/roles/vim/templates/init.vim.j2 deleted file mode 100644 index 66e45b6..0000000 --- a/config/automatrop/roles/vim/templates/init.vim.j2 +++ /dev/null @@ -1,4 +0,0 @@ -" PLUGINS CONFIGURATION - -{% include 'pluginconfig.j2' %} - diff --git a/config/automatrop/roles/vim/templates/pluginconfig.j2 b/config/automatrop/roles/vim/templates/pluginconfig.j2 deleted file mode 100644 index 1be4279..0000000 --- a/config/automatrop/roles/vim/templates/pluginconfig.j2 +++ /dev/null @@ -1,2 +0,0 @@ -{% set plugins = namespace(sources=[]) %} -{% include 'pluginlist.j2' %} diff --git a/config/automatrop/roles/vim/templates/pluginlist.j2 b/config/automatrop/roles/vim/templates/pluginlist.j2 deleted file mode 100644 index 038b99a..0000000 --- a/config/automatrop/roles/vim/templates/pluginlist.j2 +++ /dev/null @@ -1,8 +0,0 @@ -" Visuals -{{ use_plugin('devicons') }} -{% if variant == 'nvim' %} -{{ use_plugin('specs') }} -{% endif %} - -" Theme -source ~/.config/vim/theme.vim diff --git a/config/automatrop/roles/vim/templates/plugins/devicons.j2 b/config/automatrop/roles/vim/templates/plugins/devicons.j2 deleted file mode 100644 index 7b5e65f..0000000 --- a/config/automatrop/roles/vim/templates/plugins/devicons.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{% if variant == 'nvim' %} -{{ add_source('kyazdani42/nvim-web-devicons') -}} -{% else %} -{{ add_source('ryanoasis/vim-devicons') -}} -{% endif %} diff --git a/config/automatrop/roles/vim/templates/plugins/specs.j2 b/config/automatrop/roles/vim/templates/plugins/specs.j2 deleted file mode 100644 index 6177dbc..0000000 --- a/config/automatrop/roles/vim/templates/plugins/specs.j2 +++ /dev/null @@ -1,15 +0,0 @@ -{# Flashes under the cursor when moving far #} -{{ add_source('edluffy/specs.nvim') -}} -lua << EOF -require('specs').setup{ - popup = { - delay_ms = 0, -- delay before popup displays - inc_ms = 10, -- time increments used for fade/resize effects - blend = 10, -- starting blend, between 0-100 (fully transparent), see :h winblend - width = 10, - winhl = "PMenu", - fader = require('specs').pulse_fader, - resizer = require('specs').shrink_resizer - }, -} -EOF diff --git a/config/nix/hm/vim.nix b/config/nix/hm/vim.nix index 5e98b6c..b2fa87e 100644 --- a/config/nix/hm/vim.nix +++ b/config/nix/hm/vim.nix @@ -80,6 +80,8 @@ in specs = { enable = true; min_jump = 5; + fader = { builtin = "pulse_fader"; }; + resizer = { builtin = "shrink_resizer"; }; }; # Tabline