This commit is contained in:
2024-08-05 16:16:34 -04:00
parent 6bebad7881
commit f96e20348a
87 changed files with 123 additions and 5455 deletions

View File

@@ -2,11 +2,12 @@ vim.cmd([[
set nowrap
set number
set scrolloff=5
set colorcolumn=128
colorscheme elflord
hi ColorColumn ctermbg=lightgrey guibg=lightgrey
]])
vim.keymap.set('n', '<C-Up>', '<C-w><up>', { silent = true })
vim.keymap.set('n', '<C-Down>', '<C-w><down>', { silent = true })
vim.keymap.set('n', '<C-Left>', '<C-w><left>', { silent = true })
vim.keymap.set('n', '<C-Right>', '<C-w><right>', { silent = true })

View File

@@ -21,3 +21,23 @@
copy:
src: prompt_eric_setup
dest: /usr/share/zsh/functions/Prompts/prompt_eric_setup
- name: Copy tmux configuration
copy:
src: tmux.conf
dest: /home/eric/.tmux.conf
- name: Copy git configuration
copy:
src: gitconfig
dest: /home/eric/.gitconfig
- name: Create local configuration directory
file:
path: /home/eric/.config/nvim
state: directory
- name: Copy neovim configuration
copy:
src: init.lua
dest: /home/eric/.config/nvim/init.lua

View File

@@ -1,42 +1,2 @@
---
# tasks file for mobile-command.yml
- name: Install additional user packages
apt:
name:
- certbot
- curl
- davfs2
- git
- gpsd
- neovim
- passwordsafe
- tmux
- w3m
state: present
- name: Append tmux text to zshrc
become: true
lineinfile:
path: "{{ ansible_user_dir }}/.zshrc"
line: "if [ -x \"$(command -v tmux)\" ] && [ -n \"\${DISPLAY}\" ] && [ -z \"\${TMUX}\" ]; then\n exec tmux new-session -A -s {{ ansible_user }} >/dev/null 2>&1\nfi"
create: true
- name: Copy tmux configuration
copy:
src: tmux.conf
dest: /home/eric/.tmux.conf
- name: Copy git configuration
copy:
src: gitconfig
dest: /home/eric/.gitconfig
- name: Create local configuration directory
file:
path: /home/eric/.config/nvim
state: directory
- name: Copy neovim configuration
copy:
src: init.lua
dest: /home/eric/.config/nvim/init.lua