Refactor/reorg various files and references

This commit is contained in:
david
2025-04-04 16:55:39 -05:00
parent 36c10758b1
commit 42f9167958
10 changed files with 11 additions and 29 deletions

View File

@ -0,0 +1,3 @@
plugins, git repos for ref, clone in this dir if needed
git clone https://github.com/ghifarit53/tokyonight-vim.git
git clone https://github.com/leafgarland/typescript-vim.git

View File

@ -1,29 +1,13 @@
" base settings
set nocompatible
let mapleader=","
" plugin manager and plugin list
filetype off
set rtp+=$XDG_CONFIG_HOME/vim/plugins/Vundle.vim
call vundle#begin('$XDG_CONFIG_HOME/vim/plugins')
Plugin 'VundleVim/Vundle.vim'
" language-specific
Plugin 'leafgarland/typescript-vim'
" themes
Plugin 'rose-pine/vim'
Plugin 'ghifarit53/tokyonight-vim'
call vundle#end()
filetype plugin on " or plugin indent on ?
set runtimepath+=$XDG_CONFIG_HOME/vim
" plugin config
let g:netrw_banner=0 " hide banner
let g:netrw_browse_split=0 " <cr> opens in same window
let g:netrw_liststyle=3 " listing style: tree
let g:netrw_list_hide= '.*\.swp$'
" let g:netrw_list_hide.=netrw_gitignore#Hide()
" TODO add toggle to exaand/collapse whole tree
let g:typescript_indent_disable = 1
@ -37,9 +21,6 @@ func! ToggleTabMode()
endif
endfunc
" TODO add function (or something) similar to gf, but clear the buffer in
" which it is run (idea is to use this with results of grep in blank pane)
" copy & paste: registers, clipboard
set clipboard+=unnamed " TODO or maybe unamedplus?
@ -47,7 +28,6 @@ set clipboard+=unnamed " TODO or maybe unamedplus?
"set background=light
let g:tokyonight_style = 'night' " available: night, storm
colorscheme tokyonight
" colorscheme rosepine_moon
" measurements, numbers, visual/audible cues
set cursorline