From 039f41345e8b9f320fa234b4f66e2235d450b63c Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Tue, 15 Jul 2025 09:19:59 -0500 Subject: [PATCH] FIX: small tweaks to vis, ssh --- home.nix | 1 + ssh/extra | 1 - vis/visrc.lua | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home.nix b/home.nix index 275fdff..42fcead 100644 --- a/home.nix +++ b/home.nix @@ -53,6 +53,7 @@ sqlite age just + mdr unstable.catgirl plan9port unstable.rc diff --git a/ssh/extra b/ssh/extra index c13aff6..114af75 100644 --- a/ssh/extra +++ b/ssh/extra @@ -136,5 +136,4 @@ Host chillwave Host glitch HostName 100.83.137.68 - User ambient IdentityFile ~/.ssh/id_ed25519 diff --git a/vis/visrc.lua b/vis/visrc.lua index 22aea0d..3e81686 100644 --- a/vis/visrc.lua +++ b/vis/visrc.lua @@ -1,14 +1,13 @@ require('vis') -local plugin_manager = 'plugins/vis-plug' local plugins = { - { 'timoha/vis-acme', theme = true, file = 'acme' }, + --{ 'timoha/vis-acme', theme = true, file = 'acme' }, { 'milhnl/vis-format' }, { url = 'https://git.cepl.eu/cgit/vis/vis-fzf-open' }, { url = 'https://gitlab.com/muhq/vis-lspc.git' }, - { url = 'https://repo.or.cz/vis-parkour.git', alias = 'vis-parkour' } + { url = 'https://repo.or.cz/vis-parkour.git', alias = 'vis-parkour' }, } -function setup_plug() +local function setup_plug() if not pcall(require, 'plugins/vis-plug') then os.execute('git clone --quiet https://github.com/erf/vis-plug ' .. (os.getenv('XDG_CONFIG_HOME') or os.getenv('HOME') .. '/.config') @@ -20,7 +19,7 @@ local plug = setup_plug() plug.init(plugins, true) -function configure_plugin(name, config) +local function configure_plugin(name, config) if vis:module_exist(name) then local module = require(name) config(module) @@ -60,5 +59,6 @@ vis.events.subscribe(vis.events.WIN_OPEN, function() vis:command('set autoindent on') vis:command('set cursorline on') vis:command('set tabwidth 4') + vis:command('set theme zenburn') end) return nil -- 2.51.2