From 424e2be8eee941f71e7cd4eae6c121e86e0c0c1e Mon Sep 17 00:00:00 2001 From: david Date: Mon, 18 Aug 2025 16:54:12 -0500 Subject: [PATCH] Remove vim config, the time of neovim has begun --- copy_configs | 1 - .../plugins/start/.plugin-git-clone-script | 4 - src_files/.config/vim/vimrc | 111 ------------------ z_temp_post_copy_fix_vim | 4 - 4 files changed, 120 deletions(-) delete mode 100755 src_files/.config/vim/pack/plugins/start/.plugin-git-clone-script delete mode 100644 src_files/.config/vim/vimrc delete mode 100755 z_temp_post_copy_fix_vim diff --git a/copy_configs b/copy_configs index 6871053..8378f80 100755 --- a/copy_configs +++ b/copy_configs @@ -48,5 +48,4 @@ copy_dir src_files/.local/scripts $DIR_SCRIPTS # on macos, gimp defaults to app-support, so sym-link to actual config [[ "$BOX_SETUP_OS" = "macos" ]] && link_dir "$XDG_CONFIG_HOME/GIMP" "$HOME/Library/Application Support/GIMP" -link_dir "$XDG_CONFIG_HOME/vim" "$HOME/.vim" # TODO: use vim wrapper or similar instead diff --git a/src_files/.config/vim/pack/plugins/start/.plugin-git-clone-script b/src_files/.config/vim/pack/plugins/start/.plugin-git-clone-script deleted file mode 100755 index b424585..0000000 --- a/src_files/.config/vim/pack/plugins/start/.plugin-git-clone-script +++ /dev/null @@ -1,4 +0,0 @@ -#/bin/zsh - -git clone https://github.com/ghifarit53/tokyonight-vim.git -git clone https://github.com/leafgarland/typescript-vim.git diff --git a/src_files/.config/vim/vimrc b/src_files/.config/vim/vimrc deleted file mode 100644 index 4d9b1a6..0000000 --- a/src_files/.config/vim/vimrc +++ /dev/null @@ -1,111 +0,0 @@ -" base settings -set nocompatible -let mapleader="," - -" xdg base directory settings/clean-up -set runtimepath^=$XDG_CONFIG_HOME/vim -" add other dirs to path as needed -" XDG_CONFIG_HOME, XDG_CACHE_HOME, XDG_DATA_HOME, XDG_STATE_HOME, XDG_DATA_DIRS -" set/override other filenames/paths/dirs as needed - -" plugin config - let g:netrw_banner=0 " hide banner - let g:netrw_browse_split=0 " opens in same window - let g:netrw_liststyle=3 " listing style: tree - let g:netrw_list_hide= '.*\.swp$' - - let g:typescript_indent_disable = 1 - -" functions -func! ToggleTabMode() - set expandtab! - if &expandtab - echo "using space characters in place of tabs" - else - echo "using tab characters" - endif -endfunc - -" copy & paste: registers, clipboard -set clipboard+=unnamed " TODO or maybe unamedplus? - -" colors, themes, appearance -"set background=light -let g:tokyonight_style = 'night' " available: night, storm -colorscheme tokyonight - -" measurements, numbers, visual/audible cues -set cursorline -set colorcolumn=89,90 -set noerrorbells novisualbell -set hlsearch -set laststatus=2 -set number relativenumber -set ruler -set showcmd -set noshowmode -set title - -" syntax highlighting -syntax enable " TODO 'enable' or 'on'? - -" settings for buffers -set hidden - -" settings for panes/splits, tabs -set splitright splitbelow -map h -map j -map k -map l - -" finding and opening files -set wildmenu -set path+=** - -" text input and editing -set tabstop=4 -set expandtab -autocmd BufEnter * set formatoptions-=ro -" TODO get recursion working for the tags command below -command! MakeTags !ctags -f tags -R . - -" shortcuts or aliases - " shortcuts for find in pane/tab - nnoremap f. :find* - nmap fr :vnewf. - nmap fb :newf. - nmap ft :tabnewf. - - " shortcuts for grep in pane/tab - nnoremap g, :r!grep--exclude-dir=node_modules-rIi. - nmap g. :enewg, - nmap gr :vnewg, - nmap gb :newg, - nmap gt :tabnewg, - - " shortcuts for tree (netrw) in pane/tab - nnoremap t. :edit. - nnoremap tr :vsplit. - nnoremap tb :split. - nnoremap tt :tabnew. - - " toggle tab/space mode - nnoremap tab :call ToggleTabMode() - - " toggles related to line numbers and cursor - nnoremap nu :set number! - nnoremap rnu :set relativenumber! - nnoremap cc :set cuc! - - " searching: replace-all in file - nnoremap ra :%s//g - " TODO maybe add global (working dir, recursive) replace-all feature? - - " format file content - nnoremap fmtjson :%!jq.- - -" automatic actions - autocmd BufWritePre * %s/\s\+$//e " delete trailing whitespace - " autocmd BufWritePre * %s/\n\+\%$//e " delete end-of-file newlines - diff --git a/z_temp_post_copy_fix_vim b/z_temp_post_copy_fix_vim deleted file mode 100755 index fde21b7..0000000 --- a/z_temp_post_copy_fix_vim +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/zsh - -cd "$XDG_CONFIG_HOME/vim/pack/plugins/start" -sh .plugin-git-clone-script