From da154dcae7366ec0f9c6ccc5c6afc7cd249dd2e9 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sat, 20 Jan 2024 17:36:50 -0500 Subject: [PATCH] A pinch of vimrc cleanup Also adjust download-channel --- fake_home/.shell_aliases | 2 +- fake_home/.vimrc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index e4a620e..ca39bf3 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -40,7 +40,7 @@ alias caddyfile="sudo vim /etc/caddy/Caddyfile" alias cf="sudo vim /etc/caddy/Caddyfile" function download-channel { - ~/Downloads/yt-dlp "$1" --format 'bestvideo[height=1080]+bestaudio/best' --download-archive archive.txt --output '%(uploader)s/%(upload_date)s.%(title)s.%(id)s.%(ext)s' --restrict-filenames --merge-output-format mkv --ignore-errors + yt-dlp "$1" --format 'bestvideo[height=1080]+bestaudio/best' --download-archive archive.txt --output '%(uploader)s/%(upload_date)s.%(title)s.%(id)s.%(ext)s' --restrict-filenames --merge-output-format mkv --ignore-errors } function fin { diff --git a/fake_home/.vimrc b/fake_home/.vimrc index f2bd4a6..202282d 100644 --- a/fake_home/.vimrc +++ b/fake_home/.vimrc @@ -18,9 +18,8 @@ else set termguicolors let &t_8f = "\[38:2:%lu:%lu:%lum" let &t_8b = "\[48:2:%lu:%lu:%lum" - syntax enable - colorscheme monokai + syntax enable endif let mapleader=" " @@ -81,7 +80,8 @@ set number relativenumber set ignorecase smartcase set autoindent smartindent -"Yank to clipboard + +" Yank to clipboard nnoremap "+yy vnoremap "+y @@ -93,7 +93,7 @@ nnoremap ^ nnoremap U ~ nnoremap ~ U -" Paste last yank (not delete)) +" Paste last yank (not delete) nnoremap "p "0p " Window jumps @@ -143,7 +143,7 @@ nnoremap gu :!git add -u nnoremap ga :!git add % nnoremap r :source ~/.vimrc -nnoremap n :tabedit~/.notes +nnoremap n :tabedit ~/.notes nnoremap v :vert term ++cols=80 nnoremap t :term ++rows=20