nix: Vim: done
This commit is contained in:
parent
7f71eec03c
commit
942dff9d8c
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -1,4 +0,0 @@
|
|||
" PLUGINS CONFIGURATION
|
||||
|
||||
{% include 'pluginconfig.j2' %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% set plugins = namespace(sources=[]) %}
|
||||
{% include 'pluginlist.j2' %}
|
|
@ -1,8 +0,0 @@
|
|||
" Visuals
|
||||
{{ use_plugin('devicons') }}
|
||||
{% if variant == 'nvim' %}
|
||||
{{ use_plugin('specs') }}
|
||||
{% endif %}
|
||||
|
||||
" Theme
|
||||
source ~/.config/vim/theme.vim
|
|
@ -1,5 +0,0 @@
|
|||
{% if variant == 'nvim' %}
|
||||
{{ add_source('kyazdani42/nvim-web-devicons') -}}
|
||||
{% else %}
|
||||
{{ add_source('ryanoasis/vim-devicons') -}}
|
||||
{% endif %}
|
|
@ -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
|
|
@ -80,6 +80,8 @@ in
|
|||
specs = {
|
||||
enable = true;
|
||||
min_jump = 5;
|
||||
fader = { builtin = "pulse_fader"; };
|
||||
resizer = { builtin = "shrink_resizer"; };
|
||||
};
|
||||
|
||||
# Tabline
|
||||
|
|
Loading…
Reference in a new issue